G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
Operation on ADC hierarchical scope: ADC instance

Functions

__STATIC_INLINE void DDL_ADC16_Enable (ADC16_TypeDef *ADCx)
 Enable the selected ADC instance.
__STATIC_INLINE void DDL_ADC16_Disable (ADC16_TypeDef *ADCx)
 Disable the selected ADC instance.
__STATIC_INLINE uint32_t DDL_ADC16_IsEnabled (ADC16_TypeDef *ADCx)
 Get the selected ADC instance enable state.
__STATIC_INLINE void DDL_ADC16_SetVerfInternal (ADC16_TypeDef *ADCx)
 Set VREF to be internally generated.
__STATIC_INLINE void DDL_ADC16_SetVerfExternal (ADC16_TypeDef *ADCx)
 Determine whether the current setting of VREF is internally generated or externally connected.
__STATIC_INLINE uint32_t DDL_ADC16_GetVerfStatus (ADC16_TypeDef *ADCx)
 Get VREF Status.

Detailed Description

Function Documentation

◆ DDL_ADC16_Disable()

__STATIC_INLINE void DDL_ADC16_Disable ( ADC16_TypeDef * ADCx)

Disable the selected ADC instance.

Parameters
ADCxADC instance
Return values
None

Definition at line 3017 of file g32r4xx_ddl_adc16.h.

◆ DDL_ADC16_Enable()

__STATIC_INLINE void DDL_ADC16_Enable ( ADC16_TypeDef * ADCx)

Enable the selected ADC instance.

Parameters
ADCxADC instance
Return values
None

Definition at line 3002 of file g32r4xx_ddl_adc16.h.

◆ DDL_ADC16_GetVerfStatus()

__STATIC_INLINE uint32_t DDL_ADC16_GetVerfStatus ( ADC16_TypeDef * ADCx)

Get VREF Status.

Parameters
ADCxADC instance
Return values
Status

Definition at line 3221 of file g32r4xx_ddl_adc16.h.

◆ DDL_ADC16_IsEnabled()

__STATIC_INLINE uint32_t DDL_ADC16_IsEnabled ( ADC16_TypeDef * ADCx)

Get the selected ADC instance enable state.

Parameters
ADCxADC instance
Return values
0ADC is disabled, 1: ADC is enabled.

Definition at line 3032 of file g32r4xx_ddl_adc16.h.

◆ DDL_ADC16_SetVerfExternal()

__STATIC_INLINE void DDL_ADC16_SetVerfExternal ( ADC16_TypeDef * ADCx)

Determine whether the current setting of VREF is internally generated or externally connected.

Parameters
ADCxADC instance
Return values
None

Definition at line 3209 of file g32r4xx_ddl_adc16.h.

◆ DDL_ADC16_SetVerfInternal()

__STATIC_INLINE void DDL_ADC16_SetVerfInternal ( ADC16_TypeDef * ADCx)

Set VREF to be internally generated.

Parameters
ADCxADC instance
Return values
None

Definition at line 3198 of file g32r4xx_ddl_adc16.h.