Peripheral Control functions.

Clock Gate Open and Closemanagement functions. More...

Functions

void hal_cgc_config_wfi_clk (uint32_t blocks, cgc_clk_state_t clk_state)
 Configure the clock state for a specified block during WFI. More...
 
cgc_clk_state_t hal_cgc_get_wfi_clk (uint32_t block)
 Get the clock state for a specified block during WFI. More...
 
void hal_cgc_config_force_clk (uint32_t blocks, cgc_clk_state_t clk_state)
 Forced to Configure the clock state for a specified block. More...
 
cgc_clk_state_t hal_cgc_get_force_clk (uint32_t block)
 Get the clock status of the currently specified block. More...
 

Detailed Description

Clock Gate Open and Closemanagement functions.

Function Documentation

◆ hal_cgc_config_force_clk()

void hal_cgc_config_force_clk ( uint32_t  blocks,
cgc_clk_state_t  clk_state 
)

◆ hal_cgc_config_wfi_clk()

void hal_cgc_config_wfi_clk ( uint32_t  blocks,
cgc_clk_state_t  clk_state 
)

Configure the clock state for a specified block during WFI.

Parameters
[in]blocksSpecifies the peripheral blocks. This parameter can be a combiantion of the following values:
[in]clk_stateSpecifies the clock state during WFI. This parameter can be one of the following values:

◆ hal_cgc_get_force_clk()

◆ hal_cgc_get_wfi_clk()

cgc_clk_state_t hal_cgc_get_wfi_clk ( uint32_t  block)