![]() |
G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
|
Functions | |
| __STATIC_INLINE void | DDL_ADC16_INJ_SetTriggerSource (ADC16_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_ADC16_INJ_GetTriggerSource (ADC16_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_ADC16_INJ_IsTriggerSourceSWStart (ADC16_TypeDef *ADCx) |
| Get ADC group injected conversion trigger source internal (SW start) or external. | |
| __STATIC_INLINE void | DDL_ADC16_INJ_SetTriggerEdge (ADC16_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_ADC16_INJ_GetTriggerEdge (ADC16_TypeDef *ADCx) |
| Get ADC group injected conversion trigger polarity. Applicable only for trigger source set to external trigger. | |
| __STATIC_INLINE void | DDL_ADC16_INJ_SetSequencerLength (ADC16_TypeDef *ADCx, uint32_t SequencerNbRanks) |
| Set ADC group injected sequencer length and scan direction. | |
| __STATIC_INLINE uint32_t | DDL_ADC16_INJ_GetSequencerLength (ADC16_TypeDef *ADCx) |
| Get ADC group injected sequencer length and scan direction. | |
| __STATIC_INLINE void | DDL_ADC16_INJ_SetSequencerDiscont (ADC16_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_ADC16_INJ_GetSequencerDiscont (ADC16_TypeDef *ADCx) |
| Get ADC group injected sequencer discontinuous mode: sequence subdivided and scan conversions interrupted every selected number of ranks. | |
| __STATIC_INLINE void | DDL_ADC16_INJ_SetSequencerRanks (ADC16_TypeDef *ADCx, uint32_t Rank, uint32_t Channel) |
| Set ADC group injected sequence: channel on the selected sequence rank. | |
| __STATIC_INLINE uint32_t | DDL_ADC16_INJ_GetSequencerRanks (ADC16_TypeDef *ADCx, uint32_t Rank) |
| Get ADC group injected sequence: channel on the selected sequence rank. | |
| __STATIC_INLINE void | DDL_ADC16_INJ_SetTrigAuto (ADC16_TypeDef *ADCx, uint32_t TrigAuto) |
| Set ADC group injected conversion trigger: independent or from ADC group regular. | |
| __STATIC_INLINE uint32_t | DDL_ADC16_INJ_GetTrigAuto (ADC16_TypeDef *ADCx) |
| Get ADC group injected conversion trigger: independent or from ADC group regular. | |
| __STATIC_INLINE void | DDL_ADC16_INJ_SetQueueMode (ADC16_TypeDef *ADCx, uint32_t QueueMode) |
| Set ADC group injected contexts queue mode. | |
| __STATIC_INLINE uint32_t | DDL_ADC16_INJ_GetQueueMode (ADC16_TypeDef *ADCx) |
| Get ADC group injected context queue mode. | |
| __STATIC_INLINE void | DDL_ADC16_INJ_ConfigQueueContext (ADC16_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_ADC16_INJ_ConfigQueueContext | ( | ADC16_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.
| ADCx | ADC instance |
| TriggerSource | This parameter can be one of the following values:
|
| ExternalTriggerEdge | This parameter can be one of the following values: Note: This parameter is discarded in case of SW start: parameter "TriggerSource" set to "DDL_ADC16_INJ_TRIG_SOFTWARE". |
| SequencerNbRanks | This parameter can be one of the following values: |
| Rank1_Channel | This parameter can be one of the following values: |
| Rank2_Channel | This parameter can be one of the following values: |
| Rank3_Channel | This parameter can be one of the following values: |
| Rank4_Channel | This parameter can be one of the following values: |
| None |
Definition at line 2204 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE uint32_t DDL_ADC16_INJ_GetQueueMode | ( | ADC16_TypeDef * | ADCx | ) |
Get ADC group injected context queue mode.
| ADCx | ADC instance |
| Returned | value can be one of the following values: |
Definition at line 2125 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE uint32_t DDL_ADC16_INJ_GetSequencerDiscont | ( | ADC16_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 1946 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE uint32_t DDL_ADC16_INJ_GetSequencerLength | ( | ADC16_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 1915 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE uint32_t DDL_ADC16_INJ_GetSequencerRanks | ( | ADC16_TypeDef * | ADCx, |
| uint32_t | Rank ) |
Get ADC group injected sequence: channel on the selected sequence rank.
| ADCx | ADC instance |
| Channel | This parameter can be one of the following values: |
Definition at line 2014 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE uint32_t DDL_ADC16_INJ_GetTrigAuto | ( | ADC16_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 2072 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE uint32_t DDL_ADC16_INJ_GetTriggerEdge | ( | ADC16_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 1871 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE uint32_t DDL_ADC16_INJ_GetTriggerSource | ( | ADC16_TypeDef * | ADCx | ) |
Get ADC group injected conversion trigger source: internal (SW start) or from external peripheral (timer event, external interrupt line).
| ADCx | ADC instance |
Definition at line 1828 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE uint32_t DDL_ADC16_INJ_IsTriggerSourceSWStart | ( | ADC16_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 1840 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE void DDL_ADC16_INJ_SetQueueMode | ( | ADC16_TypeDef * | ADCx, |
| uint32_t | QueueMode ) |
Set ADC group injected contexts queue mode.
| ADCx | ADC instance |
| QueueMode | This parameter can be one of the following values: |
| None |
Definition at line 2112 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE void DDL_ADC16_INJ_SetSequencerDiscont | ( | ADC16_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 1932 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE void DDL_ADC16_INJ_SetSequencerLength | ( | ADC16_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 1895 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE void DDL_ADC16_INJ_SetSequencerRanks | ( | ADC16_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 1971 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE void DDL_ADC16_INJ_SetTrigAuto | ( | ADC16_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 2059 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE void DDL_ADC16_INJ_SetTriggerEdge | ( | ADC16_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 1857 of file g32r4xx_ddl_adc16.h.
| __STATIC_INLINE void DDL_ADC16_INJ_SetTriggerSource | ( | ADC16_TypeDef * | ADCx, |
| uint32_t | TriggerSource ) |
Set ADC group injected conversion trigger source: internal (SW start) or from external peripheral (timer event, external interrupt line).
| None |
Definition at line 1801 of file g32r4xx_ddl_adc16.h.