Clock Gate Open and Closemanagement functions.
More...
Clock Gate Open and Closemanagement functions.
◆ hal_cgc_config_force_clk()
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.
- Parameters
-
[in] | blocks | Specifies the peripheral blocks. This parameter can be a combiantion of the following values:
|
[in] | clk_state | Specifies the clock state. This parameter can be one of the following values:
|
◆ hal_cgc_config_wfi_clk()
Configure the clock state for a specified block during WFI.
- Parameters
-
[in] | blocks | Specifies the peripheral blocks. This parameter can be a combiantion of the following values:
|
[in] | clk_state | Specifies the clock state during WFI. This parameter can be one of the following values:
|
◆ hal_cgc_get_force_clk()
Get the clock status of the currently specified block.
- Parameters
-
[in] | block | Specifies the peripheral blocks. This parameter can be one of the following values:
|
- Return values
-
◆ hal_cgc_get_wfi_clk()
Get the clock state for a specified block during WFI.
- Parameters
-
[in] | block | Specifies the peripheral blocks. This parameter can be one of the following values:
|
- Return values
-