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

Functions

__STATIC_INLINE void DDL_ADC12_INJ_StartConversion (ADC12_TypeDef *ADCx)
 Start ADC group injected conversion.
__STATIC_INLINE void DDL_ADC12_INJ_StopConversion (ADC12_TypeDef *ADCx)
 Stop ADC group injected conversion.
__STATIC_INLINE uint32_t DDL_ADC12_INJ_IsConversionOngoing (ADC12_TypeDef *ADCx)
 Get ADC group injected conversion state.
__STATIC_INLINE uint32_t DDL_ADC12_INJ_IsStopConversionOngoing (ADC12_TypeDef *ADCx)
 Get ADC group injected command of conversion stop state.
__STATIC_INLINE uint32_t DDL_ADC12_INJ_ReadConversionData32 (ADC12_TypeDef *ADCx, uint32_t Rank)
 Get ADC group injected conversion data, range fit for all ADC configurations: all ADC resolutions and all oversampling increased data width (for devices with feature oversampling).

Detailed Description

Function Documentation

◆ DDL_ADC12_INJ_IsConversionOngoing()

__STATIC_INLINE uint32_t DDL_ADC12_INJ_IsConversionOngoing ( ADC12_TypeDef * ADCx)

Get ADC group injected conversion state.

Parameters
ADCxADC instance
Return values
0no conversion is on going on ADC group injected.

Definition at line 2426 of file g32r4xx_ddl_adc12.h.

◆ DDL_ADC12_INJ_IsStopConversionOngoing()

__STATIC_INLINE uint32_t DDL_ADC12_INJ_IsStopConversionOngoing ( ADC12_TypeDef * ADCx)

Get ADC group injected command of conversion stop state.

Parameters
ADCxADC instance
Return values
0no command of conversion stop is on going on ADC group injected.

Definition at line 2436 of file g32r4xx_ddl_adc12.h.

◆ DDL_ADC12_INJ_ReadConversionData32()

__STATIC_INLINE uint32_t DDL_ADC12_INJ_ReadConversionData32 ( ADC12_TypeDef * ADCx,
uint32_t Rank )

Get ADC group injected conversion data, range fit for all ADC configurations: all ADC resolutions and all oversampling increased data width (for devices with feature oversampling).

Parameters
ADCxADC instance
RankThis parameter can be one of the following values:
Return values
Valuebetween Min_Data=0x0000 and Max_Data=0xFFFF

Definition at line 2454 of file g32r4xx_ddl_adc12.h.

◆ DDL_ADC12_INJ_StartConversion()

__STATIC_INLINE void DDL_ADC12_INJ_StartConversion ( ADC12_TypeDef * ADCx)

Start ADC group injected conversion.

Parameters
ADCxADC instance
Return values
None

Definition at line 2396 of file g32r4xx_ddl_adc12.h.

◆ DDL_ADC12_INJ_StopConversion()

__STATIC_INLINE void DDL_ADC12_INJ_StopConversion ( ADC12_TypeDef * ADCx)

Stop ADC group injected conversion.

Parameters
ADCxADC instance
Return values
None

Definition at line 2411 of file g32r4xx_ddl_adc12.h.