iLLD_TC27xD  1.0
Emux Functions
Collaboration diagram for Emux Functions:

Functions

IFX_INLINE
IfxVadc_ChannelResolution 
IfxVadc_getEmuxGlobalResolution (Ifx_VADC *vadc, uint8 inputClassNum)
 get global input class resolution More...
 
IFX_INLINE float32 IfxVadc_getEmuxGlobalSampleTime (Ifx_VADC *vadc, uint8 inputClassNum, float32 analogFrequency)
 Get the sample time of ADC global class for external channel. More...
 
IFX_INLINE
IfxVadc_ChannelResolution 
IfxVadc_getEmuxGroupResolution (Ifx_VADC_G *vadcG, uint8 inputClassNum)
 get the external channel resolution More...
 
IFX_INLINE float32 IfxVadc_getEmuxGroupSampleTime (Ifx_VADC_G *vadcG, uint8 inputClassNum, float32 analogFrequency)
 Gets the ADC input class sample time of external channel. More...
 
IFX_INLINE void IfxVadc_setEmuxGlobalResolution (Ifx_VADC *vadc, uint8 inputClassNum, IfxVadc_ChannelResolution resolution)
 set the external channel resolution of Global class More...
 
IFX_INLINE void IfxVadc_setEmuxGlobalSampleTime (Ifx_VADC *vadc, uint8 inputClassNum, float32 analogFrequency, float32 sampleTime)
 Sets the sample time of ADC global class for external channel. More...
 
IFX_INLINE void IfxVadc_setEmuxGroupResolution (Ifx_VADC_G *vadcG, uint8 inputClassNum, IfxVadc_ChannelResolution resolution)
 set the external channel resolution of ADC input class More...
 
IFX_INLINE void IfxVadc_setEmuxGroupSampletime (Ifx_VADC_G *vadcG, uint8 inputClassNum, float32 analogFrequency, float32 sampleTime)
 Sets the ADC input class sample time for external channel. More...
 
IFX_INLINE void IfxVadc_setEmuxInterfaceForGroup (Ifx_VADC *vadc, IfxVadc_EmuxInterface emuxInterface, IfxVadc_GroupId group)
 Sets the Emux Interface for a particular group. More...
 
IFX_EXTERN void IfxVadc_configExternalMultiplexerMode (Ifx_VADC *vadc, Ifx_VADC_G *vadcG, IfxVadc_ExternalMultiplexerMode mode, uint8 channels, IfxVadc_EmuxSelectValue startChannel, IfxVadc_EmuxCodingScheme code, IfxVadc_EmuxSampleTimeControl sampleTimeControl, IfxVadc_ChannelSelectionStyle channelSelectionStyle)
 

Detailed Description

Function Documentation

IFX_EXTERN void IfxVadc_configExternalMultiplexerMode ( Ifx_VADC *  vadc,
Ifx_VADC_G *  vadcG,
IfxVadc_ExternalMultiplexerMode  mode,
uint8  channels,
IfxVadc_EmuxSelectValue  startChannel,
IfxVadc_EmuxCodingScheme  code,
IfxVadc_EmuxSampleTimeControl  sampleTimeControl,
IfxVadc_ChannelSelectionStyle  channelSelectionStyle 
)
Parameters
vadcpointer to Module space
vadcGPointer to VADC group register space
modeExternal Multiplexer mode
channelsSpecifies channel Id
startChannelspecifies the external channel value from which conversion to be carried out
codeOutput the channel number in binary code/gray code
sampleTimeControlspecifies when to use a sample time for external channel
channelSelectionStyleExternal Multiplexer Channel Selection Style
Returns
None

Definition at line 35 of file IfxVadc.c.

Referenced by IfxVadc_Adc_initExternalMultiplexerMode().

IFX_INLINE IfxVadc_ChannelResolution IfxVadc_getEmuxGlobalResolution ( Ifx_VADC *  vadc,
uint8  inputClassNum 
)

