Functions¶
-
group
group_sysclk_alt_hf_funcs
Functions
-
uint32_t
Cy_SysClk_AltHfGetFrequency
(void) Reports the frequency of the Alternative High-Frequency Clock.
- Function Usage
/* BLE ECO configuration: ECO Frequency: 32 MHZ, Divider: 2 */ /* Start-up time(uS): 1500, Load cap(pF): 9.9 */ uint32_t startTime = (uint32_t)(1500 / 31.25); uint32_t loadCap = (uint32_t)((9.9 - 7.5) / 0.075); /* Configure the BLE ECO clock */ (void) Cy_BLE_EcoConfigure(CY_BLE_BLESS_ECO_FREQ_32MHZ, CY_BLE_SYS_ECO_CLK_DIV_2, loadCap, startTime, CY_BLE_ECO_VOLTAGE_REG_AUTO); /* In case if there is a need to get the BLE ECO frequency */ uint32_t bleEcoFreq = Cy_SysClk_AltHfGetFrequency();
-
uint32_t