G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference

Functions

__STATIC_INLINE void DDL_RCM_LSI_Enable (void)
 Enable LSI oscillator.
__STATIC_INLINE void DDL_RCM_LSI_Disable (void)
 Disable LSI oscillator.
__STATIC_INLINE uint32_t DDL_RCM_LSI_IsReady (void)
 Check if LSI clock is ready.

Detailed Description

Function Documentation

◆ DDL_RCM_LSI_Disable()

__STATIC_INLINE void DDL_RCM_LSI_Disable ( void )

Disable LSI oscillator.

Note
Accesses PMU->CR in the backup domain. Call DDL_RCM_Unlock(), DDL_RCM_EnableAPBPeripheral(DDL_RCM_APB_PERIPHERAL_BKP) and DDL_RCM_DisableBackupWriteProtect() first; otherwise a BusFault may occur.
Return values
None

Definition at line 650 of file g32r4xx_ddl_rcm.h.

◆ DDL_RCM_LSI_Enable()

__STATIC_INLINE void DDL_RCM_LSI_Enable ( void )

Enable LSI oscillator.

Note
Accesses PMU->CR in the backup domain. Call DDL_RCM_Unlock(), DDL_RCM_EnableAPBPeripheral(DDL_RCM_APB_PERIPHERAL_BKP) and DDL_RCM_DisableBackupWriteProtect() first; otherwise a BusFault may occur.
Parameters
None
Return values
None

Definition at line 638 of file g32r4xx_ddl_rcm.h.

◆ DDL_RCM_LSI_IsReady()

__STATIC_INLINE uint32_t DDL_RCM_LSI_IsReady ( void )

Check if LSI clock is ready.

Note
Accesses PMU->CR in the backup domain. Call DDL_RCM_Unlock(), DDL_RCM_EnableAPBPeripheral(DDL_RCM_APB_PERIPHERAL_BKP) and DDL_RCM_DisableBackupWriteProtect() first; otherwise a BusFault may occur.
Return values
Stateof bit (1 or 0).

Definition at line 662 of file g32r4xx_ddl_rcm.h.