get global input class resolution

Parameters
vadcPointer to VADC Module space
inputClassNumglobal input class number
Returns
External channel resolution for global input class

Definition at line 1890 of file IfxVadc.h.

IFX_INLINE float32 IfxVadc_getEmuxGlobalSampleTime ( Ifx_VADC *  vadc,
uint8  inputClassNum,
float32  analogFrequency 
)

Get the sample time of ADC global class for external channel.

Parameters
vadcpointer to VADC Module space
inputClassNumAdc input class number
analogFrequencyADC module analog frequency in Hz.
Returns
ADC input class external channel sample time in sec.

Definition at line 1896 of file IfxVadc.h.

IFX_INLINE IfxVadc_ChannelResolution IfxVadc_getEmuxGroupResolution ( Ifx_VADC_G *  vadcG,
uint8  inputClassNum 
)

get the external channel resolution

Parameters
vadcGPointer to VADC group register space
inputClassNumAdc input class number
Returns
Adc input class External channel resolution

Definition at line 1902 of file IfxVadc.h.

IFX_INLINE float32 IfxVadc_getEmuxGroupSampleTime ( Ifx_VADC_G *  vadcG,
uint8  inputClassNum,
float32  analogFrequency 
)

Gets the ADC input class sample time of external channel.

Parameters
vadcGPointer to Register Group space
inputClassNumADC input class number
analogFrequencyADC module analog frequency in Hz.
Returns
ADC input class external channel sample time in sec.

Definition at line 1908 of file IfxVadc.h.

IFX_INLINE void IfxVadc_setEmuxGlobalResolution ( Ifx_VADC *  vadc,
uint8  inputClassNum,
IfxVadc_ChannelResolution  resolution 
)

set the external channel resolution of Global class

Parameters
vadcpointer to VADC Module space
inputClassNumGlobal Input Class Number
resolutionExternal Channel resolution
Returns
None

Definition at line 2223 of file IfxVadc.h.

IFX_INLINE void IfxVadc_setEmuxGlobalSampleTime ( Ifx_VADC *  vadc,
uint8  inputClassNum,
float32  analogFrequency,
float32  sampleTime 
)

Sets the sample time of ADC global class for external channel.

Parameters
vadcPointer to VADC Module space
inputClassNumAdc input class number
analogFrequencyADC analog Frequency in HZ
sampleTimethe requested sample time for input class in sec
Returns
None

Definition at line 2229 of file IfxVadc.h.

IFX_INLINE void IfxVadc_setEmuxGroupResolution ( Ifx_VADC_G *  vadcG,
uint8  inputClassNum,
IfxVadc_ChannelResolution  resolution 
)

set the external channel resolution of ADC input class

Parameters
vadcGpointer to VADC Group Register space
inputClassNuminput class number
resolutioninput class external channel resolution
Returns
None

Definition at line 2235 of file IfxVadc.h.

IFX_INLINE void IfxVadc_setEmuxGroupSampletime ( Ifx_VADC_G *  vadcG,
uint8  inputClassNum,
float32  analogFrequency,
float32  sampleTime 
)

Sets the ADC input class sample time for external channel.

Parameters
vadcGPointer to VADC Group Register Space
inputClassNuminput class number
analogFrequencyADC analog frequency in Hz.
sampleTimerequest sample time in sec for input class.
Returns
None

Definition at line 2241 of file IfxVadc.h.

IFX_INLINE void IfxVadc_setEmuxInterfaceForGroup ( Ifx_VADC *  vadc,
IfxVadc_EmuxInterface  emuxInterface,
IfxVadc_GroupId  group 
)

Sets the Emux Interface for a particular group.

Parameters
vadcPointer to VADC Module Space
emuxInterfacespecifies the EmuxInterface
groupspecifies the group ID
Returns
None

Definition at line 2247 of file IfxVadc.h.

Referenced by IfxVadc_Adc_initExternalMultiplexerMode().