Functions | |
cy_en_sysclk_status_t | Cy_SysClk_ClkHfEnable (uint32_t clkHf) |
Enables the selected clkHf. More... | |
bool | Cy_SysClk_ClkHfIsEnabled (uint32_t clkHf) |
Reports the Enabled/Disabled status of clkHf. More... | |
cy_en_sysclk_status_t | Cy_SysClk_ClkHfDisable (uint32_t clkHf) |
Disables the selected clkHf. More... | |
cy_en_sysclk_status_t | Cy_SysClk_ClkHfSetSource (uint32_t clkHf, cy_en_clkhf_in_sources_t source) |
Selects the source of the selected clkHf. More... | |
cy_en_clkhf_in_sources_t | Cy_SysClk_ClkHfGetSource (uint32_t clkHf) |
Reports the source of the selected clkHf. More... | |
cy_en_sysclk_status_t | Cy_SysClk_ClkHfSetDivider (uint32_t clkHf, cy_en_clkhf_dividers_t divider) |
Sets the pre-divider for a clkHf. More... | |
cy_en_clkhf_dividers_t | Cy_SysClk_ClkHfGetDivider (uint32_t clkHf) |
Reports the pre-divider value for a clkHf. More... | |
uint32_t | Cy_SysClk_ClkHfGetFrequency (uint32_t clkHf) |
Reports the frequency of the selected clkHf. More... | |
cy_en_sysclk_status_t | Cy_SysClk_ClkHfDirectSel (uint32_t clkHf, bool enable) |
Enable/Disable the direct source selection as IMO for CLK_HF[[n]]. More... | |
bool | Cy_SysClk_IsClkHfDirectSelEnabled (uint32_t clkHf) |
Checks if direct source selection as IMO for CLK_HF[[n]] is enabled/disabled. More... | |
uint32_t | Cy_SysClk_ClkHfGetMaskOnPath (cy_en_clkhf_in_sources_t clkPath) |
Get Mask value for the HF Clocks selected and enabled for clkPath as source e.g. More... | |
uint32_t | Cy_SysClk_ClkHfAllGetMask (void) |
Get Mask value for the all HF Clocks e.g. More... | |
void | Cy_SysClk_ClkHfEnableDividerWithMask (uint32_t clkHfMask, cy_en_clkhf_dividers_t divider) |
Divide all the enabled CLK_HF's with the divider value. More... | |
void | Cy_SysClk_ClkHfEnableDirectMuxWithMask (uint32_t clkHfMask, bool enable) |
Enable/ Disable the clock path for the HF Clocks in clkHfMask in disable case ROOT path will be enabled in enable case ROOT path will be disabled. More... | |
cy_en_sysclk_status_t Cy_SysClk_ClkHfEnable | ( | uint32_t | clkHf | ) |
Enables the selected clkHf.
clkHf | Selects which clkHf to enable. |
bool Cy_SysClk_ClkHfIsEnabled | ( | uint32_t | clkHf | ) |
Reports the Enabled/Disabled status of clkHf.
clkHf | Selects which clkHf to check. |
cy_en_sysclk_status_t Cy_SysClk_ClkHfDisable | ( | uint32_t | clkHf | ) |
Disables the selected clkHf.
clkHf | Selects which clkHf to enable. |
cy_en_sysclk_status_t Cy_SysClk_ClkHfSetSource | ( | uint32_t | clkHf, |
cy_en_clkhf_in_sources_t | source | ||
) |
Selects the source of the selected clkHf.
clkHf | selects which clkHf mux to configure. |
source | cy_en_clkhf_in_sources_t |
cy_en_clkhf_in_sources_t Cy_SysClk_ClkHfGetSource | ( | uint32_t | clkHf | ) |
Reports the source of the selected clkHf.
clkHf | selects which clkHf to get the source of. |
cy_en_sysclk_status_t Cy_SysClk_ClkHfSetDivider | ( | uint32_t | clkHf, |
cy_en_clkhf_dividers_t | divider | ||
) |
Sets the pre-divider for a clkHf.
clkHf | selects which clkHf divider to configure. |
divider | cy_en_clkhf_dividers_t |
cy_en_clkhf_dividers_t Cy_SysClk_ClkHfGetDivider | ( | uint32_t | clkHf | ) |
Reports the pre-divider value for a clkHf.
clkHf | selects which clkHf to check divider of. |
uint32_t Cy_SysClk_ClkHfGetFrequency | ( | uint32_t | clkHf | ) |
Reports the frequency of the selected clkHf.
clkHf | Selects the clkHf |
cy_en_sysclk_status_t Cy_SysClk_ClkHfDirectSel | ( | uint32_t | clkHf, |
bool | enable | ||
) |
Enable/Disable the direct source selection as IMO for CLK_HF[[n]].
clkHf | Selects the clkHf |
enable | True - Selects IMO for CAT1B/CAT1C or IHO for CAT1D, False - Selects Root Mux |
bool Cy_SysClk_IsClkHfDirectSelEnabled | ( | uint32_t | clkHf | ) |
Checks if direct source selection as IMO for CLK_HF[[n]] is enabled/disabled.
clkHf | Selects the clkHf |
uint32_t Cy_SysClk_ClkHfGetMaskOnPath | ( | cy_en_clkhf_in_sources_t | clkPath | ) |
Get Mask value for the HF Clocks selected and enabled for clkPath as source e.g.
Mask return will have Bit 0 set if HFCLK0 is enabled and source is clkPath
clkPath | clock path |
uint32_t Cy_SysClk_ClkHfAllGetMask | ( | void | ) |
Get Mask value for the all HF Clocks e.g.
Mask return will have Bit 0 set if HFCLK0 is enabled
void Cy_SysClk_ClkHfEnableDividerWithMask | ( | uint32_t | clkHfMask, |
cy_en_clkhf_dividers_t | divider | ||
) |
Divide all the enabled CLK_HF's with the divider value.
clkHfMask | CLKHF mask for of the Clocks |
divider | Divider Value cy_en_clkhf_dividers_t |
void Cy_SysClk_ClkHfEnableDirectMuxWithMask | ( | uint32_t | clkHfMask, |
bool | enable | ||
) |
Enable/ Disable the clock path for the HF Clocks in clkHfMask in disable case ROOT path will be enabled in enable case ROOT path will be disabled.
clkHfMask | CLKHF mask for of the Clocks |
enable | to enable or disable direct path |