iLLD_TC27xD
1.0
|
Functions | |
IFX_INLINE void | IfxVadc_Adc_deInitModule (IfxVadc_Adc *vadc) |
Reset the VADC module. More... | |
IFX_INLINE void | IfxVadc_Adc_getModuleConfig (IfxVadc_Adc *vadc, IfxVadc_Adc_Config *config) |
Get the current VADC configuration (e.g. VADC frequency) More... | |
IFX_INLINE Ifx_VADC_RES | IfxVadc_Adc_getResultBasedOnRequestSource (IfxVadc_Adc_Group *group, IfxVadc_ChannelId channel, IfxVadc_RequestSource sourceType) |
Get conversion result based on the Request Source. (Function does not care about the alignment) value = raw * gain + offset. More... | |
IFX_EXTERN void | IfxVadc_Adc_disableModule (Ifx_VADC *vadc) |
Disable VADC Module. More... | |
IFX_EXTERN IfxVadc_Status | IfxVadc_Adc_initModule (IfxVadc_Adc *vadc, const IfxVadc_Adc_Config *config) |
Initialise the VADC to run with the expected frequency and calibration. More... | |
IFX_EXTERN void | IfxVadc_Adc_initModuleConfig (IfxVadc_Adc_Config *config, Ifx_VADC *vadc) |
Initialise buffer with default VADC configuration. More... | |
IFX_INLINE void IfxVadc_Adc_deInitModule | ( | IfxVadc_Adc * | vadc) |
Reset the VADC module.
vadc | pointer to the VADC module |
Example Usage :How to use the VADC ADC Interface driver?
Definition at line 1175 of file IfxVadc_Adc.h.
IFX_EXTERN void IfxVadc_Adc_disableModule | ( | Ifx_VADC * | vadc) |
Disable VADC Module.
vadc | Pointer to VADC Module |
Definition at line 128 of file IfxVadc_Adc.c.
IFX_INLINE void IfxVadc_Adc_getModuleConfig | ( | IfxVadc_Adc * | vadc, |
IfxVadc_Adc_Config * | config | ||
) |
Get the current VADC configuration (e.g. VADC frequency)
vadc | pointer to the VADC module |
config | pointer to the VADC module configuration |
Example Usage :How to use the VADC ADC Interface driver?
Definition at line 1207 of file IfxVadc_Adc.h.
IFX_INLINE Ifx_VADC_RES IfxVadc_Adc_getResultBasedOnRequestSource | ( | IfxVadc_Adc_Group * | group, |
IfxVadc_ChannelId | channel, | ||
IfxVadc_RequestSource | sourceType | ||
) |
Get conversion result based on the Request Source. (Function does not care about the alignment) value = raw * gain + offset.
group | pointer to the VADC group |
channel | channel number |
sourceType | type of request source |
Definition at line 1233 of file IfxVadc_Adc.h.
IFX_EXTERN IfxVadc_Status IfxVadc_Adc_initModule | ( | IfxVadc_Adc * | vadc, |
const IfxVadc_Adc_Config * | config | ||
) |
Initialise the VADC to run with the expected frequency and calibration.
vadc | pointer to the VADC handle |
config | pointer to the VADC configuration |
For coding example see: How to use the VADC ADC Interface driver?
Definition at line 716 of file IfxVadc_Adc.c.
IFX_EXTERN void IfxVadc_Adc_initModuleConfig | ( | IfxVadc_Adc_Config * | config, |
Ifx_VADC * | vadc | ||
) |
Initialise buffer with default VADC configuration.
config | pointer to the VADC module configuration |
vadc | pointer to the VADC |
For coding example see: How to use the VADC ADC Interface driver?
Definition at line 771 of file IfxVadc_Adc.c.