![]() |
G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
|
Functions | |
| __STATIC_INLINE void | DDL_ADC12_INJ_SetTriggerSource (ADC12_TypeDef *ADCx, uint32_t TriggerSource) |
| Set ADC group injected conversion trigger source: internal (SW start) or from external peripheral (timer event, external interrupt line). | |
| __STATIC_INLINE uint32_t | DDL_ADC12_INJ_GetTriggerSource (ADC12_TypeDef *ADCx) |
| Get ADC group injected conversion trigger source: internal (SW start) or from external peripheral (timer event, external interrupt line). | |
| __STATIC_INLINE uint32_t | DDL_ADC12_INJ_IsTriggerSourceSWStart (ADC12_TypeDef *ADCx) |
| Get ADC group injected conversion trigger source internal (SW start) or external. | |
| __STATIC_INLINE void | DDL_ADC12_INJ_SetTriggerEdge (ADC12_TypeDef *ADCx, uint32_t ExternalTriggerEdge) |
| Set ADC group injected conversion trigger polarity. Applicable only for trigger source set to external trigger. | |
| __STATIC_INLINE uint32_t | DDL_ADC12_INJ_GetTriggerEdge (ADC12_TypeDef *ADCx) |
| Get ADC group injected conversion trigger polarity. Applicable only for trigger source set to external trigger. | |
| __STATIC_INLINE void | DDL_ADC12_INJ_SetSequencerLength (ADC12_TypeDef *ADCx, uint32_t SequencerNbRanks) |
| Set ADC group injected sequencer length and scan direction. | |
| __STATIC_INLINE uint32_t | DDL_ADC12_INJ_GetSequencerLength (ADC12_TypeDef *ADCx) |
| Get ADC group injected sequencer length and scan direction. | |
| __STATIC_INLINE void | DDL_ADC12_INJ_SetSequencerDiscont (ADC12_TypeDef *ADCx, uint32_t SeqDiscont) |
| Set ADC group injected sequencer discontinuous mode: sequence subdivided and scan conversions interrupted every selected number of ranks. | |
| __STATIC_INLINE uint32_t | DDL_ADC12_INJ_GetSequencerDiscont (ADC12_TypeDef *ADCx) |
| Get ADC group injected sequencer discontinuous mode: sequence subdivided and scan conversions interrupted every selected number of ranks. | |
| __STATIC_INLINE void | DDL_ADC12_INJ_SetSequencerRanks (ADC12_TypeDef *ADCx, uint32_t Rank, uint32_t Channel) |
| Set ADC group injected sequence: channel on the selected sequence rank. | |
| __STATIC_INLINE uint32_t | DDL_ADC12_INJ_GetSequencerRanks (ADC12_TypeDef *ADCx, uint32_t Rank) |
| Get ADC group injected sequence: channel on the selected sequence rank. | |
| __STATIC_INLINE void | DDL_ADC12_INJ_SetTrigAuto (ADC12_TypeDef *ADCx, uint32_t TrigAuto) |
| Set ADC group injected conversion trigger: independent or from ADC group regular. | |
| __STATIC_INLINE uint32_t | DDL_ADC12_INJ_GetTrigAuto (ADC12_TypeDef *ADCx) |
| Get ADC group injected conversion trigger: independent or from ADC group regular. | |
| __STATIC_INLINE void | DDL_ADC12_INJ_ConfigQueueContext (ADC12_TypeDef *ADCx, uint32_t TriggerSource, uint32_t ExternalTriggerEdge, uint32_t SequencerNbRanks, uint32_t Rank1_Channel, uint32_t Rank2_Channel, uint32_t Rank3_Channel, uint32_t Rank4_Channel) |
| Set one context on ADC group injected that will be checked in contexts queue. | |
| __STATIC_INLINE void DDL_ADC12_INJ_ConfigQueueContext | ( | ADC12_TypeDef * | ADCx, |
| uint32_t | TriggerSource, | ||
| uint32_t | ExternalTriggerEdge, | ||
| uint32_t | SequencerNbRanks, | ||
| uint32_t | Rank1_Channel, | ||
| uint32_t | Rank2_Channel, | ||
| uint32_t | Rank3_Channel, | ||
| uint32_t | Rank4_Channel ) |
Set one context on ADC group injected that will be checked in contexts queue.
| None |
Definition at line 1787 of file g32r4xx_ddl_adc12.h.
| __STATIC_INLINE uint32_t DDL_ADC12_INJ_GetSequencerDiscont | ( | ADC12_TypeDef * | ADCx | ) |
Get ADC group injected 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 1548 of file g32r4xx_ddl_adc12.h.
| __STATIC_INLINE uint32_t DDL_ADC12_INJ_GetSequencerLength | ( | ADC12_TypeDef * | ADCx | ) |
Get ADC group injected sequencer length and scan direction.
| ADCx | ADC instance |
| Returned | value can be one of the following values: |
Definition at line 1517 of file g32r4xx_ddl_adc12.h.
| __STATIC_INLINE uint32_t DDL_ADC12_INJ_GetSequencerRanks | ( | ADC12_TypeDef * | ADCx, |
| uint32_t | Rank ) |
Get ADC group injected sequence: channel on the selected sequence rank.
| ADCx | ADC instance |
| Rank | This parameter can be one of the following values: |
Definition at line 1624 of file g32r4xx_ddl_adc12.h.
| __STATIC_INLINE uint32_t DDL_ADC12_INJ_GetTrigAuto | ( | ADC12_TypeDef * | ADCx | ) |
Get ADC group injected conversion trigger: independent or from ADC group regular.
| ADCx | ADC instance |
| Returned | value can be one of the following values: |
Definition at line 1673 of file g32r4xx_ddl_adc12.h.
| __STATIC_INLINE uint32_t DDL_ADC12_INJ_GetTriggerEdge | ( | ADC12_TypeDef * | ADCx | ) |
Get ADC group injected conversion trigger polarity. Applicable only for trigger source set to external trigger.
| ADCx | ADC instance |
| Returned | value can be one of the following values: |
Definition at line 1473 of file g32r4xx_ddl_adc12.h.
| __STATIC_INLINE uint32_t DDL_ADC12_INJ_GetTriggerSource | ( | ADC12_TypeDef * | ADCx | ) |
Get ADC group injected 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 1432 of file g32r4xx_ddl_adc12.h.
| __STATIC_INLINE uint32_t DDL_ADC12_INJ_IsTriggerSourceSWStart | ( | ADC12_TypeDef * | ADCx | ) |
Get ADC group injected 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 1444 of file g32r4xx_ddl_adc12.h.
| __STATIC_INLINE void DDL_ADC12_INJ_SetSequencerDiscont | ( | ADC12_TypeDef * | ADCx, |
| uint32_t | SeqDiscont ) |
Set ADC group injected 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 1534 of file g32r4xx_ddl_adc12.h.
| __STATIC_INLINE void DDL_ADC12_INJ_SetSequencerLength | ( | ADC12_TypeDef * | ADCx, |
| uint32_t | SequencerNbRanks ) |
Set ADC group injected sequencer length and scan direction.
| ADCx | ADC instance |
| SequencerNbRanks | This parameter can be one of the following values: |
| None |
Definition at line 1497 of file g32r4xx_ddl_adc12.h.
| __STATIC_INLINE void DDL_ADC12_INJ_SetSequencerRanks | ( | ADC12_TypeDef * | ADCx, |
| uint32_t | Rank, | ||
| uint32_t | Channel ) |
Set ADC group injected sequence: channel on the selected 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 1584 of file g32r4xx_ddl_adc12.h.
| __STATIC_INLINE void DDL_ADC12_INJ_SetTrigAuto | ( | ADC12_TypeDef * | ADCx, |
| uint32_t | TrigAuto ) |
Set ADC group injected conversion trigger: independent or from ADC group regular.
| ADCx | ADC instance |
| TrigAuto | This parameter can be one of the following values: |
| None |
Definition at line 1660 of file g32r4xx_ddl_adc12.h.
| __STATIC_INLINE void DDL_ADC12_INJ_SetTriggerEdge | ( | ADC12_TypeDef * | ADCx, |
| uint32_t | ExternalTriggerEdge ) |
Set ADC group injected conversion trigger polarity. Applicable only for trigger source set to external trigger.
| ADCx | ADC instance |
| ExternalTriggerEdge | This parameter can be one of the following values: |
| None |
Definition at line 1460 of file g32r4xx_ddl_adc12.h.
| __STATIC_INLINE void DDL_ADC12_INJ_SetTriggerSource | ( | ADC12_TypeDef * | ADCx, |
| uint32_t | TriggerSource ) |
Set ADC group injected 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 1409 of file g32r4xx_ddl_adc12.h.