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

Functions

__STATIC_INLINE void DDL_RCM_EnableLSELeakageDetect (void)
 Enable LSE leakage detection.
__STATIC_INLINE void DDL_RCM_DisableLSELeakageDetect (void)
 Disable LSE leakage detection.
__STATIC_INLINE uint32_t DDL_RCM_IsEnabledLSELeakageDetect (void)
 Check whether LSE leakage detection is enabled.
__STATIC_INLINE void DDL_RCM_SetLSEDrive (uint32_t Drive)
 Set LSE drive capacity.
__STATIC_INLINE uint32_t DDL_RCM_GetLSEDrive (void)
 Get LSE drive capacity.
__STATIC_INLINE uint32_t DDL_RCM_IsActiveFlag_LSELeakageDetect (void)
 Get LSE leakage detection status.
__STATIC_INLINE void DDL_RCM_RequestLSEAutoTrim (void)
 Request LSE leakage compensation automatic calibration.
__STATIC_INLINE void DDL_RCM_SetLSELeakageTrim (uint32_t Trim)
 Set XIN port leakage compensation trim value.
__STATIC_INLINE uint32_t DDL_RCM_GetLSELeakageTrim (void)
 Get XIN port leakage compensation trim value.

Detailed Description

Function Documentation

◆ DDL_RCM_DisableLSELeakageDetect()

__STATIC_INLINE void DDL_RCM_DisableLSELeakageDetect ( void )

Disable LSE leakage detection.

Return values
None

Definition at line 548 of file g32r4xx_ddl_rcm.h.

◆ DDL_RCM_EnableLSELeakageDetect()

__STATIC_INLINE void DDL_RCM_EnableLSELeakageDetect ( void )

Enable LSE leakage detection.

Return values
None

Definition at line 539 of file g32r4xx_ddl_rcm.h.

◆ DDL_RCM_GetLSEDrive()

__STATIC_INLINE uint32_t DDL_RCM_GetLSEDrive ( void )

Get LSE drive capacity.

Return values
Returnedvalue can be one of the following values:

Definition at line 580 of file g32r4xx_ddl_rcm.h.

◆ DDL_RCM_GetLSELeakageTrim()

__STATIC_INLINE uint32_t DDL_RCM_GetLSELeakageTrim ( void )

Get XIN port leakage compensation trim value.

Return values
Valuebetween Min_Data=0 and Max_Data=15

Definition at line 617 of file g32r4xx_ddl_rcm.h.

◆ DDL_RCM_IsActiveFlag_LSELeakageDetect()

__STATIC_INLINE uint32_t DDL_RCM_IsActiveFlag_LSELeakageDetect ( void )

Get LSE leakage detection status.

Return values
Stateof bit (1 or 0).

Definition at line 589 of file g32r4xx_ddl_rcm.h.

◆ DDL_RCM_IsEnabledLSELeakageDetect()

__STATIC_INLINE uint32_t DDL_RCM_IsEnabledLSELeakageDetect ( void )

Check whether LSE leakage detection is enabled.

Return values
Stateof bit (1 or 0).

Definition at line 557 of file g32r4xx_ddl_rcm.h.

◆ DDL_RCM_RequestLSEAutoTrim()

__STATIC_INLINE void DDL_RCM_RequestLSEAutoTrim ( void )

Request LSE leakage compensation automatic calibration.

Return values
None

Definition at line 598 of file g32r4xx_ddl_rcm.h.

◆ DDL_RCM_SetLSEDrive()

__STATIC_INLINE void DDL_RCM_SetLSEDrive ( uint32_t Drive)

Set LSE drive capacity.

Parameters
DriveThis parameter can be one of the following values:
Return values
None

Definition at line 569 of file g32r4xx_ddl_rcm.h.

◆ DDL_RCM_SetLSELeakageTrim()

__STATIC_INLINE void DDL_RCM_SetLSELeakageTrim ( uint32_t Trim)

Set XIN port leakage compensation trim value.

Parameters
TrimValue between Min_Data=0 and Max_Data=15
Return values
None

Definition at line 608 of file g32r4xx_ddl_rcm.h.