Functions | |
cy_en_sysclk_status_t | Cy_SysClk_WcoEnable (uint32_t timeoutus) |
Enables the WCO. More... | |
bool | Cy_SysClk_WcoOkay (void) |
Reports the status of the WCO_OK bit. More... | |
void | Cy_SysClk_WcoDisable (void) |
Disables the WCO. More... | |
void | Cy_SysClk_WcoBypass (cy_en_wco_bypass_modes_t bypass) |
Sets whether the WCO is bypassed or not. More... | |
cy_en_sysclk_status_t Cy_SysClk_WcoEnable | ( | uint32_t | timeoutus | ) |
Enables the WCO.
timeoutus | amount of time in microseconds to wait for the WCO to be ready. If WCO is not ready, WCO is stopped. To avoid waiting for WCO ready set this to 0, and manually check if WCO is okay using Cy_SysClk_WcoOkay. |
bool Cy_SysClk_WcoOkay | ( | void | ) |
Reports the status of the WCO_OK bit.
void Cy_SysClk_WcoDisable | ( | void | ) |
Disables the WCO.
void Cy_SysClk_WcoBypass | ( | cy_en_wco_bypass_modes_t | bypass | ) |
Sets whether the WCO is bypassed or not.
If it is bypassed, then a 32-kHz clock must be provided on the wco_out pin.
bypass | cy_en_wco_bypass_modes_t |