Functions | |
__STATIC_INLINE cy_en_sysclk_status_t | Cy_SysClk_WcoEnable (uint32_t timeoutus) |
Enables the WCO. More... | |
__STATIC_INLINE bool | Cy_SysClk_WcoOkay (void) |
Reports the status of the WCO_OK bit. More... | |
__STATIC_INLINE void | Cy_SysClk_WcoDisable (void) |
Disables the WCO. More... | |
__STATIC_INLINE void | Cy_SysClk_WcoBypass (cy_en_wco_bypass_modes_t bypass) |
Sets whether the WCO is bypassed or not. More... | |
__STATIC_INLINE 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. |
__STATIC_INLINE bool Cy_SysClk_WcoOkay | ( | void | ) |
Reports the status of the WCO_OK bit.
__STATIC_INLINE void Cy_SysClk_WcoDisable | ( | void | ) |
Disables the WCO.
__STATIC_INLINE 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 |