| uint32_t | HAL_RC_CAL_get_reference_cycle_on_48M (void) |
| void | HAL_RC_CAL_update_reference_cycle_on_48M_ex (uint8_t lp_cycle, int clear_ave, int ave_window) |
| Get actual frequency of low power RC. The acutal freqency = 48000000 * lp_cycle / ref_cycle. More... | |
| float | HAL_LPTIM_GetFreq () |
| Return LPTIM freq. More... | |
| #define | HAL_RC_CAL_update_reference_cycle_on_48M(lp_cycle) HAL_RC_CAL_update_reference_cycle_on_48M_ex(lp_cycle,0,100) |
| float HAL_LPTIM_GetFreq | ( | ) |
Return LPTIM freq.
| freq |
| void HAL_RC_CAL_update_reference_cycle_on_48M_ex | ( | uint8_t | lp_cycle, |
| int | clear_ave, | ||
| int | ave_window | ||
| ) |
Get actual frequency of low power RC. The acutal freqency = 48000000 * lp_cycle / ref_cycle.
| lp_cycle | Target RC cycles to get according reference cycles of 48M crystal clock |
| clear_ave | clear average counts. |
| ave_window | average window counts. |
| ref_cycle | Cycles of 48000000 crystal clock that equals to lp_cycle |