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_ADC12_Enable (ADC12_TypeDef *ADCx)
 Enable the selected ADC instance.
__STATIC_INLINE void DDL_ADC12_Disable (ADC12_TypeDef *ADCx)
 Disable the selected ADC instance.
__STATIC_INLINE uint32_t DDL_ADC12_IsEnabled (ADC12_TypeDef *ADCx)
 Get the selected ADC instance enable state.
__STATIC_INLINE void DDL_ADC12_SetDataAlignment (ADC12_TypeDef *ADCx, uint32_t Alignment)
 Set ADC data alignment.
__STATIC_INLINE uint32_t DDL_ADC12_GetDataAlignment (ADC12_TypeDef *ADCx)
 Get ADC data alignment.

Detailed Description

Function Documentation

◆ DDL_ADC12_Disable()

__STATIC_INLINE void DDL_ADC12_Disable ( ADC12_TypeDef * ADCx)

Disable the selected ADC instance.

Parameters
ADCxADC instance
Return values
None

Definition at line 2266 of file g32r4xx_ddl_adc12.h.

◆ DDL_ADC12_Enable()

__STATIC_INLINE void DDL_ADC12_Enable ( ADC12_TypeDef * ADCx)

Enable the selected ADC instance.

Parameters
ADCxADC instance
Return values
None

Definition at line 2251 of file g32r4xx_ddl_adc12.h.

◆ DDL_ADC12_GetDataAlignment()

__STATIC_INLINE uint32_t DDL_ADC12_GetDataAlignment ( ADC12_TypeDef * ADCx)

Get ADC data alignment.

Parameters
ADCxADC instance
Return values
alignmentAlignment.

Definition at line 2308 of file g32r4xx_ddl_adc12.h.

◆ DDL_ADC12_IsEnabled()

__STATIC_INLINE uint32_t DDL_ADC12_IsEnabled ( ADC12_TypeDef * ADCx)

Get the selected ADC instance enable state.

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

Definition at line 2281 of file g32r4xx_ddl_adc12.h.

◆ DDL_ADC12_SetDataAlignment()

__STATIC_INLINE void DDL_ADC12_SetDataAlignment ( ADC12_TypeDef * ADCx,
uint32_t Alignment )

Set ADC data alignment.

Parameters
ADCxADC instance
AlignmentThis parameter can be one of the following values:
Return values
None

Definition at line 2294 of file g32r4xx_ddl_adc12.h.