55 #ifndef FOXBMS__MCU_H_
56 #define FOXBMS__MCU_H_
59 #include "HL_sys_common.h"
70 #define LARGEST_PIN_NUMBER (31u)
76 #define ADC_ADC1_MAX_NR_CHANNELS (32U)
78 #ifndef UNITY_UNIT_TEST
80 #define MCU_RTI_CNT0_FRC0_REG (*((volatile uint32_t *)0xFFFFFC10u))
uint32_t MCU_GetFreeRunningCount(void)
Get the current value of the Free Running Counter 0 (FRC0)
uint32_t MCU_ConvertFrcDifferenceToTimespan_us(uint32_t count)
Convert the counter value FRC0 to a time in microseconds.
void MCU_Delay_us(uint32_t delay_us)
Wait blocking a certain time in microseconds.
volatile uint32_t MCU_RTI_CNT0_FRC0_REG