Go to the source code of this file.
Functions | |
| int16_t | TIM_Timer0n1_CalculateInitValue (uint16_t frequency, HAL_State_t freq1t, uint16_t limit) |
| void | TIM_Timer0_Config (HAL_State_t freq1t, TIM_TimerMode_t mode, uint16_t frequency) |
| void | TIM_Timer1_Config (HAL_State_t freq1t, TIM_TimerMode_t mode, uint16_t frequency) |
| int16_t | _TIM_Timer234_InitValueCalculate (uint16_t frequency, uint8_t prescaler, HAL_State_t freq1t) |
| void | TIM_Timer2_Config (HAL_State_t freq1t, uint8_t prescaler, uint16_t frequency) |
| void | TIM_Timer3_Config (HAL_State_t freq1t, uint8_t prescaler, uint16_t frequency, HAL_State_t intState) |
| void | TIM_Timer4_Config (HAL_State_t freq1t, uint8_t prescaler, uint16_t frequency, HAL_State_t intState) |
| int16_t _TIM_Timer234_InitValueCalculate | ( | uint16_t | frequency, |
| uint8_t | prescaler, | ||
| HAL_State_t | freq1t | ||
| ) |
| void TIM_Timer0_Config | ( | HAL_State_t | freq1t, |
| TIM_TimerMode_t | mode, | ||
| uint16_t | frequency | ||
| ) |
Definition at line 38 of file fw_tim.c.
| int16_t TIM_Timer0n1_CalculateInitValue | ( | uint16_t | frequency, |
| HAL_State_t | freq1t, | ||
| uint16_t | limit | ||
| ) |
Calculate the initial value of Timer0 & Timer1 counter
limit, so the timer will run in the highest frequency| void TIM_Timer1_Config | ( | HAL_State_t | freq1t, |
| TIM_TimerMode_t | mode, | ||
| uint16_t | frequency | ||
| ) |
Definition at line 55 of file fw_tim.c.
| void TIM_Timer2_Config | ( | HAL_State_t | freq1t, |
| uint8_t | prescaler, | ||
| uint16_t | frequency | ||
| ) |
Timer2,3,4 Configuration
Definition at line 93 of file fw_tim.c.
| void TIM_Timer3_Config | ( | HAL_State_t | freq1t, |
| uint8_t | prescaler, | ||
| uint16_t | frequency, | ||
| HAL_State_t | intState | ||
| ) |
Definition at line 101 of file fw_tim.c.
| void TIM_Timer4_Config | ( | HAL_State_t | freq1t, |
| uint8_t | prescaler, | ||
| uint16_t | frequency, | ||
| HAL_State_t | intState | ||
| ) |
Definition at line 111 of file fw_tim.c.