|
constexpr uint | kVddPwmPin = 20 |
| VDD/PWM : Assigned PWM GPIO pin. More...
|
|
constexpr uint32_t | kVddPwmFreq = Pwm::kPwmDefaultFreq |
| VDD/PWM : PWM Frequency, in Hertz. More...
|
|
constexpr float | kVddPwmMinDuty = VddConfig::kPwmMinDutyCycleDefault |
| VDD/PWM : PWM Min Duty Cycle, in Percent. More...
|
|
constexpr float | kVddPwmMaxDuty = VddConfig::kPwmMaxDutyCycleDefault |
| VDD/PWM : PWM Max Duty Cycle, in Percent. More...
|
|
constexpr float | kVddPwmSlowStepDuty = VddConfig::kPwmSlowStepDutyCycleDefault |
| VDD/PWM : PWM Slow Step Duty Cycle, in Percent. More...
|
|
constexpr float | kVddPwmFastStepDuty = VddConfig::kPwmFastStepDutyCycleDefault |
| VDD/PWM : PWM Fast Step Duty Cycle, in Percent. More...
|
|
constexpr float | kVddPwmToleranceToFast = VddConfig::kPwmToleranceToFastDefault |
| VDD/PWM : PWM Voltage Tolerance to use Fast Step, in Percent. More...
|
|
constexpr uint | kVddAdcChannel = 0 |
| VDD/ADC : Assigned ADC channel. More...
|
|
constexpr float | kVddAdcVRef = Adc::kAdcDefaultVRef |
| VDD/ADC : ADC Reference Voltage, in Volts. More...
|
|
constexpr float | kVddFbR1 = 470.0f |
| VDD/VC : Voltage Converter Feedback R1 resistor, in Ohms. More...
|
|
constexpr float | kVddFbR2 = 330.0f |
| VDD/VC : Voltage Converter Feedback R2 resistor, in Ohms. More...
|
|
constexpr float | kVddDivider = (kVddFbR1 + kVddFbR2) / kVddFbR2 |
| VDD/VC : Voltage Converter Feedback Divisor, from 0.0 to 1.0. More...
|
|
constexpr float | kVddVoutTolerance = VddConfig::kDc2DcVoutToleranceDefault |
| VDD/VC : Output Voltage Tolerance, in percent. More...
|
|
constexpr uint | kVddCtrlPin = 22 |
| VDD/CTRL : Assigned Voltage Control GPIO pin. More...
|
|
constexpr uint | kVddOnVppPin = 17 |
| VDD/CTRL : Assigned VDD on VPP GPIO pin. More...
|
|
constexpr uint | kVppPwmPin = 21 |
| VPP/PWM : Assigned PWM GPIO pin. More...
|
|
constexpr uint32_t | kVppPwmFreq = Pwm::kPwmDefaultFreq |
| VPP/PWM : PWM Frequency, in Hertz. More...
|
|
constexpr float | kVppPwmMinDuty = VddConfig::kPwmMinDutyCycleDefault |
| VPP/PWM : PWM Min Duty Cycle, in Percent. More...
|
|
constexpr float | kVppPwmMaxDuty = VddConfig::kPwmMaxDutyCycleDefault |
| VPP/PWM : PWM Max Duty Cycle, in Percent. More...
|
|
constexpr float | kVppPwmSlowStepDuty = VddConfig::kPwmSlowStepDutyCycleDefault |
| VPP/PWM : PWM Slow Step Duty Cycle, in Percent. More...
|
|
constexpr float | kVppPwmFastStepDuty = VddConfig::kPwmFastStepDutyCycleDefault |
| VPP/PWM : PWM Fast Step Duty Cycle, in Percent. More...
|
|
constexpr float | kVppPwmToleranceToFast = VddConfig::kPwmToleranceToFastDefault |
| VPP/PWM : PWM Voltage Tolerance to use Fast Step, in Percent. More...
|
|
constexpr uint | kVppAdcChannel = 1 |
| VPP/ADC : Assigned ADC channel. More...
|
|
constexpr float | kVppAdcVRef = Adc::kAdcDefaultVRef |
| VPP/ADC : ADC Reference Voltage, in Volts. More...
|
|
constexpr float | kVppFbR1 = 3900.0f |
| VPP/VC : Voltage Converter Feedback R1 resistor, in Ohms. More...
|
|
constexpr float | kVppFbR2 = 470.0f |
| VPP/VC : Voltage Converter Feedback R2 resistor, in Ohms. More...
|
|
constexpr float | kVppDivider = (kVppFbR1 + kVppFbR2) / kVppFbR2 |
| VPP/VC : Voltage Converter Feedback Divisor, from 0.0 to 1.0. More...
|
|
constexpr float | kVppVoutTolerance = VddConfig::kDc2DcVoutToleranceDefault |
| VPP/VC : Output Voltage Tolerance, in percent. More...
|
|
constexpr uint | kVppCtrlPin = 28 |
| VPP/CTRL : Assigned Voltage Control GPIO pin. More...
|
|
constexpr uint | kVppVcSinPin = 12 |
| VPP/CTRL : Assigned Voltage Control, Shift Register SIN, GPIO pin. More...
|
|
constexpr uint | kVppVcClkPin = 14 |
| VPP/CTRL : Assigned Voltage Control, Shift Register CLK, GPIO pin. More...
|
|
constexpr uint | kVppVcClrPin = 15 |
| VPP/CTRL : Assigned Voltage Control, Shift Register CLR, GPIO pin. More...
|
|
constexpr uint | kVppVcRckPin = 13 |
| VPP/CTRL : Assigned Voltage Control, Shift Register RCK, GPIO pin. More...
|
|
constexpr uint8_t | kVppOnA18VcRegisterBit = 0 |
| VPP/CTRL : VC Shift Register, VPP on A18 bit. More...
|
|
constexpr uint8_t | kVppOnA9VcRegisterBit = 1 |
| VPP/CTRL : VC Shift Register, VPP on A9 bit. More...
|
|
constexpr uint8_t | kVppOnCEVcRegisterBit = 2 |
| VPP/CTRL : VC Shift Register, VPP on CE bit. More...
|
|
constexpr uint8_t | kVppOnOEVcRegisterBit = 3 |
| VPP/CTRL : VC Shift Register, VPP on OE bit. More...
|
|
constexpr uint8_t | kVppOnWEVcRegisterBit = 4 |
| VPP/CTRL : VC Shift Register, VPP on WE bit. More...
|
|
constexpr float | kVppInitial = 12.0f |
| VPP/GEN : VPP Initial value, in Volts. More...
|
|
constexpr float | kVddInitial = 5.0f |
| VDD/GEN : VDD Initial value, in Volts. More...
|
|
constexpr uint | kBusCEPin = 11 |
| BUS/CTRL : Assigned CE GPIO pin. More...
|
|
constexpr uint | kBusOEPin = 9 |
| BUS/CTRL : Assigned OE GPIO pin. More...
|
|
constexpr uint | kBusWEPin = 10 |
| BUS/CTRL : Assigned WE GPIO pin. More...
|
|
constexpr uint | kBusDataSinPin = 4 |
| BUS/Data : Assigned Data Bus, Shift Register SIN, GPIO pin. More...
|
|
constexpr uint | kBusDataClkPin = 6 |
| BUS/Data : Assigned Data Bus, Shift Register CLK, GPIO pin. More...
|
|
constexpr uint | kBusDataClrPin = 7 |
| BUS/Data : Assigned Data Bus, Shift Register CLR, GPIO pin. More...
|
|
constexpr uint | kBusDataRckPin = 5 |
| BUS/Data : Assigned Data Bus, Shift Register RCK, GPIO pin. More...
|
|
constexpr uint | kBusDataSoutPin = 8 |
| BUS/Data : Assigned Data Bus, Shift Register SOUT, GPIO pin. More...
|
|
constexpr uint | kBusAddrSinPin = 0 |
| BUS/Address : Assigned Address Bus, Shift Register SIN, GPIO pin. More...
|
|
constexpr uint | kBusAddrClkPin = 2 |
| BUS/Address : Assigned Address Bus, Shift Register CLK, GPIO pin. More...
|
|
constexpr uint | kBusAddrClrPin = 3 |
| BUS/Address : Assigned Address Bus, Shift Register CLR, GPIO pin. More...
|
|
constexpr uint | kBusAddrRckPin = 1 |
| BUS/Address : Assigned Address Bus, Shift Register RCK, GPIO pin. More...
|
|
constexpr uint32_t | kCommTimeOut = 50 |
| COMM : Communication timeout, in milliseconds. More...
|
|
constexpr uint32_t | kStabilizationTime = 200 |
| GENERAL : Time for stabilization, in milliseconds. More...
|
|
Configuration of UsbFlashProg.
- Author
- Robson Martins (https://www.robsonmartins.com)