![]() |
G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
|
Functions | |
| __STATIC_INLINE void | DDL_ADC16_REG_SetTriggerSource (ADC16_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_ADC16_REG_GetTriggerSource (ADC16_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_ADC16_REG_IsTriggerSourceSWStart (ADC16_TypeDef *ADCx) |
| Get ADC group regular conversion trigger source internal (SW start) or external. | |
| __STATIC_INLINE void | DDL_ADC16_REG_SetTriggerEdge (ADC16_TypeDef *ADCx, uint32_t ExternalTriggerEdge) |
| Set ADC group regular conversion trigger polarity. | |
| __STATIC_INLINE uint32_t | DDL_ADC16_REG_GetTriggerEdge (ADC16_TypeDef *ADCx) |
| Get ADC group regular conversion trigger polarity. | |
| __STATIC_INLINE void | DDL_ADC16_REG_SetSequencerLength (ADC16_TypeDef *ADCx, uint32_t SequencerNbRanks) |
| Set ADC group regular sequencer length and scan direction. | |
| __STATIC_INLINE uint32_t | DDL_ADC16_REG_GetSequencerLength (ADC16_TypeDef *ADCx) |
| Get ADC group regular sequencer length and scan direction. | |
| __STATIC_INLINE void | DDL_ADC16_REG_SetSequencerDiscont (ADC16_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_ADC16_REG_GetSequencerDiscont (ADC16_TypeDef *ADCx) |
| Get ADC group regular sequencer discontinuous mode: sequence subdivided and scan conversions interrupted every selected number of ranks. | |
| __STATIC_INLINE void | DDL_ADC16_REG_SetSequencerRanks (ADC16_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_ADC16_REG_GetSequencerRanks (ADC16_TypeDef *ADCx, uint32_t Rank) |
| Get ADC group regular sequence: channel on the selected scan sequence rank. Refer to description of function DDL_ADC16_REG_SetSequencerLength(). | |
| __STATIC_INLINE void | DDL_ADC16_REG_SetContinuousMode (ADC16_TypeDef *ADCx, uint32_t Continuous) |
| Set ADC continuous conversion mode on ADC group regular. | |
| __STATIC_INLINE uint32_t | DDL_ADC16_REG_GetContinuousMode (ADC16_TypeDef *ADCx) |
| Get ADC continuous conversion mode on ADC group regular. | |
| __STATIC_INLINE void | DDL_ADC16_REG_SetDMATransfer (ADC16_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_ADC16_REG_GetDMATransfer (ADC16_TypeDef *ADCx) |
| Get ADC group regular conversion data transfer: no transfer or transfer by DMA, and DMA requests mode. | |
| __STATIC_INLINE void | DDL_ADC16_REG_SetOverrun (ADC16_TypeDef *ADCx, uint32_t Overrun) |
| Set ADC group regular behavior in case of overrun: data preserved or overwritten. | |
| __STATIC_INLINE uint32_t | DDL_ADC16_REG_GetOverrun (ADC16_TypeDef *ADCx) |
| Get ADC group regular behavior in case of overrun: data preserved or overwritten. | |
| __STATIC_INLINE uint32_t DDL_ADC16_REG_GetContinuousMode | ( | ADC16_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 1659 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE uint32_t DDL_ADC16_REG_GetDMATransfer | ( | ADC16_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 1727 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE uint32_t DDL_ADC16_REG_GetOverrun | ( | ADC16_TypeDef * | ADCx | ) |
Get ADC group regular behavior in case of overrun: data preserved or overwritten.
| ADCx | ADC instance |
| Returned | value can be one of the following values: |
Definition at line 1763 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE uint32_t DDL_ADC16_REG_GetSequencerDiscont | ( | ADC16_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 1502 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE uint32_t DDL_ADC16_REG_GetSequencerLength | ( | ADC16_TypeDef * | ADCx | ) |
Get ADC group regular sequencer length and scan direction.
| ADCx | ADC instance |
Definition at line 1459 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE uint32_t DDL_ADC16_REG_GetSequencerRanks | ( | ADC16_TypeDef * | ADCx, |
| uint32_t | Rank ) |
Get ADC group regular sequence: channel on the selected scan sequence rank. Refer to description of function DDL_ADC16_REG_SetSequencerLength().
| ADCx | ADC instance |
| Rank | This parameter can be one of the following values: |
| Returned | value can be one of the following values: |
Definition at line 1607 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE uint32_t DDL_ADC16_REG_GetTriggerEdge | ( | ADC16_TypeDef * | ADCx | ) |
Get ADC group regular conversion trigger polarity.
| ADCx | ADC instance |
| Returned | value can be one of the following values: |
Definition at line 1357 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE uint32_t DDL_ADC16_REG_GetTriggerSource | ( | ADC16_TypeDef * | ADCx | ) |
Get ADC group regular conversion trigger source: internal (SW start) or from external peripheral (timer event, external interrupt line).
| None |
Definition at line 1313 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE uint32_t DDL_ADC16_REG_IsTriggerSourceSWStart | ( | ADC16_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 1325 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE void DDL_ADC16_REG_SetContinuousMode | ( | ADC16_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 1643 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE void DDL_ADC16_REG_SetDMATransfer | ( | ADC16_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 1694 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE void DDL_ADC16_REG_SetOverrun | ( | ADC16_TypeDef * | ADCx, |
| uint32_t | Overrun ) |
Set ADC group regular behavior in case of overrun: data preserved or overwritten.
| ADCx | ADC instance |
| Overrun | This parameter can be one of the following values: |
| None |
Definition at line 1750 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE void DDL_ADC16_REG_SetSequencerDiscont | ( | ADC16_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 1483 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE void DDL_ADC16_REG_SetSequencerLength | ( | ADC16_TypeDef * | ADCx, |
| uint32_t | SequencerNbRanks ) |
Set ADC group regular sequencer length and scan direction.
| None |
Definition at line 1410 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE void DDL_ADC16_REG_SetSequencerRanks | ( | ADC16_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 1537 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE void DDL_ADC16_REG_SetTriggerEdge | ( | ADC16_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 1343 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE void DDL_ADC16_REG_SetTriggerSource | ( | ADC16_TypeDef * | ADCx, |
| uint32_t | TriggerSource ) |
Set ADC group regular conversion trigger source: internal (SW start) or from external peripheral (timer event, external interrupt line).
| None |
Definition at line 1284 of file g32r4xx_ddl_adc16.h.