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_ADC16_INJ_StartConversion (ADC16_TypeDef *ADCx)
 Start ADC group injected conversion.
__STATIC_INLINE void DDL_ADC16_INJ_StopConversion (ADC16_TypeDef *ADCx)
 Stop ADC group injected conversion.
__STATIC_INLINE uint32_t DDL_ADC16_INJ_IsConversionOngoing (ADC16_TypeDef *ADCx)
 Get ADC group injected conversion state.
__STATIC_INLINE uint32_t DDL_ADC16_INJ_IsStopConversionOngoing (ADC16_TypeDef *ADCx)
 Get ADC group injected command of conversion stop state.
__STATIC_INLINE uint32_t DDL_ADC16_INJ_ReadConversionData32 (ADC16_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_ADC16_INJ_IsConversionOngoing()

__STATIC_INLINE uint32_t DDL_ADC16_INJ_IsConversionOngoing ( ADC16_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 3150 of file g32r4xx_ddl_adc16.h.

◆ DDL_ADC16_INJ_IsStopConversionOngoing()

__STATIC_INLINE uint32_t DDL_ADC16_INJ_IsStopConversionOngoing ( ADC16_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 3160 of file g32r4xx_ddl_adc16.h.

◆ DDL_ADC16_INJ_ReadConversionData32()

__STATIC_INLINE uint32_t DDL_ADC16_INJ_ReadConversionData32 ( ADC16_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 3178 of file g32r4xx_ddl_adc16.h.

◆ DDL_ADC16_INJ_StartConversion()

__STATIC_INLINE void DDL_ADC16_INJ_StartConversion ( ADC16_TypeDef * ADCx)

Start ADC group injected conversion.

Parameters
ADCxADC instance
Return values
None

Definition at line 3120 of file g32r4xx_ddl_adc16.h.

◆ DDL_ADC16_INJ_StopConversion()

__STATIC_INLINE void DDL_ADC16_INJ_StopConversion ( ADC16_TypeDef * ADCx)

Stop ADC group injected conversion.

Parameters
ADCxADC instance
Return values
None

Definition at line 3135 of file g32r4xx_ddl_adc16.h.