Functions | |
__STATIC_INLINE void | ll_cgc_set_wfi_off_hclk_0 (uint32_t clk_mask) |
Some peripherals automatic turn off clock during WFI. (Include: Security/SIM/HTB/PWM/ ROM/SNSADC/GPIO/DMA/BLE_BRG/APB_SUB/SERIAL/I2S) More... | |
__STATIC_INLINE uint32_t | ll_cgc_get_wfi_off_hclk_0 (void) |
Return to clock blocks that is turned off during WFI.(Include: Security/SIM/HTB/PWM/ ROM/SNSADC/GPIO/DMA/BLE_BRG/APB_SUB/SERIAL/I2S) More... | |
__STATIC_INLINE void | ll_cgc_set_wfi_off_hclk_1 (uint32_t clk_mask) |
Some peripherals automatic turn off clock during WFI. (Include: AON_MCUSUB/XF_XQSPI/SRAM) More... | |
__STATIC_INLINE uint32_t | ll_cgc_get_wfi_off_hclk_1 (void) |
Return to clock blocks that is turned off during WFI.(Include: AON_MCUSUB/XF_XQSPI/SRAM) More... | |
__STATIC_INLINE void | ll_cgc_set_wfi_off_hclk_2 (uint32_t clk_mask) |
Some peripherals automatic turn off clock during WFI. (Include: SECU_DIV4/XQSPI_DIV4) More... | |
__STATIC_INLINE uint32_t | ll_cgc_get_wfi_off_hclk_2 (void) |
Return to clock blocks that is turned off during WFI.(Include: AON_MCUSUB/XF_XQSPI/SRAM) More... | |
__STATIC_INLINE void | ll_cgc_set_wfi_off_hclk_3 (uint32_t clk_mask) |
Some peripherals automatic turn off clock during WFI. (Include: UART/DSPI.I2C/QSPI.etc) More... | |
__STATIC_INLINE uint32_t | ll_cgc_get_wfi_off_hclk_3 (void) |
Return to clock blocks that is turned off during WFI.(Include: UART/DSPI.I2C/QSPI.etc) More... | |
__STATIC_INLINE void | ll_cgc_set_wfi_off_hclk_4 (uint32_t clk_mask) |
Some peripherals automatic turn off clock during WFI. (Include: AES/HMAC/PKC/RNG.etc) More... | |
__STATIC_INLINE uint32_t | ll_cgc_get_wfi_off_hclk_4 (void) |
Return to clock blocks that is turned off during WFI.(Include: AES/HMAC/PKC/RNG.etc) More... | |
__STATIC_INLINE void | ll_cgc_set_force_off_hclk_0 (uint32_t clk_mask) |
Some peripherals force turn off clock. (Include: Security/SIM/HTB/PWM/ROM/SNSADC/GPIO/ DMA/BLE_BRG/APB_SUB/SERIAL/I2S) More... | |
__STATIC_INLINE uint32_t | ll_cgc_get_force_off_hclk_0 (void) |
Return to clock blocks that was forcibly closed.(Include: Security/SIM/HTB/ ROM/SNSADC/GPIO/DMA/BLE_BRG/APB_SUB/SERIAL/I2S) More... | |
__STATIC_INLINE void | ll_cgc_set_force_off_hclk_1 (uint32_t clk_mask) |
Some peripherals force turn off clock. (Include: AON_MCUSUB/XF_XQSPI/SRAM) More... | |
__STATIC_INLINE uint32_t | ll_cgc_get_force_off_hclk_1 (void) |
Return to clock blocks that was forcibly closed.(Include: AON_MCUSUB/XF_XQSPI/SRAM) More... | |
__STATIC_INLINE void | ll_cgc_set_force_off_hclk_2 (uint32_t clk_mask) |
Some peripherals force turn off clock. (Include: UART0_HCLK/UART1_HCLK/UART2_HCLK/UART3_HCLK/UART4_HCLK/UART5_HCLK/ I2C0_HCLK/I2C1_HCLK/SPIM_HCLK/SPIS_HCLK/QSPI0_HCLK/QSPI1_HCLK/I2S_HCLK/SECU_DIV4_PCLK/XQSPI_DIV4_PCLK/PWM0/PWM1) More... | |
__STATIC_INLINE uint32_t | ll_cgc_get_force_off_hclk_2 (void) |
Return to clock blocks that was forcibly closed.(Include: UART0_HCLK/UART1_HCLK/UART2_HCLK/UART3_HCLK/UART4_HCLK/UART5_HCLK/ I2C0_HCLK/I2C1_HCLK/SPIM_HCLK/SPIS_HCLK/QSPI0_HCLK/QSPI1_HCLK/I2S_HCLK/SECU_DIV4_PCLK/XQSPI_DIV4_PCLK/PWM0/PWM1) More... | |
__STATIC_INLINE void | ll_cgc_set_force_off_hclk_3 (uint32_t clk_mask) |
Some peripherals automatic turn off clock. (Include: AES/HMAC/PKC/RNG.etc) More... | |
__STATIC_INLINE uint32_t | ll_cgc_get_force_off_hclk_3 (void) |
Return to clock blocks that is turned off.(Include: AES/HMAC/PKC/RNG.etc) More... | |
__STATIC_INLINE void | ll_cgc_enable_wfi_off_secu_hclk (void) |
Enable security blocks(including AES, PKC, Present, HMAC) automatic turn off clock during WFI. More... | |
__STATIC_INLINE void | ll_cgc_disable_wfi_off_secu_hclk (void) |
Disable security blocks(including AES, PKC, Present, HMAC) automatic turn off clock during WFI. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_wfi_off_secu_hclk (void) |
Indicate whether the security blocks(including AES, PKC, Present, HMAC) automatic turn off clock is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_wfi_off_sim_hclk (void) |
Enable SIM automatic turn off clock during WFI. More... | |
__STATIC_INLINE void | ll_cgc_disable_wfi_off_sim_hclk (void) |
Disable SIM automatic turn off clock during WFI. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_wfi_off_sim_hclk (void) |
Indicate whether the SIM automatic turn off clock is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_wfi_off_htb_hclk (void) |
Enable Hopping Table automatic turn off clock during WFI. More... | |
__STATIC_INLINE void | ll_cgc_disable_wfi_off_htb_hclk (void) |
Disable Hopping Table automatic turn off clock during WFI. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_wfi_off_htb_hclk (void) |
Indicate whether the Hopping Table automatic turn off clock is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_wfi_off_pwm_hclk (void) |
Enable PWM automatic turn off clock during WFI. More... | |
__STATIC_INLINE void | ll_cgc_disable_wfi_off_pwm_hclk (void) |
Disable PWM automatic turn off clock during WFI. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_wfi_off_pwm_hclk (void) |
Indicate whether the PWM automatic turn off clock is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_wfi_off_rom_hclk (void) |
Enable ROM automatic turn off clock during WFI. More... | |
__STATIC_INLINE void | ll_cgc_disable_wfi_off_rom_hclk (void) |
Disable ROM automatic turn off clock during WFI. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_wfi_off_rom_hclk (void) |
Indicate whether the ROM automatic turn off clock is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_wfi_off_snsadc_hclk (void) |
Enable SNSADC automatic turn off clock during WFI. More... | |
__STATIC_INLINE void | ll_cgc_disable_wfi_off_snsadc_hclk (void) |
Disable SNSADC automatic turn off clock during WFI. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_wfi_off_snsadc_hclk (void) |
Indicate whether the SNSADC automatic turn off clock is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_wfi_off_gpio_hclk (void) |
Enable GPIO automatic turn off clock during WFI. More... | |
__STATIC_INLINE void | ll_cgc_disable_wfi_off_gpio_hclk (void) |
Disable GPIO automatic turn off clock during WFI. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_wfi_off_gpio_hclk (void) |
Indicate whether the GPIO automatic turn off clock is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_wfi_off_dma_hclk (void) |
Enable DMA automatic turn off clock during WFI. More... | |
__STATIC_INLINE void | ll_cgc_disable_wfi_off_dma_hclk (void) |
Disable DMA automatic turn off clock during WFI. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_wfi_off_dma_hclk (void) |
Indicate whether the DMA automatic turn off clock is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_wfi_off_ble_brg_hclk (void) |
Enable BLE Bridge automatic turn off clock during WFI. More... | |
__STATIC_INLINE void | ll_cgc_disable_wfi_off_ble_brg_hclk (void) |
Disable BLE Bridge automatic turn off clock during WFI. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_wfi_off_ble_brg_hclk (void) |
Indicate whether the BLE Bridge automatic turn off clock is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_wfi_off_apb_sub_hclk (void) |
Enable APB Subsystem automatic turn off clock during WFI. More... | |
__STATIC_INLINE void | ll_cgc_disable_wfi_off_apb_sub_hclk (void) |
Disable APB Subsystem automatic turn off clock during WFI. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_wfi_off_apb_sub_hclk (void) |
Indicate whether the APB Subsystem automatic turn off clock is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_wfi_off_serial_hclk (void) |
Enable serial blocks(including I2C, UART, QSPI, I2S, SPI) automatic turn off clock during WFI. More... | |
__STATIC_INLINE void | ll_cgc_disable_wfi_off_serial_hclk (void) |
Disable serial blocks(including I2C, UART, QSPI, I2S, SPI) automatic turn off clock during WFI. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_wfi_off_serial_hclk (void) |
Indicate whether the serial blocks(including I2C, UART, QSPI, I2S, SPI) automatic turn off clock is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_wfi_off_aon_mcusub_hclk (void) |
Enable AON_MUCSUB automatic turn off clock during WFI. More... | |
__STATIC_INLINE void | ll_cgc_disable_wfi_off_aon_mcusub_hclk (void) |
Disable AON_MUCSUB automatic turn off clock during WFI. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_wfi_off_aon_mcusub_hclk (void) |
Indicate whether the AON_MUCSUB automatic turn off clock is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_wfi_off_xqspi_hclk (void) |
Enable XQSPI automatic turn off clock during WFI. More... | |
__STATIC_INLINE void | ll_cgc_disable_wfi_off_xqspi_hclk (void) |
Disable XQSPI automatic turn off clock during WFI. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_wfi_off_xqspi_hclk (void) |
Indicate whether the XQSPI automatic turn off clock is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_wfi_off_sram_hclk (void) |
Enable SRAM automatic turn off clock during WFI. More... | |
__STATIC_INLINE void | ll_cgc_disable_wfi_off_sram_hclk (void) |
Disable SRAM automatic turn off clock during WFI. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_wfi_off_sram_hclk (void) |
Indicate whether the SRAM automatic turn off clock is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_wfi_off_secu_div4_hclk (void) |
Enable security blocks automatic turn off div4 clock during WFI. More... | |
__STATIC_INLINE void | ll_cgc_disable_wfi_off_secu_div4_hclk (void) |
Disable security blocks automatic turn off div4 clock during WFI. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_wfi_off_secu_div4_hclk (void) |
Indicate whether the security blocks automatic turn off div4 clock is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_wfi_off_xqspi_div4_hclk (void) |
Enable XQSPI automatic turn off div4 clock during WFI. More... | |
__STATIC_INLINE void | ll_cgc_disable_wfi_off_xqspi_div4_hclk (void) |
Disable XQSPI automatic turn off div4 clock during WFI. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_wfi_off_xqspi_div4_hclk (void) |
Indicate whether the XQSPI automatic turn off div4 clock is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_secu_hclk (void) |
Enabling force to turn off the clock for security blocks(including AES, PKC, Present, HMAC). More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_secu_hclk (void) |
Disabling force to turn off the clock for security blocks(including AES, PKC, Present, HMAC). More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_secu_hclk (void) |
Indicate whether the clock for security blocks(including AES, PKC, Present, HMAC) is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_htb_hclk (void) |
Enabling force to turn off the clock for Hopping Table. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_htb_hclk (void) |
Disabling force to turn off the clock for Hopping Table. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_htb_hclk (void) |
Indicate whether the clock for Hopping Table is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_rom_hclk (void) |
Enabling force to turn off the clock for ROM. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_rom_hclk (void) |
Disabling force to turn off the clock for ROM. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_rom_hclk (void) |
Indicate whether the clock for ROM is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_snsadc_hclk (void) |
Enabling force to turn off the clock for SNSADC. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_snsadc_hclk (void) |
Disabling force to turn off the clock for SNSADC. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_snsadc_hclk (void) |
Indicate whether the clock for SNSADC is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_gpio_hclk (void) |
Enabling force to turn off the clock for GPIO. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_gpio_hclk (void) |
Disabling force to turn off the clock for GPIO. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_gpio_hclk (void) |
Indicate whether the clock for GPIO is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_ble_brg_hclk (void) |
Enabling force to turn off the clock for BLE Bridge. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_ble_brg_hclk (void) |
Disabling force to turn off the clock for BLE Bridge. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_ble_brg_hclk (void) |
Indicate whether the clock for BLE Bridge is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_apb_sub_hclk (void) |
Enabling force to turn off the clock for APB Subsystem. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_apb_sub_hclk (void) |
Disabling force to turn off the clock for APB Subsystem. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_apb_sub_hclk (void) |
Indicate whether the clock for APB Subsystem is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_serial_hclk (void) |
Enabling force to turn off the clock for serial blocks(including I2C, UART, QSPI, I2S, SPI). More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_serial_hclk (void) |
Disabling force to turn off the clock for serial blocks(including I2C, UART, QSPI, I2S, SPI). More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_serial_hclk (void) |
Indicate whether the clock for serial blocks(including I2C, UART, QSPI, I2S, SPI) is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_aon_mcusub_hclk (void) |
Enabling force to turn off the clock for AON_MUCSUB. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_aon_mcusub_hclk (void) |
Disabling force to turn off the clock for AON_MUCSUB. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_aon_mcusub_hclk (void) |
Indicate whether the clock for AON_MUCSUB is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_xqspi_hclk (void) |
Enabling force to turn off the clock for XQSPI. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_xqspi_hclk (void) |
Disabling force to turn off the clock for XQSPI. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_xqspi_hclk (void) |
Indicate whether the clock for XQSPI is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_sram_hclk (void) |
Enabling force to turn off the clock for SRAM. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_sram_hclk (void) |
Disabling force to turn off the clock for SRAM. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_sram_hclk (void) |
Indicate whether the clock for SRAM is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_uart0_hclk (void) |
Enabling force to turn off the clock for UART0. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_uart0_hclk (void) |
Disabling force to turn off the clock for UART0. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_uart0_hclk (void) |
Indicate whether the clock for UART0 is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_uart1_hclk (void) |
Enabling force to turn off the clock for UART1. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_uart1_hclk (void) |
Disabling force to turn off the clock for UART1. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_uart1_hclk (void) |
Indicate whether the clock for UART1 is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_uart2_hclk (void) |
Enabling force to turn off the clock for UART2. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_uart2_hclk (void) |
Disabling force to turn off the clock for UART2. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_uart2_hclk (void) |
Indicate whether the clock for UART2 is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_uart3_hclk (void) |
Enabling force to turn off the clock for UART3. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_uart3_hclk (void) |
Disabling force to turn off the clock for UART3. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_uart3_hclk (void) |
Indicate whether the clock for UART3 is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_uart4_hclk (void) |
Enabling force to turn off the clock for UART4. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_uart4_hclk (void) |
Disabling force to turn off the clock for UART4. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_uart4_hclk (void) |
Indicate whether the clock for UART4 is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_uart5_hclk (void) |
Enabling force to turn off the clock for UART5. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_uart5_hclk (void) |
Disabling force to turn off the clock for UART5. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_uart5_hclk (void) |
Indicate whether the clock for UART5 is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_i2c0_hclk (void) |
Enabling force to turn off the clock for I2C0. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_i2c0_hclk (void) |
Disabling force to turn off the clock for I2C0. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_i2c0_hclk (void) |
Indicate whether the clock for I2C0 is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_i2c1_hclk (void) |
Enabling force to turn off the clock for I2C1. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_i2c1_hclk (void) |
Disabling force to turn off the clock for I2C1. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_i2c1_hclk (void) |
Indicate whether the clock for I2C1 is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_i2c2_hclk (void) |
Enabling force to turn off the clock for I2C2. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_i2c2_hclk (void) |
Disabling force to turn off the clock for I2C2. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_i2c2_hclk (void) |
Indicate whether the clock for I2C2 is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_i2c3_hclk (void) |
Enabling force to turn off the clock for I2C3. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_i2c3_hclk (void) |
Disabling force to turn off the clock for I2C3. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_i2c3_hclk (void) |
Indicate whether the clock for I2C3 is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_i2c4_hclk (void) |
Enabling force to turn off the clock for I2C4. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_i2c4_hclk (void) |
Disabling force to turn off the clock for I2C4. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_i2c4_hclk (void) |
Indicate whether the clock for I2C4 is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_i2c5_hclk (void) |
Enabling force to turn off the clock for I2C5. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_i2c5_hclk (void) |
Disabling force to turn off the clock for I2C5. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_i2c5_hclk (void) |
Indicate whether the clock for I2C5 is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_spim_hclk (void) |
Enabling force to turn off the clock for SPIM. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_spim_hclk (void) |
Disabling force to turn off the clock for SPIM. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_spim_hclk (void) |
Indicate whether the clock for SPIM is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_spis_hclk (void) |
Enabling force to turn off the clock for SPIS. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_spis_hclk (void) |
Disabling force to turn off the clock for SPIS. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_spis_hclk (void) |
Indicate whether the clock for SPIS is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_qspi0_hclk (void) |
Enabling force to turn off the clock for QSPI0. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_qspi0_hclk (void) |
Disabling force to turn off the clock for QSPI0. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_qspi0_hclk (void) |
Indicate whether the clock for QSPI0 is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_qspi1_hclk (void) |
Enabling force to turn off the clock for QSPI1. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_qspi1_hclk (void) |
Disabling force to turn off the clock for QSPI1. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_qspi1_hclk (void) |
Indicate whether the clock for QSPI1 is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_qspi2_hclk (void) |
Enabling force to turn off the clock for QSPI2. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_qspi2_hclk (void) |
Disabling force to turn off the clock for QSPI2. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_qspi2_hclk (void) |
Indicate whether the clock for QSPI2 is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_i2s_m_hclk (void) |
Enabling force to turn off the clock for I2S master. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_i2s_m_hclk (void) |
Disabling force to turn off the clock for I2S master. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_i2s_m_hclk (void) |
Indicate whether the clock for I2S master is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_i2s_s_p_hclk (void) |
Enabling force to turn off the clock for I2S slave. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_i2s_s_p_hclk (void) |
Disabling force to turn off the clock for I2S slave. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_i2s_s_p_hclk (void) |
Indicate whether the clock for I2S slave is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_dspi_hclk (void) |
Enabling force to turn off the clock for DSPI slave. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_dspi_hclk (void) |
Disabling force to turn off the clock for DSPI slave. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_dspi_hclk (void) |
Indicate whether the clock for DSPI is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_pdm_hclk (void) |
Enabling force to turn off the clock for PDM slave. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_pdm_hclk (void) |
Disabling force to turn off the clock for PDM slave. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_pdm_hclk (void) |
Indicate whether the clock for PDM is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_secu_div4_pclk (void) |
Enabling force to turn off the div4 clock for security blocks. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_secu_div4_pclk (void) |
Disabling force to turn off the div4 clock for security blocks. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_secu_div4_pclk (void) |
Indicate whether the div4 clock for security blocks is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_xf_xqspi_div4_pclk (void) |
Enabling force to turn off the div4 clock for xf qspi blocks. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_xf_xqspi_div4_pclk (void) |
Disabling force to turn off the div4 clock for xf qspi blocks. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_xf_xqspi_div4_pclk (void) |
Indicate whether the div4 clock for xf qspi blocks is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_pwm0_hclk (void) |
Enabling force to turn off the clock for PWM0. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_pwm0_hclk (void) |
Disabling force to turn off the clock for PWM0. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_pwm0_hclk (void) |
Indicate whether the clock for PWM0 is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_pwm1_hclk (void) |
Enabling force to turn off the clock for PWM1. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_pwm1_hclk (void) |
Disabling force to turn off the clock for PWM1. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_pwm1_hclk (void) |
Indicate whether the clock for PWM1 is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_vttbl_hclk (void) |
Enabling force to turn off the clock for VTTBL. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_vttbl_hclk (void) |
Disabling force to turn off the clock for VTTBL. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_vttbl_hclk (void) |
Indicate whether the clock for VTTBL is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_set_mcu_periph_low_power (uint32_t clk_mask) |
Some peripherals has low power feature. (Include: UART/I2S/SPIM/SPIS/I2C/AHB BUS) More... | |
__STATIC_INLINE uint32_t | ll_cgc_get_mcu_periph_low_power (void) |
Return to clock blocks that has low power feature. (Include: UART/I2S/SPIM/SPIS/I2C/AHB BUS) More... | |
__STATIC_INLINE void | ll_cgc_enable_uart_sclk_low_power (void) |
Enable uart sclk low-power feature. More... | |
__STATIC_INLINE void | ll_cgc_disable_uart_sclk_low_power (void) |
Disable uart sclk low-power feature. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_uart_sclk_low_power (void) |
Indicate whether the uart sclk low-power is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_uart_pclk_low_power (void) |
Enable uart pclk low-power feature. More... | |
__STATIC_INLINE void | ll_cgc_disable_uart_pclk_low_power (void) |
Disable uart pclk low-power feature. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_uart_pclk_low_power (void) |
Indicate whether the uart pclk low-power is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_i2s_low_power (void) |
Enable i2s low-power feature. More... | |
__STATIC_INLINE void | ll_cgc_disable_i2s_low_power (void) |
Disable i2s low-power feature. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_i2s_low_power (void) |
Indicate whether the i2s low-power is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_spim_sclk_low_power (void) |
Enable spim sclk low-power feature. More... | |
__STATIC_INLINE void | ll_cgc_disable_spim_sclk_low_power (void) |
Disable spim sclk low-power feature. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_spim_sclk_low_power (void) |
Indicate whether the spim sclk low-power is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_spis_sclk_low_power (void) |
Enable spis sclk low-power feature. More... | |
__STATIC_INLINE void | ll_cgc_disable_spis_sclk_low_power (void) |
Disable spis sclk low-power feature. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_spis_sclk_low_power (void) |
Indicate whether the spis sclk low-power is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_i2c_sclk_low_power (void) |
Enable i2c sclk low-power feature. More... | |
__STATIC_INLINE void | ll_cgc_disable_i2c_sclk_low_power (void) |
Disable i2c sclk low-power feature. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_i2c_sclk_low_power (void) |
Indicate whether the i2c sclk low-power is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_ahb_bus_low_power (void) |
Enable ahb bus low-power feature. More... | |
__STATIC_INLINE void | ll_cgc_disable_ahb_bus_low_power (void) |
Disable ahb bus low-power feature. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_ahb_bus_low_power (void) |
Indicate whether the ahb bus low-power is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_qspim_low_power (void) |
Enable QSPIM low-power feature. More... | |
__STATIC_INLINE void | ll_cgc_disable_qspim_low_power (void) |
Disable QSPIM low-power feature. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_qspim_low_power (void) |
Indicate whether the QSPIM low-power is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_ahb2apb_sync_bus_low_power (void) |
Enable AHB2APB bus low-power feature. More... | |
__STATIC_INLINE void | ll_cgc_disable_ahb2apb_sync_bus_low_power (void) |
Disable AHB2APB bus low-power feature. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_ahb2apb_sync_bus_low_power (void) |
Indicate whether the AHB2APB bus low-power is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_ahb2apb_async_bus_low_power (void) |
Enable ahb bus low-power feature. More... | |
__STATIC_INLINE void | ll_cgc_disable_ahb2apb_async_bus_low_power (void) |
Disable ahb bus low-power feature. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_ahb2apb_async_bus_low_power (void) |
Indicate whether the ahb bus low-power is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_uart0_slp_wfi (void) |
Enable turn UART0 off during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_uart0_slp_wfi (void) |
Disable turn UART0 off during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_uart0_slp_wfi (void) |
Indicate whether turn UART0 off during WFI/WFE is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_uart1_slp_wfi (void) |
Enable turn UART1 off during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_uart1_slp_wfi (void) |
Disable turn UART1 off during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_uart1_slp_wfi (void) |
Indicate whether turn UART1 off during WFI/WFE is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_uart2_slp_wfi (void) |
Enable turn UART2 off during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_uart2_slp_wfi (void) |
Disable turn UART2 off during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_uart2_slp_wfi (void) |
Indicate whether turn UART2 off during WFI/WFE is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_uart3_slp_wfi (void) |
Enable turn UART3 off during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_uart3_slp_wfi (void) |
Disable turn UART3 off during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_uart3_slp_wfi (void) |
Indicate whether turn UART3 off during WFI/WFE is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_uart4_slp_wfi (void) |
Enable turn UART4 off during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_uart4_slp_wfi (void) |
Disable turn UART4 off during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_uart4_slp_wfi (void) |
Indicate whether turn UART4 off during WFI/WFE is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_uart5_slp_wfi (void) |
Enable turn UART5 off during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_uart5_slp_wfi (void) |
Disable turn UART5 off during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_uart5_slp_wfi (void) |
Indicate whether turn UART5 off during WFI/WFE is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_i2c0_slp_wfi (void) |
Enable turn I2C0 off during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_i2c0_slp_wfi (void) |
Disable turn I2C0 off during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_i2c0_slp_wfi (void) |
Indicate whether turn I2C0 off during WFI/WFE is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_i2c1_slp_wfi (void) |
Enable turn I2C1 off during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_i2c1_slp_wfi (void) |
Disable turn I2C1 off during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_i2c1_slp_wfi (void) |
Indicate whether turn I2C1 off during WFI/WFE is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_i2c2_slp_wfi (void) |
Enable turn I2C2 off during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_i2c2_slp_wfi (void) |
Disable turn I2C2 off during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_i2c2_slp_wfi (void) |
Indicate whether turn I2C2 off during WFI/WFE is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_i2c3_slp_wfi (void) |
Enable turn I2C3 off during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_i2c3_slp_wfi (void) |
Disable turn I2C3 off during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_i2c3_slp_wfi (void) |
Indicate whether turn I2C3 off during WFI/WFE is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_i2c4_slp_wfi (void) |
Enable turn I2C4 off during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_i2c4_slp_wfi (void) |
Disable turn I2C4 off during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_i2c4_slp_wfi (void) |
Indicate whether turn I2C4 off during WFI/WFE is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_i2c5_slp_wfi (void) |
Enable turn I2C5 off during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_i2c5_slp_wfi (void) |
Disable turn I2C5 off during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_i2c5_slp_wfi (void) |
Indicate whether turn I2C5 off during WFI/WFE is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_i2s_m_slp_wfi (void) |
Enable turn I2S_M off during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_i2s_m_slp_wfi (void) |
Disable turn I2S_M off during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_i2s_m_slp_wfi (void) |
Indicate whether turn I2S_M off during WFI/WFE is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_i2s_s_slp_wfi (void) |
Enable turn I2S_S off during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_i2s_s_slp_wfi (void) |
Disable turn I2S_S off during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_i2s_s_slp_wfi (void) |
Indicate whether turn I2S_S off during WFI/WFE is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_spi_m_slp_wfi (void) |
Enable turn SPI_M off during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_spi_m_slp_wfi (void) |
Disable turn SPI_M off during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_spi_m_slp_wfi (void) |
Indicate whether turn SPI_M off during WFI/WFE is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_spi_s_slp_wfi (void) |
Enable turn SPI_S off during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_spi_s_slp_wfi (void) |
Disable turn SPI_S off during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_spi_s_slp_wfi (void) |
Indicate whether turn SPI_S off during WFI/WFE is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_pwm0_slp_wfi (void) |
Enable turn pwm0 off during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_pwm0_slp_wfi (void) |
Disable turn pwm0 off during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_pwm0_slp_wfi (void) |
Indicate whether turn pwm0 off during WFI/WFE is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_pwm1_slp_wfi (void) |
Enable turn pwm1 off during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_pwm1_slp_wfi (void) |
Disable turn pwm1 off during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_pwm1_slp_wfi (void) |
Indicate whether turn pwm1 off during WFI/WFE is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_qspim0_slp_wfi (void) |
Enable turn QSPIM0 off during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_qspim0_slp_wfi (void) |
Disable turn QSPIM0 off during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_qspim0_slp_wfi (void) |
Indicate whether turn QSPIM0 off during WFI/WFE is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_qspim1_slp_wfi (void) |
Enable turn QSPIM1 off during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_qspim1_slp_wfi (void) |
Disable turn QSPIM1 off during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_qspim1_slp_wfi (void) |
Indicate whether turn QSPIM1 off during WFI/WFE is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_qspim2_slp_wfi (void) |
Enable turn QSPIM2 off during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_qspim2_slp_wfi (void) |
Disable turn QSPIM2 off during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_qspim2_slp_wfi (void) |
Indicate whether turn QSPIM2 off during WFI/WFE is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_dspi_slp_wfi (void) |
Enable turn DSPI off during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_dspi_slp_wfi (void) |
Disable turn DSPI off during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_dspi_slp_wfi (void) |
Indicate whether turn DSPI off during WFI/WFE is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_pdm_slp_wfi (void) |
Enable turn PDM off during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_pdm_slp_wfi (void) |
Disable turn PDM off during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_pdm_slp_wfi (void) |
Indicate whether turn PDM off during WFI/WFE is enabled. More... | |
__STATIC_INLINE void | ll_cgc_set_force_off_hclk_secu (uint32_t clk_mask) |
Individual block's clock control inside security system which was forced to turn off (Include: AES/HMAC/PKC/PRESENT/RAMKAY/RNG/EFUSE) More... | |
__STATIC_INLINE uint32_t | ll_cgc_get_force_off_secu (void) |
Return to clock blocks that was forcibly closed inside security system.(Include: AES/HMAC/PKC/PRESENT/RAMKAY/RNG/EFUSE) More... | |
__STATIC_INLINE void | ll_cgc_set_slp_off_hclk_secu (uint32_t clk_mask) |
Some security blocks automatic turn off clock during WFI/WFE. (Include: AES/HMAC/PKC/PRESENT/RAMKAY/RNG/EFUSE) More... | |
__STATIC_INLINE uint32_t | ll_cgc_get_slp_off_secu (void) |
Return to security clock blocks that is turned off during WFI/WFE.(Include: AES/HMAC/PKC/PRESENT/RAMKAY/RNG/EFUSE) More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_aes_hclk (void) |
Enabling force to turn off the clock for AES. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_aes_hclk (void) |
Disabling force to turn off the clock for AES. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_aes_hclk (void) |
Indicate whether the clock for AES is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_hmac_hclk (void) |
Enabling force to turn off the clock for HMAC. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_hmac_hclk (void) |
Disabling force to turn off the clock for HMAC. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_hmac_hclk (void) |
Indicate whether the clock for HMAC is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_pkc_hclk (void) |
Enabling force to turn off the clock for PKC. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_pkc_hclk (void) |
Disabling force to turn off the clock for PKC. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_pkc_hclk (void) |
Indicate whether the clock for PKC is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_present_hclk (void) |
Enabling force to turn off the clock for PRESENT. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_present_hclk (void) |
Disabling force to turn off the clock for PRESENT. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_present_hclk (void) |
Indicate whether the clock for PRESENT is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_ramkey_hclk (void) |
Enabling force to turn off the clock for RAMKEY. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_ramkey_hclk (void) |
Disabling force to turn off the clock for RAMKEY. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_ramkey_hclk (void) |
Indicate whether the clock for RAMKEY is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_rng_hclk (void) |
Enabling force to turn off the clock for RNG. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_rng_hclk (void) |
Disabling force to turn off the clock for RNG. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_rng_hclk (void) |
Indicate whether the clock for RNG is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_efuse_hclk (void) |
Enabling force to turn off the clock for EFUSE. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_efuse_hclk (void) |
Disabling force to turn off the clock for EFUSE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_efuse_hclk (void) |
Indicate whether the clock for EFUSE is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_wfi_off_aes_hclk (void) |
Enable AES automatic turn off clock during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_wfi_off_aes_hclk (void) |
Disable AES automatic turn off clock during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_wfi_off_aes_hclk (void) |
Indicate whether the AES automatic turn off clock is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_wfi_off_hmac_hclk (void) |
Enable HMAC automatic turn off clock during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_wfi_off_hmac_hclk (void) |
Disable HMAC automatic turn off clock during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_wfi_off_hmac_hclk (void) |
Indicate whether the HMAC automatic turn off clock is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_wfi_off_pkc_hclk (void) |
Enable PKC automatic turn off clock during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_wfi_off_pkc_hclk (void) |
Disable PKC automatic turn off clock during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_wfi_off_pkc_hclk (void) |
Indicate whether the PKC automatic turn off clock is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_wfi_off_present_hclk (void) |
Enable PRESENT automatic turn off clock during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_wfi_off_present_hclk (void) |
Disable PRESENT automatic turn off clock during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_wfi_off_present_hclk (void) |
Indicate whether the PRESENT automatic turn off clock is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_wfi_off_ramkey_hclk (void) |
Enable RAMKEY automatic turn off clock during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_wfi_off_ramkey_hclk (void) |
Disable RAMKEY automatic turn off clock during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_wfi_off_ramkey_hclk (void) |
Indicate whether the RAMKEY automatic turn off clock is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_wfi_off_rng_hclk (void) |
Enable RNG automatic turn off clock during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_wfi_off_rng_hclk (void) |
Disable RNG automatic turn off clock during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_wfi_off_rng_hclk (void) |
Indicate whether the RNG automatic turn off clock is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_wfi_off_efuse_hclk (void) |
Enable EFUSE automatic turn off clock during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_wfi_off_efuse_hclk (void) |
Disable EFUSE automatic turn off clock during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_wfi_off_efuse_hclk (void) |
Indicate whether the EFUSE automatic turn off clock is enabled. More... | |
__STATIC_INLINE void | ll_cgc_set_misc_clk (uint32_t clk_mask) |
Some MISC_CLK blocks turn off clock. (Include: GPADC/XQSPI/DMA0) More... | |
__STATIC_INLINE uint32_t | ll_cgc_get_misc_clk (void) |
Return to MISC_CLK clock blocks that is turned off.(Include: GPADC/XQSPI/DMA0) More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_gpadc_hclk (void) |
Enabling force to turn off the clock for GPADC. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_gpadc_hclk (void) |
Disabling force to turn off the clock for GPADC. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_gpadc_hclk (void) |
Indicate whether the clock for GPADC is forced to close. More... | |
__STATIC_INLINE void | ll_cgc_enable_wfi_off_gpadc_hclk (void) |
Enable GPADC automatic turn off clock during WFI/WFE. More... | |
__STATIC_INLINE void | ll_cgc_disable_wfi_off_gpadc_hclk (void) |
Disable GPADC automatic turn off clock during WFI/WFE. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_wfi_off_gpadc_hclk (void) |
Indicate whether the GPADC automatic turn off clock is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_xqspi_sck (void) |
Enable XQSPI SCK CLK turn off. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_xqspi_sck (void) |
Disable XQSPI SCK CLK turn off. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_xqspi_sck (void) |
Indicate whether the XQSPI SCK CLK automatic turn off clock is enabled. More... | |
__STATIC_INLINE void | ll_cgc_enable_force_off_dma0_hclk (void) |
Enable DMA0 turn off. More... | |
__STATIC_INLINE void | ll_cgc_disable_force_off_dma0_hclk (void) |
Disable DMA0 turn off. More... | |
__STATIC_INLINE uint32_t | ll_cgc_is_enabled_force_off_dma0_hclk (void) |
Indicate whether the DMA0 automatic turn off clock is enabled. More... | |
__STATIC_INLINE void ll_cgc_disable_ahb2apb_async_bus_low_power | ( | void | ) |
Disable ahb bus low-power feature.
Register | BitsName ---------|-------- CG_LP_EN | AHB_BUS_LP
None |
Definition at line 3296 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_ahb2apb_sync_bus_low_power | ( | void | ) |
Disable AHB2APB bus low-power feature.
Register | BitsName ---------|-------- CG_LP_EN | AHB2APB_BUS_LP
None |
Definition at line 3254 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_ahb_bus_low_power | ( | void | ) |
Disable ahb bus low-power feature.
Register | BitsName ---------|-------- CG_LP_EN | AHB_BUS_LP
None |
Definition at line 3172 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_dspi_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_force_off_aes_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_force_off_aon_mcusub_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_force_off_apb_sub_hclk | ( | void | ) |
Disabling force to turn off the clock for APB Subsystem.
Register | BitsName ----------|-------- CG_CTRL_1 | APB_SUB_HCLK
None |
Definition at line 1601 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_force_off_ble_brg_hclk | ( | void | ) |
Disabling force to turn off the clock for BLE Bridge.
Register | BitsName ----------|-------- CG_CTRL_1 | BLE_BRG_HCLK
None |
Definition at line 1559 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_force_off_dma0_hclk | ( | void | ) |
Disable DMA0 turn off.
Register | BitsName ----------|-------- MCU_MISC_CLK | DMA0_OFF
None |
Definition at line 5079 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_force_off_dspi_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_force_off_efuse_hclk | ( | void | ) |
Disabling force to turn off the clock for EFUSE.
Register | BitsName ----------|-------- SECU_CLK_CTRL | EFUSE_HCLK_FRC_OFF
None |
Definition at line 4605 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_force_off_gpadc_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_force_off_gpio_hclk | ( | void | ) |
Disabling force to turn off the clock for GPIO.
Register | BitsName ----------|-------- CG_CTRL_1 | GPIO_HCLK
None |
Definition at line 1517 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_force_off_hmac_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_force_off_htb_hclk | ( | void | ) |
Disabling force to turn off the clock for Hopping Table.
Register | BitsName ----------|-------- CG_CTRL_1 | HTB_HCLK
None |
Definition at line 1391 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_force_off_i2c0_hclk | ( | void | ) |
Disabling force to turn off the clock for I2C0.
Register | BitsName ----------|-------- PERIPH_GC | I2C0_HCLK
None |
Definition at line 2053 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_force_off_i2c1_hclk | ( | void | ) |
Disabling force to turn off the clock for I2C1.
Register | BitsName ----------|-------- PERIPH_GC | I2C1_HCLK
None |
Definition at line 2095 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_force_off_i2c2_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_force_off_i2c3_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_force_off_i2c4_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_force_off_i2c5_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_force_off_i2s_m_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_force_off_i2s_s_p_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_force_off_pdm_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_force_off_pkc_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_force_off_present_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_force_off_pwm0_hclk | ( | void | ) |
Disabling force to turn off the clock for PWM0.
Register | BitsName ----------|-------- PERIPH_GC | PWM0_PCLK
None |
Definition at line 2741 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_force_off_pwm1_hclk | ( | void | ) |
Disabling force to turn off the clock for PWM1.
Register | BitsName ----------|-------- PERIPH_GC | PWM1_PCLK
None |
Definition at line 2783 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_force_off_qspi0_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_force_off_qspi1_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_force_off_qspi2_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_force_off_ramkey_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_force_off_rng_hclk | ( | void | ) |
Disabling force to turn off the clock for RNG.
Register | BitsName ----------|-------- SECU_CLK_CTRL | RNG_HCLK_FRC_OFF
None |
Definition at line 4563 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_force_off_rom_hclk | ( | void | ) |
Disabling force to turn off the clock for ROM.
Register | BitsName ----------|-------- CG_CTRL_1 | ROM_HCLK
None |
Definition at line 1433 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_force_off_secu_div4_pclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_force_off_secu_hclk | ( | void | ) |
Disabling force to turn off the clock for security blocks(including AES, PKC, Present, HMAC).
Register | BitsName ----------|-------- CG_CTRL_1 | SECU_HCLK
None |
Definition at line 1349 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_force_off_serial_hclk | ( | void | ) |
Disabling force to turn off the clock for serial blocks(including I2C, UART, QSPI, I2S, SPI).
Register | BitsName ----------|-------- CG_CTRL_1 | SERIAL_HCLK
None |
Definition at line 1643 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_force_off_snsadc_hclk | ( | void | ) |
Disabling force to turn off the clock for SNSADC.
Register | BitsName ----------|-------- CG_CTRL_1 | SNSADC_HCLK
None |
Definition at line 1475 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_force_off_spim_hclk | ( | void | ) |
Disabling force to turn off the clock for SPIM.
Register | BitsName ----------|-------- PERIPH_GC | SPIM_HCLK
None |
Definition at line 2297 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_force_off_spis_hclk | ( | void | ) |
Disabling force to turn off the clock for SPIS.
Register | BitsName ----------|-------- PERIPH_GC | SPIS_HCLK
None |
Definition at line 2339 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_force_off_sram_hclk | ( | void | ) |
Disabling force to turn off the clock for SRAM.
Register | BitsName ----------|-------- CG_CTRL_2 | SRAM_HCLK
None |
Definition at line 1767 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_force_off_uart0_hclk | ( | void | ) |
Disabling force to turn off the clock for UART0.
Register | BitsName ----------|-------- PERIPH_GC | UART0_HCLK
None |
Definition at line 1809 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_force_off_uart1_hclk | ( | void | ) |
Disabling force to turn off the clock for UART1.
Register | BitsName ----------|-------- PERIPH_GC | UART1_HCLK
None |
Definition at line 1851 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_force_off_uart2_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_force_off_uart3_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_force_off_uart4_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_force_off_uart5_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_force_off_vttbl_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_force_off_xf_xqspi_div4_pclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_force_off_xqspi_hclk | ( | void | ) |
Disabling force to turn off the clock for XQSPI.
Register | BitsName ----------|-------- CG_CTRL_2 | XF_XQSPI_HCLK
None |
Definition at line 1725 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_force_off_xqspi_sck | ( | void | ) |
Disable XQSPI SCK CLK turn off.
Register | BitsName ----------|-------- MCU_MISC_CLK | XQSPI SCK CLK_OFF
None |
Definition at line 5037 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_i2c0_slp_wfi | ( | void | ) |
Disable turn I2C0 off during WFI/WFE.
Register | BitsName ---------|-------- CLK_SLP_OFF | I2C0_SLP
None |
Definition at line 3582 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_i2c1_slp_wfi | ( | void | ) |
Disable turn I2C1 off during WFI/WFE.
Register | BitsName ---------|-------- CLK_SLP_OFF | I2C1_SLP
None |
Definition at line 3624 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_i2c2_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_i2c3_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_i2c4_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_i2c5_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_i2c_sclk_low_power | ( | void | ) |
Disable i2c sclk low-power feature.
Register | BitsName ---------|-------- CG_LP_EN | I2C_LP_SCLK
None |
Definition at line 3130 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_i2s_low_power | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_i2s_m_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_i2s_s_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_pdm_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_pwm0_slp_wfi | ( | void | ) |
Disable turn pwm0 off during WFI/WFE.
Register | BitsName ---------|-------- CLK_SLP_OFF | PWM0_SLP
None |
Definition at line 3990 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_pwm1_slp_wfi | ( | void | ) |
Disable turn pwm1 off during WFI/WFE.
Register | BitsName ---------|-------- CLK_SLP_OFF | PWM1_SLP
None |
Definition at line 4032 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_qspim0_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_qspim1_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_qspim2_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_qspim_low_power | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_spi_m_slp_wfi | ( | void | ) |
Disable turn SPI_M off during WFI/WFE.
Register | BitsName ---------|-------- CLK_SLP_OFF | SPIM_SLP
None |
Definition at line 3906 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_spi_s_slp_wfi | ( | void | ) |
Disable turn SPI_S off during WFI/WFE.
Register | BitsName ---------|-------- CLK_SLP_OFF | SPIS_SLP
None |
Definition at line 3948 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_spim_sclk_low_power | ( | void | ) |
Disable spim sclk low-power feature.
Register | BitsName ---------|-------- CG_LP_EN | SPIM_LP_SCLK
None |
Definition at line 3046 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_spis_sclk_low_power | ( | void | ) |
Disable spis sclk low-power feature.
Register | BitsName ---------|-------- CG_LP_EN | SPIS_LP_SCLK
None |
Definition at line 3088 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_uart0_slp_wfi | ( | void | ) |
Disable turn UART0 off during WFI/WFE.
Register | BitsName ---------|-------- CLK_SLP_OFF | UART0_SLP
None |
Definition at line 3338 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_uart1_slp_wfi | ( | void | ) |
Disable turn UART1 off during WFI/WFE.
Register | BitsName ---------|-------- CLK_SLP_OFF | UART1_SLP
None |
Definition at line 3380 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_uart2_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_uart3_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_uart4_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_uart5_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_uart_pclk_low_power | ( | void | ) |
Disable uart pclk low-power feature.
Register | BitsName ---------|-------- CG_LP_EN | UART_LP_PCLK
None |
Definition at line 2964 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_uart_sclk_low_power | ( | void | ) |
Disable uart sclk low-power feature.
Register | BitsName ---------|-------- CG_LP_EN | UART_LP_SCLK
None |
Definition at line 2922 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_wfi_off_aes_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_wfi_off_aon_mcusub_hclk | ( | void | ) |
Disable AON_MUCSUB automatic turn off clock during WFI.
Register | BitsName ----------|-------- CG_CTRL_2 | AON_MCUSUB_HCLK
None |
Definition at line 1142 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_wfi_off_apb_sub_hclk | ( | void | ) |
Disable APB Subsystem automatic turn off clock during WFI.
Register | BitsName ----------|-------- CG_CTRL_0 | APB_SUB_HCLK
None |
Definition at line 1057 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_wfi_off_ble_brg_hclk | ( | void | ) |
Disable BLE Bridge automatic turn off clock during WFI.
Register | BitsName ----------|-------- CG_CTRL_0 | BLE_BRG_HCLK
None |
Definition at line 1015 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_wfi_off_dma_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_wfi_off_efuse_hclk | ( | void | ) |
Disable EFUSE automatic turn off clock during WFI/WFE.
Register | BitsName ----------|-------- SECU_CLK_CTRL | EFUSE_HCLK_SLP_OFF
None |
Definition at line 4889 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_wfi_off_gpadc_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_wfi_off_gpio_hclk | ( | void | ) |
Disable GPIO automatic turn off clock during WFI.
Register | BitsName ----------|-------- CG_CTRL_0 | GPIO_HCLK
None |
Definition at line 933 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_wfi_off_hmac_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_wfi_off_htb_hclk | ( | void | ) |
Disable Hopping Table automatic turn off clock during WFI.
Register | BitsName ----------|-------- CG_CTRL_0 | HTB_HCLK
None |
Definition at line 767 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_wfi_off_pkc_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_wfi_off_present_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_wfi_off_pwm_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_wfi_off_ramkey_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_wfi_off_rng_hclk | ( | void | ) |
Disable RNG automatic turn off clock during WFI/WFE.
Register | BitsName ----------|-------- SECU_CLK_CTRL | RNG_HCLK_SLP_OFF
None |
Definition at line 4847 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_wfi_off_rom_hclk | ( | void | ) |
Disable ROM automatic turn off clock during WFI.
Register | BitsName ----------|-------- CG_CTRL_0 | ROM_HCLK
None |
Definition at line 849 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_wfi_off_secu_div4_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_wfi_off_secu_hclk | ( | void | ) |
Disable security blocks(including AES, PKC, Present, HMAC) automatic turn off clock during WFI.
Register | BitsName ----------|-------- CG_CTRL_0 | SECU_HCLK
None |
Definition at line 685 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_wfi_off_serial_hclk | ( | void | ) |
Disable serial blocks(including I2C, UART, QSPI, I2S, SPI) automatic turn off clock during WFI.
Register | BitsName ----------|-------- CG_CTRL_0 | SERIAL_HCLK
None |
Definition at line 1099 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_wfi_off_sim_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_wfi_off_snsadc_hclk | ( | void | ) |
Disable SNSADC automatic turn off clock during WFI.
Register | BitsName ----------|-------- CG_CTRL_0 | SNSADC_HCLK
None |
Definition at line 891 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_wfi_off_sram_hclk | ( | void | ) |
Disable SRAM automatic turn off clock during WFI.
Register | BitsName ----------|-------- CG_CTRL_2 | SRAM_HCLK
None |
Definition at line 1226 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_disable_wfi_off_xqspi_div4_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_disable_wfi_off_xqspi_hclk | ( | void | ) |
Disable XQSPI automatic turn off clock during WFI.
Register | BitsName ----------|-------- CG_CTRL_2 | XF_XQSPI_HCLK
None |
Definition at line 1184 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_DISABLE.
__STATIC_INLINE void ll_cgc_enable_ahb2apb_async_bus_low_power | ( | void | ) |
Enable ahb bus low-power feature.
Register | BitsName ---------|-------- CG_LP_EN | AHB_BUS_LP
None |
Definition at line 3282 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_ahb2apb_sync_bus_low_power | ( | void | ) |
Enable AHB2APB bus low-power feature.
Register | BitsName ---------|-------- CG_LP_EN | AHB2APB_BUS_LP
None |
Definition at line 3240 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_ahb_bus_low_power | ( | void | ) |
Enable ahb bus low-power feature.
Register | BitsName ---------|-------- CG_LP_EN | AHB_BUS_LP
None |
Definition at line 3158 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_dspi_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_force_off_aes_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_force_off_aon_mcusub_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_force_off_apb_sub_hclk | ( | void | ) |
Enabling force to turn off the clock for APB Subsystem.
Register | BitsName ----------|-------- CG_CTRL_1 | APB_SUB_HCLK
None |
Definition at line 1587 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_force_off_ble_brg_hclk | ( | void | ) |
Enabling force to turn off the clock for BLE Bridge.
Register | BitsName ----------|-------- CG_CTRL_1 | BLE_BRG_HCLK
None |
Definition at line 1545 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_force_off_dma0_hclk | ( | void | ) |
Enable DMA0 turn off.
Register | BitsName ----------|-------- MCU_MISC_CLK |DMA0_OFF
None |
Definition at line 5065 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_force_off_dspi_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_force_off_efuse_hclk | ( | void | ) |
Enabling force to turn off the clock for EFUSE.
Register | BitsName ----------|-------- SECU_CLK_CTRL | EFUSE_HCLK_FRC_OFF
None |
Definition at line 4591 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_force_off_gpadc_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_force_off_gpio_hclk | ( | void | ) |
Enabling force to turn off the clock for GPIO.
Register | BitsName ----------|-------- CG_CTRL_1 | GPIO_HCLK
None |
Definition at line 1503 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_force_off_hmac_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_force_off_htb_hclk | ( | void | ) |
Enabling force to turn off the clock for Hopping Table.
Register | BitsName ----------|-------- CG_CTRL_1 | HTB_HCLK
None |
Definition at line 1377 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_force_off_i2c0_hclk | ( | void | ) |
Enabling force to turn off the clock for I2C0.
Register | BitsName ----------|-------- PERIPH_GC | I2C0_HCLK
None |
Definition at line 2039 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_force_off_i2c1_hclk | ( | void | ) |
Enabling force to turn off the clock for I2C1.
Register | BitsName ----------|-------- PERIPH_GC | I2C1_HCLK
None |
Definition at line 2081 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_force_off_i2c2_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_force_off_i2c3_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_force_off_i2c4_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_force_off_i2c5_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_force_off_i2s_m_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_force_off_i2s_s_p_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_force_off_pdm_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_force_off_pkc_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_force_off_present_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_force_off_pwm0_hclk | ( | void | ) |
Enabling force to turn off the clock for PWM0.
Register | BitsName ----------|-------- PERIPH_GC | PWM0_PCLK
None |
Definition at line 2727 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_force_off_pwm1_hclk | ( | void | ) |
Enabling force to turn off the clock for PWM1.
Register | BitsName ----------|-------- PERIPH_GC | PWM1_PCLK
None |
Definition at line 2769 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_force_off_qspi0_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_force_off_qspi1_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_force_off_qspi2_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_force_off_ramkey_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_force_off_rng_hclk | ( | void | ) |
Enabling force to turn off the clock for RNG.
Register | BitsName ----------|-------- SECU_CLK_CTRL | RNG_HCLK_FRC_OFF
None |
Definition at line 4549 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_force_off_rom_hclk | ( | void | ) |
Enabling force to turn off the clock for ROM.
Register | BitsName ----------|-------- CG_CTRL_1 | ROM_HCLK
None |
Definition at line 1419 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_force_off_secu_div4_pclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_force_off_secu_hclk | ( | void | ) |
Enabling force to turn off the clock for security blocks(including AES, PKC, Present, HMAC).
Register | BitsName ----------|-------- CG_CTRL_1 | SECU_HCLK
None |
Definition at line 1335 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_force_off_serial_hclk | ( | void | ) |
Enabling force to turn off the clock for serial blocks(including I2C, UART, QSPI, I2S, SPI).
Register | BitsName ----------|-------- CG_CTRL_1 | SERIAL_HCLK
None |
Definition at line 1629 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_force_off_snsadc_hclk | ( | void | ) |
Enabling force to turn off the clock for SNSADC.
Register | BitsName ----------|-------- CG_CTRL_1 | SNSADC_HCLK
None |
Definition at line 1461 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_force_off_spim_hclk | ( | void | ) |
Enabling force to turn off the clock for SPIM.
Register | BitsName ----------|-------- PERIPH_GC | SPIM_HCLK
None |
Definition at line 2283 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_force_off_spis_hclk | ( | void | ) |
Enabling force to turn off the clock for SPIS.
Register | BitsName ----------|-------- PERIPH_GC | SPIS_HCLK
None |
Definition at line 2325 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_force_off_sram_hclk | ( | void | ) |
Enabling force to turn off the clock for SRAM.
Register | BitsName ----------|-------- CG_CTRL_2 | SRAM_HCLK
None |
Definition at line 1753 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_force_off_uart0_hclk | ( | void | ) |
Enabling force to turn off the clock for UART0.
Register | BitsName ----------|-------- PERIPH_GC | UART0_HCLK
None |
Definition at line 1795 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_force_off_uart1_hclk | ( | void | ) |
Enabling force to turn off the clock for UART1.
Register | BitsName ----------|-------- PERIPH_GC | UART1_HCLK
None |
Definition at line 1837 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_force_off_uart2_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_force_off_uart3_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_force_off_uart4_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_force_off_uart5_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_force_off_vttbl_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_force_off_xf_xqspi_div4_pclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_force_off_xqspi_hclk | ( | void | ) |
Enabling force to turn off the clock for XQSPI.
Register | BitsName ----------|-------- CG_CTRL_2 | XF_XQSPI_HCLK
None |
Definition at line 1711 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_force_off_xqspi_sck | ( | void | ) |
Enable XQSPI SCK CLK turn off.
Register | BitsName ----------|-------- MCU_MISC_CLK |XQSPI SCK CLK_OFF
None |
Definition at line 5023 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_i2c0_slp_wfi | ( | void | ) |
Enable turn I2C0 off during WFI/WFE.
Register | BitsName ---------|-------- CLK_SLP_OFF | I2C0_SLP
None |
Definition at line 3568 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_i2c1_slp_wfi | ( | void | ) |
Enable turn I2C1 off during WFI/WFE.
Register | BitsName ---------|-------- CLK_SLP_OFF | I2C1_SLP
None |
Definition at line 3610 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_i2c2_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_i2c3_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_i2c4_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_i2c5_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_i2c_sclk_low_power | ( | void | ) |
Enable i2c sclk low-power feature.
Register | BitsName ---------|-------- CG_LP_EN | I2C_LP_SCLK
None |
Definition at line 3116 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_i2s_low_power | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_i2s_m_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_i2s_s_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_pdm_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_pwm0_slp_wfi | ( | void | ) |
Enable turn pwm0 off during WFI/WFE.
Register | BitsName ---------|-------- CLK_SLP_OFF | PWM0_SLP
None |
Definition at line 3976 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_pwm1_slp_wfi | ( | void | ) |
Enable turn pwm1 off during WFI/WFE.
Register | BitsName ---------|-------- CLK_SLP_OFF | PWM1_SLP
None |
Definition at line 4018 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_qspim0_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_qspim1_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_qspim2_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_qspim_low_power | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_spi_m_slp_wfi | ( | void | ) |
Enable turn SPI_M off during WFI/WFE.
Register | BitsName ---------|-------- CLK_SLP_OFF | SPIM_SLP
None |
Definition at line 3892 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_spi_s_slp_wfi | ( | void | ) |
Enable turn SPI_S off during WFI/WFE.
Register | BitsName ---------|-------- CLK_SLP_OFF | SPIS_SLP
None |
Definition at line 3934 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_spim_sclk_low_power | ( | void | ) |
Enable spim sclk low-power feature.
Register | BitsName ---------|-------- CG_LP_EN | SPIM_LP_SCLK
None |
Definition at line 3032 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_spis_sclk_low_power | ( | void | ) |
Enable spis sclk low-power feature.
Register | BitsName ---------|-------- CG_LP_EN | SPIS_LP_SCLK
None |
Definition at line 3074 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_uart0_slp_wfi | ( | void | ) |
Enable turn UART0 off during WFI/WFE.
Register | BitsName ---------|-------- CLK_SLP_OFF | UART0_SLP
None |
Definition at line 3324 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_uart1_slp_wfi | ( | void | ) |
Enable turn UART1 off during WFI/WFE.
Register | BitsName ---------|-------- CLK_SLP_OFF | UART1_SLP
None |
Definition at line 3366 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_uart2_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_uart3_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_uart4_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_uart5_slp_wfi | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_uart_pclk_low_power | ( | void | ) |
Enable uart pclk low-power feature.
Register | BitsName ---------|-------- CG_LP_EN | UART_LP_PCLK
None |
Definition at line 2950 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_uart_sclk_low_power | ( | void | ) |
Enable uart sclk low-power feature.
Register | BitsName ---------|-------- CG_LP_EN | UART_LP_SCLK
None |
Definition at line 2908 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_wfi_off_aes_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_wfi_off_aon_mcusub_hclk | ( | void | ) |
Enable AON_MUCSUB automatic turn off clock during WFI.
Register | BitsName ----------|-------- CG_CTRL_2 | AON_MCUSUB_HCLK
None |
Definition at line 1128 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_wfi_off_apb_sub_hclk | ( | void | ) |
Enable APB Subsystem automatic turn off clock during WFI.
Register | BitsName ----------|-------- CG_CTRL_0 | APB_SUB_HCLK
None |
Definition at line 1043 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_wfi_off_ble_brg_hclk | ( | void | ) |
Enable BLE Bridge automatic turn off clock during WFI.
Register | BitsName ----------|-------- CG_CTRL_0 | BLE_BRG_HCLK
None |
Definition at line 1001 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_wfi_off_dma_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_wfi_off_efuse_hclk | ( | void | ) |
Enable EFUSE automatic turn off clock during WFI/WFE.
Register | BitsName ----------|-------- SECU_CLK_CTRL | EFUSE_HCLK_SLP_OFF
None |
Definition at line 4875 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_wfi_off_gpadc_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_wfi_off_gpio_hclk | ( | void | ) |
Enable GPIO automatic turn off clock during WFI.
Register | BitsName ----------|-------- CG_CTRL_0 | GPIO_HCLK
None |
Definition at line 919 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_wfi_off_hmac_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_wfi_off_htb_hclk | ( | void | ) |
Enable Hopping Table automatic turn off clock during WFI.
Register | BitsName ----------|-------- CG_CTRL_0 | HTB_HCLK
None |
Definition at line 753 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_wfi_off_pkc_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_wfi_off_present_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_wfi_off_pwm_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_wfi_off_ramkey_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_wfi_off_rng_hclk | ( | void | ) |
Enable RNG automatic turn off clock during WFI/WFE.
Register | BitsName ----------|-------- SECU_CLK_CTRL | RNG_HCLK_SLP_OFF
None |
Definition at line 4833 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_wfi_off_rom_hclk | ( | void | ) |
Enable ROM automatic turn off clock during WFI.
Register | BitsName ----------|-------- CG_CTRL_0 | ROM_HCLK
None |
Definition at line 835 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_wfi_off_secu_div4_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_wfi_off_secu_hclk | ( | void | ) |
Enable security blocks(including AES, PKC, Present, HMAC) automatic turn off clock during WFI.
Register | BitsName ----------|-------- CG_CTRL_0 | SECU_HCLK
None |
Definition at line 671 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_wfi_off_serial_hclk | ( | void | ) |
Enable serial blocks(including I2C, UART, QSPI, I2S, SPI) automatic turn off clock during WFI.
Register | BitsName ----------|-------- CG_CTRL_0 | SERIAL_HCLK
None |
Definition at line 1085 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_wfi_off_sim_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_wfi_off_snsadc_hclk | ( | void | ) |
Enable SNSADC automatic turn off clock during WFI.
Register | BitsName ----------|-------- CG_CTRL_0 | SNSADC_HCLK
None |
Definition at line 877 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_wfi_off_sram_hclk | ( | void | ) |
Enable SRAM automatic turn off clock during WFI.
Register | BitsName ----------|-------- CG_CTRL_2 | SRAM_HCLK
None |
Definition at line 1212 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_enable_wfi_off_xqspi_div4_hclk | ( | void | ) |
__STATIC_INLINE void ll_cgc_enable_wfi_off_xqspi_hclk | ( | void | ) |
Enable XQSPI automatic turn off clock during WFI.
Register | BitsName ----------|-------- CG_CTRL_2 | XF_XQSPI_HCLK
None |
Definition at line 1170 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_get_force_off_hclk_0 | ( | void | ) |
Return to clock blocks that was forcibly closed.(Include: Security/SIM/HTB/ ROM/SNSADC/GPIO/DMA/BLE_BRG/APB_SUB/SERIAL/I2S)
Register | BitsName ----------|-------- CG_CTRL_1 | SECU_HCLK CG_CTRL_1 | SIM_HCLK CG_CTRL_1 | HTB_HCLK CG_CTRL_1 | ROM_HCLK CG_CTRL_1 | SNSADC_HCLK CG_CTRL_1 | GPIO_HCLK CG_CTRL_1 | DMA_HCLK CG_CTRL_1 | BLE_BRG_HCLK CG_CTRL_1 | APB_SUB_HCLK CG_CTRL_1 | SERIAL_HCLK
Returned | value can be a combination of the following values: |
__STATIC_INLINE uint32_t ll_cgc_get_force_off_hclk_1 | ( | void | ) |
Return to clock blocks that was forcibly closed.(Include: AON_MCUSUB/XF_XQSPI/SRAM)
Register | BitsName ----------|-------- CG_CTRL_2 | AON_MCUSUB_HCLK CG_CTRL_2 | XF_XQSPI_HCLK CG_CTRL_2 | SRAM_HCLK
Returned | value can be a combination of the following values: |
Definition at line 556 of file ll_cgc.h.
References LL_CGC_FRC_ALL_HCLK1.
__STATIC_INLINE uint32_t ll_cgc_get_force_off_hclk_2 | ( | void | ) |
Return to clock blocks that was forcibly closed.(Include: UART0_HCLK/UART1_HCLK/UART2_HCLK/UART3_HCLK/UART4_HCLK/UART5_HCLK/ I2C0_HCLK/I2C1_HCLK/SPIM_HCLK/SPIS_HCLK/QSPI0_HCLK/QSPI1_HCLK/I2S_HCLK/SECU_DIV4_PCLK/XQSPI_DIV4_PCLK/PWM0/PWM1)
Register | BitsName ----------|-------- PERIPH_GC | UART0_HCLK PERIPH_GC | UART1_HCLK PERIPH_GC | I2C0_HCLK PERIPH_GC | I2C1_HCLK PERIPH_GC | SPIM_HCLK PERIPH_GC | SPIS_HCLK PERIPH_GC | XQSPI_DIV4_PCLK PERIPH_GC | PWM0_HCLK PERIPH_GC | PWM1_HCLK
Returned | value can be a combination of the following values: |
Definition at line 622 of file ll_cgc.h.
References LL_CGC_FRC_ALL_HCLK2.
__STATIC_INLINE uint32_t ll_cgc_get_force_off_hclk_3 | ( | void | ) |
Return to clock blocks that is turned off.(Include: AES/HMAC/PKC/RNG.etc)
Register | BitsName ----------|-------- PERIPH_GC | AES/HMAC/PKC/RNG/EFUSE
Returned | value can be a combination of the following values: |
Definition at line 657 of file ll_cgc.h.
References LL_CGC_MCU_SECU_FRC_OFF_HCLK.
__STATIC_INLINE uint32_t ll_cgc_get_force_off_secu | ( | void | ) |
Return to clock blocks that was forcibly closed inside security system.(Include: AES/HMAC/PKC/PRESENT/RAMKAY/RNG/EFUSE)
Register | BitsName ----------|-------- SECU_CLK_CTRL | AES_HCLK_FRC_OFF SECU_CLK_CTRL | HMAC_HCLK_FRC_OFF SECU_CLK_CTRL | PKC_HCLK_FRC_OFF SECU_CLK_CTRL | PRESENT_HCLK_FRC_OFF SECU_CLK_CTRL | RAMKEY_HCLK_FRC_OFF SECU_CLK_CTRL | RNG_HCLK_FRC_OFF SECU_CLK_CTRL | EFUSE_HCLK_FRC_OFF
Returned | value can be a combination of the following values: |
Definition at line 4291 of file ll_cgc.h.
References LL_CGC_MCU_SECU_FRC_OFF_HCLK.
__STATIC_INLINE uint32_t ll_cgc_get_mcu_periph_low_power | ( | void | ) |
Return to clock blocks that has low power feature. (Include: UART/I2S/SPIM/SPIS/I2C/AHB BUS)
Register | BitsName ---------|-------- CG_LP_EN | UART_LP_SCLK CG_LP_EN | UART_LP_PCLK CG_LP_EN | I2S_LP CG_LP_EN | SPIM_LP_SCLK CG_LP_EN | SPIS_LP_SCLK CG_LP_EN | I2C_LP_SCLK CG_LP_EN | AHB_BUS_LP
__STATIC_INLINE uint32_t ll_cgc_get_misc_clk | ( | void | ) |
Return to MISC_CLK clock blocks that is turned off.(Include: GPADC/XQSPI/DMA0)
Register | BitsName ----------|-------- MCU_MISC_CLK | GPADC/XQSPI/DMA0
Definition at line 4929 of file ll_cgc.h.
References LL_CGC_MCU_MISC_CLK.
__STATIC_INLINE uint32_t ll_cgc_get_slp_off_secu | ( | void | ) |
Return to security clock blocks that is turned off during WFI/WFE.(Include: AES/HMAC/PKC/PRESENT/RAMKAY/RNG/EFUSE)
Register | BitsName ----------|-------- SECU_CLK_CTRL | AES_HCLK_SLP_OFF SECU_CLK_CTRL | HMAC_HCLK_SLP_OFF SECU_CLK_CTRL | PKC_HCLK_SLP_OFF SECU_CLK_CTRL | PRESENT_HCLK_SLP_OFF
Returned | value can be a combination of the following values: |
Definition at line 4334 of file ll_cgc.h.
References LL_CGC_MCU_SECU_FRC_OFF_WFI_HCLK.
__STATIC_INLINE uint32_t ll_cgc_get_wfi_off_hclk_0 | ( | void | ) |
Return to clock blocks that is turned off during WFI.(Include: Security/SIM/HTB/PWM/ ROM/SNSADC/GPIO/DMA/BLE_BRG/APB_SUB/SERIAL/I2S)
Register | BitsName ----------|-------- CG_CTRL_0 | SECU_HCLK CG_CTRL_0 | SIM_HCLK CG_CTRL_0 | HTB_HCLK CG_CTRL_0 | PWM_HCLK CG_CTRL_0 | ROM_HCLK CG_CTRL_0 | SNSADC_HCLK CG_CTRL_0 | GPIO_HCLK CG_CTRL_0 | DMA_HCLK CG_CTRL_0 | BLE_BRG_HCLK CG_CTRL_0 | APB_SUB_HCLK CG_CTRL_0 | SERIAL_HCLK
Returned | value can be a combination of the following values: |
__STATIC_INLINE uint32_t ll_cgc_get_wfi_off_hclk_1 | ( | void | ) |
Return to clock blocks that is turned off during WFI.(Include: AON_MCUSUB/XF_XQSPI/SRAM)
Register | BitsName ----------|-------- CG_CTRL_2 | AON_MCUSUB_HCLK CG_CTRL_2 | XF_XQSPI_HCLK CG_CTRL_2 | SRAM_HCLK
Returned | value can be a combination of the following values: |
Definition at line 352 of file ll_cgc.h.
References LL_CGC_WFI_ALL_HCLK1.
__STATIC_INLINE uint32_t ll_cgc_get_wfi_off_hclk_2 | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_get_wfi_off_hclk_3 | ( | void | ) |
Return to clock blocks that is turned off during WFI.(Include: UART/DSPI.I2C/QSPI.etc)
Register | BitsName ----------|-------- PERIPH_GC | UART0 - UART5/I2C0 - I2C5 PERIPH_GC | I2SM/I2SS/SPIM/SPIS/PWM0/PWM1//QSPIM0/QSPIM1/QSPIM2/DSPI/PDM
Returned | value can be a combination of the following values: |
Definition at line 421 of file ll_cgc.h.
References LL_CGC_MCU_PERIPH_SERIALS_SLP_ALL.
__STATIC_INLINE uint32_t ll_cgc_get_wfi_off_hclk_4 | ( | void | ) |
Return to clock blocks that is turned off during WFI.(Include: AES/HMAC/PKC/RNG.etc)
Register | BitsName ----------|-------- PERIPH_GC | AES/HMAC/PKC/RNG/EFUSE
Returned | value can be a combination of the following values: |
Definition at line 456 of file ll_cgc.h.
References LL_CGC_MCU_SECU_FRC_OFF_WFI_HCLK.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_ahb2apb_async_bus_low_power | ( | void | ) |
Indicate whether the ahb bus low-power is enabled.
Register | BitsName ---------|-------- CG_LP_EN | AHB_BUS_LP
State | of bit (1 or 0). |
Definition at line 3310 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_ahb2apb_sync_bus_low_power | ( | void | ) |
Indicate whether the AHB2APB bus low-power is enabled.
Register | BitsName ---------|-------- CG_LP_EN | AHB2APB_BUS_LP
State | of bit (1 or 0). |
Definition at line 3268 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_ahb_bus_low_power | ( | void | ) |
Indicate whether the ahb bus low-power is enabled.
Register | BitsName ---------|-------- CG_LP_EN | AHB_BUS_LP
State | of bit (1 or 0). |
Definition at line 3186 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_dspi_slp_wfi | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_aes_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_aon_mcusub_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_apb_sub_hclk | ( | void | ) |
Indicate whether the clock for APB Subsystem is forced to close.
Register | BitsName ----------|-------- CG_CTRL_1 | APB_SUB_HCLK
State | of bit (1 or 0). |
Definition at line 1615 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_ble_brg_hclk | ( | void | ) |
Indicate whether the clock for BLE Bridge is forced to close.
Register | BitsName ----------|-------- CG_CTRL_1 | BLE_BRG_HCLK
State | of bit (1 or 0). |
Definition at line 1573 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_dma0_hclk | ( | void | ) |
Indicate whether the DMA0 automatic turn off clock is enabled.
Register | BitsName ----------|-------- MCU_MISC_CLK | DMA0_OFF
State | of bit (1 or 0). |
Definition at line 5093 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_dspi_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_efuse_hclk | ( | void | ) |
Indicate whether the clock for EFUSE is forced to close.
Register | BitsName ----------|-------- SECU_CLK_CTRL | EFUSE_HCLK_FRC_OFF
State | of bit (1 or 0). |
Definition at line 4619 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_gpadc_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_gpio_hclk | ( | void | ) |
Indicate whether the clock for GPIO is forced to close.
Register | BitsName ----------|-------- CG_CTRL_1 | GPIO_HCLK
State | of bit (1 or 0). |
Definition at line 1531 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_hmac_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_htb_hclk | ( | void | ) |
Indicate whether the clock for Hopping Table is forced to close.
Register | BitsName ----------|-------- CG_CTRL_1 | HTB_HCLK
State | of bit (1 or 0). |
Definition at line 1405 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_i2c0_hclk | ( | void | ) |
Indicate whether the clock for I2C0 is forced to close.
Register | BitsName ----------|-------- PERIPH_GC | I2C0_HCLK
State | of bit (1 or 0). |
Definition at line 2067 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_i2c1_hclk | ( | void | ) |
Indicate whether the clock for I2C1 is forced to close.
Register | BitsName ----------|-------- PERIPH_GC | I2C1_HCLK
State | of bit (1 or 0). |
Definition at line 2109 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_i2c2_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_i2c3_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_i2c4_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_i2c5_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_i2s_m_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_i2s_s_p_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_pdm_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_pkc_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_present_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_pwm0_hclk | ( | void | ) |
Indicate whether the clock for PWM0 is forced to close.
Register | BitsName ----------|-------- PERIPH_GC | PWM0_PCLK
State | of bit (1 or 0). |
Definition at line 2755 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_pwm1_hclk | ( | void | ) |
Indicate whether the clock for PWM1 is forced to close.
Register | BitsName ----------|-------- PERIPH_GC | PWM1_PCLK
State | of bit (1 or 0). |
Definition at line 2797 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_qspi0_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_qspi1_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_qspi2_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_ramkey_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_rng_hclk | ( | void | ) |
Indicate whether the clock for RNG is forced to close.
Register | BitsName ----------|-------- SECU_CLK_CTRL | RNG_HCLK_FRC_OFF
State | of bit (1 or 0). |
Definition at line 4577 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_rom_hclk | ( | void | ) |
Indicate whether the clock for ROM is forced to close.
Register | BitsName ----------|-------- CG_CTRL_1 | ROM_HCLK
State | of bit (1 or 0). |
Definition at line 1447 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_secu_div4_pclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_secu_hclk | ( | void | ) |
Indicate whether the clock for security blocks(including AES, PKC, Present, HMAC) is forced to close.
Register | BitsName ----------|-------- CG_CTRL_1 | SECU_HCLK
State | of bit (1 or 0). |
Definition at line 1363 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_serial_hclk | ( | void | ) |
Indicate whether the clock for serial blocks(including I2C, UART, QSPI, I2S, SPI) is forced to close.
Register | BitsName ----------|-------- CG_CTRL_1 | SERIAL_HCLK
State | of bit (1 or 0). |
Definition at line 1657 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_snsadc_hclk | ( | void | ) |
Indicate whether the clock for SNSADC is forced to close.
Register | BitsName ----------|-------- CG_CTRL_1 | SNSADC_HCLK
State | of bit (1 or 0). |
Definition at line 1489 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_spim_hclk | ( | void | ) |
Indicate whether the clock for SPIM is forced to close.
Register | BitsName ----------|-------- PERIPH_GC | SPIM_HCLK
State | of bit (1 or 0). |
Definition at line 2311 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_spis_hclk | ( | void | ) |
Indicate whether the clock for SPIS is forced to close.
Register | BitsName ----------|-------- PERIPH_GC | SPIS_HCLK
State | of bit (1 or 0). |
Definition at line 2353 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_sram_hclk | ( | void | ) |
Indicate whether the clock for SRAM is forced to close.
Register | BitsName ----------|-------- CG_CTRL_2 | SRAM_HCLK
State | of bit (1 or 0). |
Definition at line 1781 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_uart0_hclk | ( | void | ) |
Indicate whether the clock for UART0 is forced to close.
Register | BitsName ----------|-------- PERIPH_GC | UART0_HCLK
State | of bit (1 or 0). |
Definition at line 1823 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_uart1_hclk | ( | void | ) |
Indicate whether the clock for UART1 is forced to close.
Register | BitsName ----------|-------- PERIPH_GC | UART1_HCLK
State | of bit (1 or 0). |
Definition at line 1865 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_uart2_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_uart3_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_uart4_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_uart5_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_vttbl_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_xf_xqspi_div4_pclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_xqspi_hclk | ( | void | ) |
Indicate whether the clock for XQSPI is forced to close.
Register | BitsName ----------|-------- CG_CTRL_2 | XF_XQSPI_HCLK
State | of bit (1 or 0). |
Definition at line 1739 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_xqspi_sck | ( | void | ) |
Indicate whether the XQSPI SCK CLK automatic turn off clock is enabled.
Register | BitsName ----------|-------- MCU_MISC_CLK | XQSPI SCK CLK_OFF
State | of bit (1 or 0). |
Definition at line 5051 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_i2c0_slp_wfi | ( | void | ) |
Indicate whether turn I2C0 off during WFI/WFE is enabled.
Register | BitsName ---------|-------- CLK_SLP_OFF | I2C0_SLP
State | of bit (1 or 0). |
Definition at line 3596 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_i2c1_slp_wfi | ( | void | ) |
Indicate whether turn I2C1 off during WFI/WFE is enabled.
Register | BitsName ---------|-------- CLK_SLP_OFF | I2C1_SLP
State | of bit (1 or 0). |
Definition at line 3638 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_i2c2_slp_wfi | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_i2c3_slp_wfi | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_i2c4_slp_wfi | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_i2c5_slp_wfi | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_i2c_sclk_low_power | ( | void | ) |
Indicate whether the i2c sclk low-power is enabled.
Register | BitsName ---------|-------- CG_LP_EN | I2C_LP_SCLK
State | of bit (1 or 0). |
Definition at line 3144 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_i2s_low_power | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_i2s_m_slp_wfi | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_i2s_s_slp_wfi | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_pdm_slp_wfi | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_pwm0_slp_wfi | ( | void | ) |
Indicate whether turn pwm0 off during WFI/WFE is enabled.
Register | BitsName ---------|-------- CLK_SLP_OFF | PWM0_SLP
State | of bit (1 or 0). |
Definition at line 4004 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_pwm1_slp_wfi | ( | void | ) |
Indicate whether turn pwm1 off during WFI/WFE is enabled.
Register | BitsName ---------|-------- CLK_SLP_OFF | PWM1_SLP
State | of bit (1 or 0). |
Definition at line 4046 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_qspim0_slp_wfi | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_qspim1_slp_wfi | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_qspim2_slp_wfi | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_qspim_low_power | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_spi_m_slp_wfi | ( | void | ) |
Indicate whether turn SPI_M off during WFI/WFE is enabled.
Register | BitsName ---------|-------- CLK_SLP_OFF | SPIM_SLP
State | of bit (1 or 0). |
Definition at line 3920 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_spi_s_slp_wfi | ( | void | ) |
Indicate whether turn SPI_S off during WFI/WFE is enabled.
Register | BitsName ---------|-------- CLK_SLP_OFF | SPIS_SLP
State | of bit (1 or 0). |
Definition at line 3962 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_spim_sclk_low_power | ( | void | ) |
Indicate whether the spim sclk low-power is enabled.
Register | BitsName ---------|-------- CG_LP_EN | SPIM_LP_SCLK
State | of bit (1 or 0). |
Definition at line 3060 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_spis_sclk_low_power | ( | void | ) |
Indicate whether the spis sclk low-power is enabled.
Register | BitsName ---------|-------- CG_LP_EN | SPIS_LP_SCLK
State | of bit (1 or 0). |
Definition at line 3102 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_uart0_slp_wfi | ( | void | ) |
Indicate whether turn UART0 off during WFI/WFE is enabled.
Register | BitsName ---------|-------- CLK_SLP_OFF | UART0_SLP
State | of bit (1 or 0). |
Definition at line 3352 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_uart1_slp_wfi | ( | void | ) |
Indicate whether turn UART1 off during WFI/WFE is enabled.
Register | BitsName ---------|-------- CLK_SLP_OFF | UART1_SLP
State | of bit (1 or 0). |
Definition at line 3394 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_uart2_slp_wfi | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_uart3_slp_wfi | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_uart4_slp_wfi | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_uart5_slp_wfi | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_uart_pclk_low_power | ( | void | ) |
Indicate whether the uart pclk low-power is enabled.
Register | BitsName ---------|-------- CG_LP_EN | UART_LP_PCLK
State | of bit (1 or 0). |
Definition at line 2978 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_uart_sclk_low_power | ( | void | ) |
Indicate whether the uart sclk low-power is enabled.
Register | BitsName ---------|-------- CG_LP_EN | UART_LP_SCLK
State | of bit (1 or 0). |
Definition at line 2936 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_aes_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_aon_mcusub_hclk | ( | void | ) |
Indicate whether the AON_MUCSUB automatic turn off clock is enabled.
Register | BitsName ----------|-------- CG_CTRL_2 | AON_MCUSUB_HCLK
State | of bit (1 or 0). |
Definition at line 1156 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_apb_sub_hclk | ( | void | ) |
Indicate whether the APB Subsystem automatic turn off clock is enabled.
Register | BitsName ----------|-------- CG_CTRL_0 | APB_SUB_HCLK
State | of bit (1 or 0). |
Definition at line 1071 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_ble_brg_hclk | ( | void | ) |
Indicate whether the BLE Bridge automatic turn off clock is enabled.
Register | BitsName ----------|-------- CG_CTRL_0 | BLE_BRG_HCLK
State | of bit (1 or 0). |
Definition at line 1029 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_dma_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_efuse_hclk | ( | void | ) |
Indicate whether the EFUSE automatic turn off clock is enabled.
Register | BitsName ----------|-------- SECU_CLK_CTRL | EFUSE_HCLK_SLP_OFF
State | of bit (1 or 0). |
Definition at line 4903 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_gpadc_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_gpio_hclk | ( | void | ) |
Indicate whether the GPIO automatic turn off clock is enabled.
Register | BitsName ----------|-------- CG_CTRL_0 | GPIO_HCLK
State | of bit (1 or 0). |
Definition at line 947 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_hmac_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_htb_hclk | ( | void | ) |
Indicate whether the Hopping Table automatic turn off clock is enabled.
Register | BitsName ----------|-------- CG_CTRL_0 | HTB_HCLK
State | of bit (1 or 0). |
Definition at line 781 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_pkc_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_present_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_pwm_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_ramkey_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_rng_hclk | ( | void | ) |
Indicate whether the RNG automatic turn off clock is enabled.
Register | BitsName ----------|-------- SECU_CLK_CTRL | RNG_HCLK_SLP_OFF
State | of bit (1 or 0). |
Definition at line 4861 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_rom_hclk | ( | void | ) |
Indicate whether the ROM automatic turn off clock is enabled.
Register | BitsName ----------|-------- CG_CTRL_0 | ROM_HCLK
State | of bit (1 or 0). |
Definition at line 863 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_secu_div4_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_secu_hclk | ( | void | ) |
Indicate whether the security blocks(including AES, PKC, Present, HMAC) automatic turn off clock is enabled.
Register | BitsName ----------|-------- CG_CTRL_0 | SECU_HCLK
State | of bit (1 or 0). |
Definition at line 699 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_serial_hclk | ( | void | ) |
Indicate whether the serial blocks(including I2C, UART, QSPI, I2S, SPI) automatic turn off clock is enabled.
Register | BitsName ----------|-------- CG_CTRL_0 | SERIAL_HCLK
State | of bit (1 or 0). |
Definition at line 1114 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_sim_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_snsadc_hclk | ( | void | ) |
Indicate whether the SNSADC automatic turn off clock is enabled.
Register | BitsName ----------|-------- CG_CTRL_0 | SNSADC_HCLK
State | of bit (1 or 0). |
Definition at line 905 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_sram_hclk | ( | void | ) |
Indicate whether the SRAM automatic turn off clock is enabled.
Register | BitsName ----------|-------- CG_CTRL_2 | SRAM_HCLK
State | of bit (1 or 0). |
Definition at line 1240 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_xqspi_div4_hclk | ( | void | ) |
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_xqspi_hclk | ( | void | ) |
Indicate whether the XQSPI automatic turn off clock is enabled.
Register | BitsName ----------|-------- CG_CTRL_2 | XF_XQSPI_HCLK
State | of bit (1 or 0). |
Definition at line 1198 of file ll_cgc.h.
References BIT_SEGMENT_VALUE, and CGC_CLOCK_ENABLE.
__STATIC_INLINE void ll_cgc_set_force_off_hclk_0 | ( | uint32_t | clk_mask | ) |
Some peripherals force turn off clock. (Include: Security/SIM/HTB/PWM/ROM/SNSADC/GPIO/ DMA/BLE_BRG/APB_SUB/SERIAL/I2S)
Register | BitsName ----------|-------- CG_CTRL_1 | SECU_HCLK CG_CTRL_1 | SIM_HCLK CG_CTRL_1 | HTB_HCLK CG_CTRL_1 | ROM_HCLK CG_CTRL_1 | SNSADC_HCLK CG_CTRL_1 | GPIO_HCLK CG_CTRL_1 | DMA_HCLK CG_CTRL_1 | BLE_BRG_HCLK CG_CTRL_1 | APB_SUB_HCLK CG_CTRL_1 | SERIAL_HCLK
clk_mask | This parameter can be a combination of the following values: |
None |
Definition at line 487 of file ll_cgc.h.
References LL_CGC_FRC_ALL_HCLK0.
__STATIC_INLINE void ll_cgc_set_force_off_hclk_1 | ( | uint32_t | clk_mask | ) |
Some peripherals force turn off clock. (Include: AON_MCUSUB/XF_XQSPI/SRAM)
Register | BitsName ----------|-------- CG_CTRL_2 | AON_MCUSUB_HCLK CG_CTRL_2 | XF_XQSPI_HCLK CG_CTRL_2 | SRAM_HCLK
clk_mask | This parameter can be a combination of the following values: |
None |
Definition at line 538 of file ll_cgc.h.
References LL_CGC_FRC_ALL_HCLK1.
__STATIC_INLINE void ll_cgc_set_force_off_hclk_2 | ( | uint32_t | clk_mask | ) |
Some peripherals force turn off clock. (Include: UART0_HCLK/UART1_HCLK/UART2_HCLK/UART3_HCLK/UART4_HCLK/UART5_HCLK/ I2C0_HCLK/I2C1_HCLK/SPIM_HCLK/SPIS_HCLK/QSPI0_HCLK/QSPI1_HCLK/I2S_HCLK/SECU_DIV4_PCLK/XQSPI_DIV4_PCLK/PWM0/PWM1)
Register | BitsName ----------|-------- PERIPH_GC | UART0_HCLK PERIPH_GC | UART1_HCLK PERIPH_GC | I2C0_HCLK PERIPH_GC | I2C1_HCLK PERIPH_GC | SPIM_HCLK PERIPH_GC | SPIS_HCLK PERIPH_GC | XQSPI_DIV4_PCLK PERIPH_GC | PWM0_HCLK PERIPH_GC | PWM1_HCLK
clk_mask | This parameter can be a combination of the following values: |
None |
Definition at line 589 of file ll_cgc.h.
References LL_CGC_FRC_ALL_HCLK2.
__STATIC_INLINE void ll_cgc_set_force_off_hclk_3 | ( | uint32_t | clk_mask | ) |
Some peripherals automatic turn off clock. (Include: AES/HMAC/PKC/RNG.etc)
Register | BitsName ----------|-------- PERIPH_GC | AES/HMAC/PKC/RNG/EFUSE
clk_mask | This parameter can be a combination of the following values: |
None |
Definition at line 640 of file ll_cgc.h.
References LL_CGC_MCU_SECU_FRC_OFF_HCLK.
__STATIC_INLINE void ll_cgc_set_force_off_hclk_secu | ( | uint32_t | clk_mask | ) |
Individual block's clock control inside security system which was forced to turn off (Include: AES/HMAC/PKC/PRESENT/RAMKAY/RNG/EFUSE)
Register | BitsName ----------|-------- SECU_CLK_CTRL | AES_HCLK_FRC_OFF SECU_CLK_CTRL | HMAC_HCLK_FRC_OFF SECU_CLK_CTRL | PKC_HCLK_FRC_OFF SECU_CLK_CTRL | PRESENT_HCLK_FRC_OFF SECU_CLK_CTRL | RAMKEY_HCLK_FRC_OFF SECU_CLK_CTRL | RNG_HCLK_FRC_OFF SECU_CLK_CTRL | EFUSE_HCLK_FRC_OFF
clk_mask | This parameter can be a combination of the following values: |
None |
Definition at line 4269 of file ll_cgc.h.
References LL_CGC_MCU_SECU_FRC_OFF_HCLK.
__STATIC_INLINE void ll_cgc_set_mcu_periph_low_power | ( | uint32_t | clk_mask | ) |
Some peripherals has low power feature. (Include: UART/I2S/SPIM/SPIS/I2C/AHB BUS)
Register | BitsName ---------|-------- CG_LP_EN | UART_LP_SCLK CG_LP_EN | UART_LP_PCLK CG_LP_EN | I2S_LP CG_LP_EN | SPIM_LP_SCLK CG_LP_EN | SPIS_LP_SCLK CG_LP_EN | I2C_LP_SCLK CG_LP_EN | AHB_BUS_LP
None |
__STATIC_INLINE void ll_cgc_set_misc_clk | ( | uint32_t | clk_mask | ) |
Some MISC_CLK blocks turn off clock. (Include: GPADC/XQSPI/DMA0)
Register | BitsName ----------|-------- MCU_MISC_CLK | GPADC/XQSPI/DMA0
None |
Definition at line 4917 of file ll_cgc.h.
References LL_CGC_MCU_MISC_CLK.
__STATIC_INLINE void ll_cgc_set_slp_off_hclk_secu | ( | uint32_t | clk_mask | ) |
Some security blocks automatic turn off clock during WFI/WFE. (Include: AES/HMAC/PKC/PRESENT/RAMKAY/RNG/EFUSE)
Register | BitsName ----------|-------- SECU_CLK_CTRL | AES_HCLK_SLP_OFF SECU_CLK_CTRL | HMAC_HCLK_SLP_OFF SECU_CLK_CTRL | PKC_HCLK_SLP_OFF SECU_CLK_CTRL | PRESENT_HCLK_SLP_OFF
clk_mask | This parameter can be a combination of the following values: |
None |
Definition at line 4313 of file ll_cgc.h.
References LL_CGC_MCU_SECU_FRC_OFF_WFI_HCLK.
__STATIC_INLINE void ll_cgc_set_wfi_off_hclk_0 | ( | uint32_t | clk_mask | ) |
Some peripherals automatic turn off clock during WFI. (Include: Security/SIM/HTB/PWM/ ROM/SNSADC/GPIO/DMA/BLE_BRG/APB_SUB/SERIAL/I2S)
Register | BitsName ----------|-------- CG_CTRL_0 | SECU_HCLK CG_CTRL_0 | SIM_HCLK CG_CTRL_0 | HTB_HCLK CG_CTRL_0 | PWM_HCLK CG_CTRL_0 | ROM_HCLK CG_CTRL_0 | SNSADC_HCLK CG_CTRL_0 | GPIO_HCLK CG_CTRL_0 | DMA_HCLK CG_CTRL_0 | BLE_BRG_HCLK CG_CTRL_0 | APB_SUB_HCLK CG_CTRL_0 | SERIAL_HCLK
clk_mask | This parameter can be a combination of the following values: |
None |
Definition at line 280 of file ll_cgc.h.
References LL_CGC_WFI_ALL_HCLK0.
__STATIC_INLINE void ll_cgc_set_wfi_off_hclk_1 | ( | uint32_t | clk_mask | ) |
Some peripherals automatic turn off clock during WFI. (Include: AON_MCUSUB/XF_XQSPI/SRAM)
Register | BitsName ----------|-------- CG_CTRL_2 | AON_MCUSUB_HCLK CG_CTRL_2 | XF_XQSPI_HCLK CG_CTRL_2 | SRAM_HCLK
clk_mask | This parameter can be a combination of the following values: |
None |
Definition at line 333 of file ll_cgc.h.
References LL_CGC_WFI_ALL_HCLK1.
__STATIC_INLINE void ll_cgc_set_wfi_off_hclk_2 | ( | uint32_t | clk_mask | ) |
Some peripherals automatic turn off clock during WFI. (Include: SECU_DIV4/XQSPI_DIV4)
Register | BitsName ----------|-------- PERIPH_GC | SECU_DIV4_PCLK PERIPH_GC | XQSPI_DIV4_PCLK
clk_mask | This parameter can be a combination of the following values: |
None |
__STATIC_INLINE void ll_cgc_set_wfi_off_hclk_3 | ( | uint32_t | clk_mask | ) |
Some peripherals automatic turn off clock during WFI. (Include: UART/DSPI.I2C/QSPI.etc)
Register | BitsName ----------|-------- PERIPH_GC | UART0 - UART5/I2C0 - I2C5 PERIPH_GC | I2SM/I2SS/SPIM/SPIS/PWM0/PWM1//QSPIM0/QSPIM1/QSPIM2/DSPI/PDM
clk_mask | This parameter can be a combination of the following values: |
None |
Definition at line 402 of file ll_cgc.h.
References LL_CGC_MCU_PERIPH_SERIALS_SLP_ALL.
__STATIC_INLINE void ll_cgc_set_wfi_off_hclk_4 | ( | uint32_t | clk_mask | ) |
Some peripherals automatic turn off clock during WFI. (Include: AES/HMAC/PKC/RNG.etc)
Register | BitsName ----------|-------- PERIPH_GC | AES/HMAC/PKC/RNG/EFUSE
clk_mask | This parameter can be a combination of the following values: |
None |
Definition at line 439 of file ll_cgc.h.
References LL_CGC_MCU_SECU_FRC_OFF_WFI_HCLK.