iLLD_TC27xC
1.0
|
![]() |
IFX_EXTERN void IfxVadc_Adc_deInitGroup | ( | IfxVadc_Adc_Group * | group) |
Reset the VADC group.
group | pointer to the VADC group |
Example Usage :How to use the VADC ADC Interface driver?
Definition at line 115 of file IfxVadc_Adc.c.
IFX_EXTERN void IfxVadc_Adc_getGroupConfig | ( | IfxVadc_Adc_Group * | group, |
IfxVadc_Adc_GroupConfig * | config | ||
) |
Get the current group configuration (e.g. vadc frequency)
group | pointer to the VADC group |
config | pointer to the VADC group configuration |
Example Usage :How to use the VADC ADC Interface driver?
Definition at line 201 of file IfxVadc_Adc.c.
IFX_INLINE Ifx_VADC_G * IfxVadc_Adc_getGroupRegsFromGroup | ( | const IfxVadc_Adc_Group * | group) |
Gets the current group register set.
group | Group handle data structure |
Definition at line 1080 of file IfxVadc_Adc.h.
Referenced by IfxVadc_Adc_deInitGroup(), IfxVadc_Adc_getChannelConfig(), and IfxVadc_Adc_initChannel().
IFX_INLINE void IfxVadc_Adc_getGroupResult | ( | IfxVadc_Adc_Group * | group, |
Ifx_VADC_RES * | results, | ||
uint32 | resultOffset, | ||
uint32 | numResults | ||
) |
Get conversion result for the group.
group | pointer to the VADC group |
results | pointer to scaled conversion results |
resultOffset | offset for the first result |
numResults | number of results |
Definition at line 1086 of file IfxVadc_Adc.h.
IFX_INLINE IfxVadc_GroupId IfxVadc_Adc_getMasterId | ( | IfxVadc_GroupId | slave, |
IfxVadc_Adc_SYNCTR_STSEL | masterIndex | ||
) |
Gets the master id.
slave | Index of the group |
masterIndex | master kernel index |
Definition at line 79 of file IfxVadc_Adc.c.
Referenced by IfxVadc_Adc_getGroupConfig().
IFX_INLINE IfxVadc_Adc_SYNCTR_STSEL IfxVadc_Adc_getMasterKernelIndex | ( | IfxVadc_GroupId | slave, |
IfxVadc_GroupId | master | ||
) |
Gets the current master kernel index.
slave | Index of the group |
master | Index of the group |
Definition at line 105 of file IfxVadc_Adc.c.
Referenced by IfxVadc_Adc_initGroup().
IFX_INLINE Ifx_VADC * IfxVadc_Adc_getVadcFromGroup | ( | const IfxVadc_Adc_Group * | group) |
Gets the current group module register address.
group | Group handle data structure |
Definition at line 1092 of file IfxVadc_Adc.h.
Referenced by IfxVadc_Adc_deInitGroup(), and IfxVadc_Adc_initChannel().
IFX_EXTERN IfxVadc_Status IfxVadc_Adc_initGroup | ( | IfxVadc_Adc_Group * | group, |
const IfxVadc_Adc_GroupConfig * | config | ||
) |
Initialise the VADC group (also autoscan and queue modes) Slave Groups must initialize first.
group | pointer to the VADC group |
config | pointer to the VADC group configuration |
Definition at line 430 of file IfxVadc_Adc.c.
IFX_EXTERN void IfxVadc_Adc_initGroupConfig | ( | IfxVadc_Adc_GroupConfig * | config, |
IfxVadc_Adc * | vadc | ||
) |
Initialise buffer with default VADC configuration.
config | pointer to the VADC group configuration |
vadc | pointer to the VADC module |
For coding example see: IfxVadc_Adc_initGroup
Definition at line 653 of file IfxVadc_Adc.c.