![]() |
G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
|
Functions | |
| __STATIC_INLINE void | DDL_ADC12_REG_SetTriggerSource (ADC12_TypeDef *ADCx, uint32_t TriggerSource) |
| Set ADC group regular conversion trigger source: internal (SW start) or from external peripheral (timer event, external interrupt line). | |
| __STATIC_INLINE uint32_t | DDL_ADC12_REG_GetTriggerSource (ADC12_TypeDef *ADCx) |
| Get ADC group regular conversion trigger source: internal (SW start) or from external peripheral (timer event, external interrupt line). | |
| __STATIC_INLINE uint32_t | DDL_ADC12_REG_IsTriggerSourceSWStart (ADC12_TypeDef *ADCx) |
| Get ADC group regular conversion trigger source internal (SW start) or external. | |
| __STATIC_INLINE void | DDL_ADC12_REG_SetTriggerEdge (ADC12_TypeDef *ADCx, uint32_t ExternalTriggerEdge) |
| Set ADC group regular conversion trigger polarity. | |
| __STATIC_INLINE uint32_t | DDL_ADC12_REG_GetTriggerEdge (ADC12_TypeDef *ADCx) |
| Get ADC group regular conversion trigger polarity. | |
| __STATIC_INLINE void | DDL_ADC12_REG_SetSequencerLength (ADC12_TypeDef *ADCx, uint32_t SequencerNbRanks) |
| Set ADC group regular sequencer length and scan direction. | |
| __STATIC_INLINE uint32_t | DDL_ADC12_REG_GetSequencerLength (ADC12_TypeDef *ADCx) |
| Get ADC group regular sequencer length and scan direction. | |
| __STATIC_INLINE void | DDL_ADC12_REG_SetSequencerDiscont (ADC12_TypeDef *ADCx, uint32_t SeqDiscont) |
| Set ADC group regular sequencer discontinuous mode: sequence subdivided and scan conversions interrupted every selected number of ranks. | |
| __STATIC_INLINE uint32_t | DDL_ADC12_REG_GetSequencerDiscont (ADC12_TypeDef *ADCx) |
| Get ADC group regular sequencer discontinuous mode: sequence subdivided and scan conversions interrupted every selected number of ranks. | |
| __STATIC_INLINE void | DDL_ADC12_REG_SetSequencerRanks (ADC12_TypeDef *ADCx, uint32_t Rank, uint32_t Channel) |
| Set ADC group regular sequence: channel on the selected scan sequence rank. | |
| __STATIC_INLINE uint32_t | DDL_ADC12_REG_GetSequencerRanks (ADC12_TypeDef *ADCx, uint32_t Rank) |
| Get ADC group regular sequence: channel on the selected scan sequence rank. Refer to description of function DDL_ADC12_REG_SetSequencerLength(). | |
| __STATIC_INLINE void | DDL_ADC12_REG_SetContinuousMode (ADC12_TypeDef *ADCx, uint32_t Continuous) |
| Set ADC continuous conversion mode on ADC group regular. | |
| __STATIC_INLINE uint32_t | DDL_ADC12_REG_GetContinuousMode (ADC12_TypeDef *ADCx) |
| Get ADC continuous conversion mode on ADC group regular. | |
| __STATIC_INLINE void | DDL_ADC12_REG_SetDMATransfer (ADC12_TypeDef *ADCx, uint32_t DMATransfer) |
| Set ADC group regular conversion data transfer: no transfer or transfer by DMA, and DMA requests mode. | |
| __STATIC_INLINE uint32_t | DDL_ADC12_REG_GetDMATransfer (ADC12_TypeDef *ADCx) |
| Get ADC group regular conversion data transfer: no transfer or transfer by DMA, and DMA requests mode. | |
| __STATIC_INLINE uint32_t DDL_ADC12_REG_GetContinuousMode | ( | ADC12_TypeDef * | ADCx | ) |
Get ADC continuous conversion mode on ADC group regular.
| ADCx | ADC instance |
| Returned | value can be one of the following values: |
Definition at line 1307 of file g32r4xx_ddl_adc12.h.
| __STATIC_INLINE uint32_t DDL_ADC12_REG_GetDMATransfer | ( | ADC12_TypeDef * | ADCx | ) |
Get ADC group regular conversion data transfer: no transfer or transfer by DMA, and DMA requests mode.
| ADCx | ADC instance |
| Returned | value can be one of the following values: |
Definition at line 1375 of file g32r4xx_ddl_adc12.h.
| __STATIC_INLINE uint32_t DDL_ADC12_REG_GetSequencerDiscont | ( | ADC12_TypeDef * | ADCx | ) |
Get ADC group regular sequencer discontinuous mode: sequence subdivided and scan conversions interrupted every selected number of ranks.
| ADCx | ADC instance |
| Returned | value can be one of the following values: |
Definition at line 1150 of file g32r4xx_ddl_adc12.h.
| __STATIC_INLINE uint32_t DDL_ADC12_REG_GetSequencerLength | ( | ADC12_TypeDef * | ADCx | ) |
Get ADC group regular sequencer length and scan direction.
| ADCx | ADC instance |
Definition at line 1103 of file g32r4xx_ddl_adc12.h.
| __STATIC_INLINE uint32_t DDL_ADC12_REG_GetSequencerRanks | ( | ADC12_TypeDef * | ADCx, |
| uint32_t | Rank ) |
Get ADC group regular sequence: channel on the selected scan sequence rank. Refer to description of function DDL_ADC12_REG_SetSequencerLength().
| ADCx | ADC instance |
| Rank | This parameter can be one of the following values:
|
Definition at line 1264 of file g32r4xx_ddl_adc12.h.
| __STATIC_INLINE uint32_t DDL_ADC12_REG_GetTriggerEdge | ( | ADC12_TypeDef * | ADCx | ) |
Get ADC group regular conversion trigger polarity.
| ADCx | ADC instance |
| Returned | value can be one of the following values: |
Definition at line 993 of file g32r4xx_ddl_adc12.h.
| __STATIC_INLINE uint32_t DDL_ADC12_REG_GetTriggerSource | ( | ADC12_TypeDef * | ADCx | ) |
Get ADC group regular conversion trigger source: internal (SW start) or from external peripheral (timer event, external interrupt line).
| ADCx | ADC instance |
| Returned | value can be one of the following values: |
Definition at line 951 of file g32r4xx_ddl_adc12.h.
| __STATIC_INLINE uint32_t DDL_ADC12_REG_IsTriggerSourceSWStart | ( | ADC12_TypeDef * | ADCx | ) |
Get ADC group regular conversion trigger source internal (SW start) or external.
| ADCx | ADC instance |
| Value | "0" if trigger source external trigger Value "1" if trigger source SW start. |
Definition at line 963 of file g32r4xx_ddl_adc12.h.
| __STATIC_INLINE void DDL_ADC12_REG_SetContinuousMode | ( | ADC12_TypeDef * | ADCx, |
| uint32_t | Continuous ) |
Set ADC continuous conversion mode on ADC group regular.
| ADCx | ADC instance |
| Continuous | This parameter can be one of the following values: |
| None |
Definition at line 1291 of file g32r4xx_ddl_adc12.h.
| __STATIC_INLINE void DDL_ADC12_REG_SetDMATransfer | ( | ADC12_TypeDef * | ADCx, |
| uint32_t | DMATransfer ) |
Set ADC group regular conversion data transfer: no transfer or transfer by DMA, and DMA requests mode.
| ADCx | ADC instance |
| DMATransfer | This parameter can be one of the following values: |
| None |
Definition at line 1343 of file g32r4xx_ddl_adc12.h.
| __STATIC_INLINE void DDL_ADC12_REG_SetSequencerDiscont | ( | ADC12_TypeDef * | ADCx, |
| uint32_t | SeqDiscont ) |
Set ADC group regular sequencer discontinuous mode: sequence subdivided and scan conversions interrupted every selected number of ranks.
| ADCx | ADC instance |
| SeqDiscont | This parameter can be one of the following values: |
| None |
Definition at line 1129 of file g32r4xx_ddl_adc12.h.
| __STATIC_INLINE void DDL_ADC12_REG_SetSequencerLength | ( | ADC12_TypeDef * | ADCx, |
| uint32_t | SequencerNbRanks ) |
Set ADC group regular sequencer length and scan direction.
| None |
Definition at line 1050 of file g32r4xx_ddl_adc12.h.
| __STATIC_INLINE void DDL_ADC12_REG_SetSequencerRanks | ( | ADC12_TypeDef * | ADCx, |
| uint32_t | Rank, | ||
| uint32_t | Channel ) |
Set ADC group regular sequence: channel on the selected scan sequence rank.
| ADCx | ADC instance |
| Rank | This parameter can be one of the following values:
|
| Channel | This parameter can be one of the following values:
|
| None |
Definition at line 1198 of file g32r4xx_ddl_adc12.h.
| __STATIC_INLINE void DDL_ADC12_REG_SetTriggerEdge | ( | ADC12_TypeDef * | ADCx, |
| uint32_t | ExternalTriggerEdge ) |
Set ADC group regular conversion trigger polarity.
| ADCx | ADC instance |
| ExternalTriggerEdge | This parameter can be one of the following values: |
| None |
Definition at line 980 of file g32r4xx_ddl_adc12.h.
| __STATIC_INLINE void DDL_ADC12_REG_SetTriggerSource | ( | ADC12_TypeDef * | ADCx, |
| uint32_t | TriggerSource ) |
Set ADC group regular conversion trigger source: internal (SW start) or from external peripheral (timer event, external interrupt line).
| ADCx | ADC instance |
| TriggerSource | This parameter can be one of the following values: |
| None |
Definition at line 929 of file g32r4xx_ddl_adc12.h.