iLLD_TC27xC
1.0
|
![]() |
Functions | |
IFX_INLINE void | IfxVadc_Adc_configureWaitForReadMode (IfxVadc_Adc_Channel *channel, boolean waitForRead) |
pointer to the VADC channel More... | |
IFX_INLINE Ifx_VADC_RES | IfxVadc_Adc_getResult (IfxVadc_Adc_Channel *channel) |
Get conversion result (Function does not care about the alignment) More... | |
IFX_EXTERN void | IfxVadc_Adc_getChannelConfig (IfxVadc_Adc_Channel *channel, IfxVadc_Adc_ChannelConfig *config) |
Get the current channel configuration (e.g. sample settings) More... | |
IFX_EXTERN IfxVadc_Status | IfxVadc_Adc_initChannel (IfxVadc_Adc_Channel *channel, const IfxVadc_Adc_ChannelConfig *config) |
Initialise one channel with given configuration. More... | |
IFX_EXTERN void | IfxVadc_Adc_initChannelConfig (IfxVadc_Adc_ChannelConfig *config, const IfxVadc_Adc_Group *group) |
Initialise buffer with default channel configuration. More... | |
IFX_INLINE void IfxVadc_Adc_configureWaitForReadMode | ( | IfxVadc_Adc_Channel * | channel, |
boolean | waitForRead | ||
) |
pointer to the VADC channel
channel | pointer to the VADC channel |
waitForRead | wait for read mode enabled/disable |
For coding example see: IfxVadc_Adc_getResultBasedOnRequestSource
Definition at line 1098 of file IfxVadc_Adc.h.
IFX_EXTERN void IfxVadc_Adc_getChannelConfig | ( | IfxVadc_Adc_Channel * | channel, |
IfxVadc_Adc_ChannelConfig * | config | ||
) |
Get the current channel configuration (e.g. sample settings)
channel | pointer to the VADC channel |
config | pointer to the VADC channel configuration |
Example Usage :How to use the VADC ADC Interface driver?
Definition at line 129 of file IfxVadc_Adc.c.
IFX_INLINE Ifx_VADC_RES IfxVadc_Adc_getResult | ( | IfxVadc_Adc_Channel * | channel) |
Get conversion result (Function does not care about the alignment)
channel | pointer to the VADC channel |
Here,Three channels are used for queued transfers
Definition at line 1104 of file IfxVadc_Adc.h.
IFX_EXTERN IfxVadc_Status IfxVadc_Adc_initChannel | ( | IfxVadc_Adc_Channel * | channel, |
const IfxVadc_Adc_ChannelConfig * | config | ||
) |
Initialise one channel with given configuration.
channel | pointer to the VADC channel |
config | pointer to the VADC channel configuration |
Definition at line 315 of file IfxVadc_Adc.c.
IFX_EXTERN void IfxVadc_Adc_initChannelConfig | ( | IfxVadc_Adc_ChannelConfig * | config, |
const IfxVadc_Adc_Group * | group | ||
) |
Initialise buffer with default channel configuration.
config | pointer to the VADC channel configuration |
group | pointer to the VADC group |
For coding example see: IfxVadc_Adc_initChannel
Definition at line 402 of file IfxVadc_Adc.c.