rusEFI
The most advanced open source ECU
|
Definition in file mpu_util.h.
Data Structures | |
struct | hardware_pwm |
Enumerations | |
enum | BOR_Result_t { BOR_Result_Ok = 0x00 , BOR_Result_Error } |
enum | Reset_Cause_t { Reset_Cause_Unknown = 0 , Reset_Cause_IWatchdog , Reset_Cause_WWatchdog , Reset_Cause_Soft_Reset , Reset_Cause_NRST_Pin , Reset_Cause_POR , Reset_Cause_Illegal_Mode , Reset_Cause_BOR , Reset_Cause_Firewall , Reset_Cause_Option_Byte } |
Variables | |
SPIConfig | mmc_hs_spicfg |
SPIConfig | mmc_ls_spicfg |
enum BOR_Result_t |
Enumerator | |
---|---|
BOR_Result_Ok | |
BOR_Result_Error |
Definition at line 95 of file mpu_util.h.
enum Reset_Cause_t |
Definition at line 104 of file mpu_util.h.
bool adcIsMuxedInput | ( | adc_channel_e | hwChannel | ) |
Definition at line 150 of file cypress_common.cpp.
Referenced by adcMuxedGetParent().
adc_channel_e adcMuxedGetParent | ( | adc_channel_e | hwChannel | ) |
Definition at line 154 of file cypress_common.cpp.
Referenced by getAdcChannelBrainPin().
Definition at line 12 of file at32_common.cpp.
Referenced by sayHello().
int at32GetRamSizeKb | ( | void | ) |
Definition at line 70 of file at32_common.cpp.
Referenced by sayHello().
void baseMCUInit | ( | ) |
Definition at line 146 of file at32_common.cpp.
Referenced by main().
BOR_Level_t BOR_Get | ( | void | ) |
Definition at line 126 of file at32_common.cpp.
Referenced by BOR_Set().
BOR_Result_t BOR_Set | ( | BOR_Level_t | BORValue | ) |
Definition at line 132 of file at32_common.cpp.
Referenced by baseMCUInit(), and setBor().
void BusFaultVector | ( | void | ) |
Definition at line 56 of file mpu_util.cpp.
void canHwInfo | ( | CANDriver * | cand | ) |
Definition at line 129 of file at32_can.cpp.
Referenced by canInfo().
void causeHardFault | ( | ) |
Definition at line 16 of file arm_common.cpp.
Referenced by errorHandlerInit().
void DebugMonitorVector | ( | void | ) |
CANDriver * detectCanDevice | ( | brain_pin_e | pinRx, |
brain_pin_e | pinTx | ||
) |
Definition at line 93 of file at32_can.cpp.
Referenced by canInfo(), and initCan().
adc_channel_e getAdcChannel | ( | brain_pin_e | pin | ) |
Definition at line 103 of file cypress_common.cpp.
Referenced by getAdcChannelForTrigger(), and setAnalogInputPin().
brain_pin_e getAdcChannelBrainPin | ( | const char * | msg, |
adc_channel_e | hwChannel | ||
) |
Definition at line 30 of file cypress_common.cpp.
Referenced by deInitIfValid(), getAdcChannelPin(), getAdcChannelPort(), and initIfValid().
int getAdcChannelPin | ( | adc_channel_e | hwChannel | ) |
Definition at line 178 of file cypress_common.cpp.
Referenced by adcPrintChannelReport(), and getPinNameByAdcChannel().
ioportid_t getAdcChannelPort | ( | const char * | msg, |
adc_channel_e | hwChannel | ||
) |
Definition at line 173 of file cypress_common.cpp.
Referenced by adcPrintChannelReport(), and getPinNameByAdcChannel().
int getAdcInternalChannel | ( | ADC_TypeDef * | adc, |
adc_channel_e | hwChannel | ||
) |
Definition at line 159 of file cypress_common.cpp.
adc_channel_e getHwChannelForAdcInput | ( | ADC_TypeDef * | adc, |
size_t | hwIndex | ||
) |
Definition at line 165 of file cypress_common.cpp.
bool getIcuParams | ( | brain_pin_e | hwPin, |
iomode_t * | af_ptr, | ||
ICUDriver ** | icu_ptr, | ||
icuchannel_t * | channel_ptr, | ||
uint32_t * | clock_ptr | ||
) |
ChibiOS limitation is that only channels #1 and #2 could be used for input capture Could this be unified with getConfigForPin() method?
Definition at line 122 of file stm32_icu.cpp.
Referenced by startSent(), and stopSent().
Reset_Cause_t getMCUResetCause | ( | ) |
Definition at line 189 of file at32_common.cpp.
Referenced by checkIfResetLoop(), errorHandlerInit(), and errorHandlerWriteReportFile().
const char * getMCUResetCause | ( | Reset_Cause_t | cause | ) |
Definition at line 193 of file at32_common.cpp.
float getMcuTemperature | ( | ) |
Definition at line 264 of file mpu_util.cpp.
Referenced by adcOnchipSlowUpdate().
float getMcuVrefVoltage | ( | ) |
Definition at line 269 of file mpu_util.cpp.
Referenced by adcOnchipSlowUpdate().
void HardFaultVector | ( | void | ) |
Definition at line 62 of file mpu_util.cpp.
void initSpiCs | ( | SPIConfig * | spiConfig, |
brain_pin_e | csPin | ||
) |
Definition at line 241 of file at32_spi.cpp.
Referenced by initPotentiometer().
void initSpiCsNoOccupy | ( | SPIConfig * | spiConfig, |
brain_pin_e | csPin | ||
) |
Definition at line 234 of file at32_spi.cpp.
Referenced by initSpiCs().
void initSpiModule | ( | SPIDriver * | driver, |
brain_pin_e | sck, | ||
brain_pin_e | miso, | ||
brain_pin_e | mosi, | ||
int | sckMode, | ||
int | mosiMode, | ||
int | misoMode | ||
) |
See https://github.com/rusefi/rusefi/pull/664/
Info on the silicon defect can be found in this document, section 2.5.2: https://www.st.com/content/ccc/resource/technical/document/errata_sheet/0a/98/58/84/86/b6/47/a2/DM00037591.pdf/files/DM00037591.pdf/jcr:content/translations/en.DM00037591.pdf
See https://github.com/rusefi/rusefi/pull/664/
Info on the silicon defect can be found in this document, section 2.5.2: https://www.st.com/content/ccc/resource/technical/document/errata_sheet/0a/98/58/84/86/b6/47/a2/DM00037591.pdf/files/DM00037591.pdf/jcr:content/translations/en.DM00037591.pdf
See https://github.com/rusefi/rusefi/pull/664/
Info on the silicon defect can be found in this document, section 2.5.2: https://www.st.com/content/ccc/resource/technical/document/errata_sheet/0a/98/58/84/86/b6/47/a2/DM00037591.pdf/files/DM00037591.pdf/jcr:content/translations/en.DM00037591.pdf
Definition at line 206 of file at32_spi.cpp.
Referenced by turnOnSpi().
bool isStm32F42x | ( | ) |
Definition at line 156 of file at32_common.cpp.
Referenced by luaHeapInit(), and sayHello().
bool isValidCanRxPin | ( | brain_pin_e | pin | ) |
Definition at line 89 of file at32_can.cpp.
Referenced by startCanPins().
bool isValidCanTxPin | ( | brain_pin_e | pin | ) |
Definition at line 85 of file at32_can.cpp.
Referenced by startCanPins().
bool isValidSerialRxPin | ( | brain_pin_e | pin | ) |
bool isValidSerialTxPin | ( | brain_pin_e | pin | ) |
void jump_to_bootloader | ( | ) |
Definition at line 106 of file at32_common.cpp.
Referenced by executeTSCommand(), and runRusEfi().
void jump_to_openblt | ( | ) |
Definition at line 115 of file at32_common.cpp.
Referenced by executeTSCommand(), processCanRxMessage(), and runRusEfi().
bool mcuCanFlashWhileRunning | ( | ) |
Definition at line 10 of file mpu_util.cpp.
Referenced by storageAllowWriteID().
void portInitAdc | ( | ) |
Definition at line 256 of file mpu_util.cpp.
Referenced by initAdcInputs().
bool readSlowAnalogInputs | ( | adcsample_t * | convertedSamples | ) |
Definition at line 274 of file mpu_util.cpp.
Referenced by adcOnchipSlowUpdate().
int spiCalcClockDiv | ( | SPIDriver * | spip, |
SPIConfig * | spiConfig, | ||
unsigned int | clk | ||
) |
Definition at line 260 of file at32_spi.cpp.
Referenced by initializeMmcBlockDevice().
int spiGetBaseClock | ( | SPIDriver * | spip | ) |
Definition at line 254 of file at32_spi.cpp.
Referenced by sdStatistics().
void turnOnSpi | ( | spi_device_e | device | ) |
Definition at line 151 of file at32_spi.cpp.
void UsageFaultVector | ( | void | ) |
|
extern |
Definition at line 273 of file at32_spi.cpp.
Referenced by initializeMmcBlockDevice(), and sdStatistics().
|
extern |
Definition at line 288 of file at32_spi.cpp.
Referenced by initializeMmcBlockDevice(), and sdStatistics().