iLLD_TC27xD  1.0
Channel Functions
Collaboration diagram for Channel Functions:

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 float32 IfxVadc_Adc_getChannelConversionTime (IfxVadc_Adc_Channel *channel, IfxVadc_ConversionType conversionMode)
 get the channel Conversion Time 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...
 

Detailed Description

Function Documentation

IFX_INLINE void IfxVadc_Adc_configureWaitForReadMode ( IfxVadc_Adc_Channel channel,
boolean  waitForRead 
)

pointer to the VADC channel

Parameters
channelpointer to the VADC channel
waitForReadwait for read mode enabled/disable
Returns
None

For coding example see: IfxVadc_Adc_getGroupResult

Definition at line 1163 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)

Parameters
channelpointer to the VADC channel
configpointer to the VADC channel configuration
Returns
None

Example Usage :How to use the VADC ADC Interface driver?

Definition at line 134 of file IfxVadc_Adc.c.

IFX_EXTERN float32 IfxVadc_Adc_getChannelConversionTime ( IfxVadc_Adc_Channel channel,
IfxVadc_ConversionType  conversionMode 
)

get the channel Conversion Time

Parameters
channelChannel
conversionModespecifies Compatible mode(Standard Conversion mode).
Returns
channel conversion time in sec

Definition at line 205 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)

Parameters
channelpointer to the VADC channel
Returns
scaled Conversion result

For coding example see: How to use the VADC ADC Interface driver?

Definition at line 1227 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.

Parameters
channelpointer to the VADC channel
configpointer to the VADC channel configuration
Returns
IfxVadc_Status

For coding example see: How to use the VADC ADC Interface driver?

Definition at line 325 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.

Parameters
configpointer to the VADC channel configuration
grouppointer to the VADC group
Returns
None

For coding example see: How to use the VADC ADC Interface driver?

Definition at line 414 of file IfxVadc_Adc.c.