iLLD_TC27xC  1.0
Channel Functions
Collaboration diagram for Channel Functions:

Functions

IFX_INLINE void IfxVadc_clearChannelRequest (Ifx_VADC_G *vadcG, IfxVadc_ChannelId channelId)
 Clears the channel request. More...
 
IFX_INLINE void IfxVadc_enableFifoMode (Ifx_VADC_G *vadcG, IfxVadc_ChannelResult resultRegister)
 Enables the FIFO mode. More...
 
IFX_INLINE Ifx_VADC_G_CHASS IfxVadc_getAssignedChannels (Ifx_VADC_G *vadcG)
 Gets the group's assigned channels. More...
 
IFX_INLINE Ifx_VADC_CHCTR IfxVadc_getChannelControlConfig (Ifx_VADC_G *vadcG, IfxVadc_ChannelId channelIndex)
 Gets the current ADC channel control configurations. More...
 
IFX_INLINE
IfxVadc_ChannelResolution 
IfxVadc_getChannelResolution (Ifx_VADC_G *vadcG, uint8 inputClassNum)
 Gets the ADC input class channel resolution. More...
 
IFX_INLINE float32 IfxVadc_getChannelSampleTime (Ifx_VADC_G *vadcG, uint8 inputClassNum, float32 analogFrequency)
 Gets the ADC input class channel sample time. More...
 
IFX_INLINE void IfxVadc_setBackgroundPriorityChannel (Ifx_VADC_G *vadcG, IfxVadc_ChannelId channelIndex)
 Sets the channels with low priority as background channel. More...
 
IFX_INLINE void IfxVadc_setBackgroundResultTarget (Ifx_VADC_G *vadcG, IfxVadc_ChannelId channelIndex, boolean globalResultUsage)
 Sets the target for result background source. More...
 
IFX_INLINE void IfxVadc_setBoundaryMode (Ifx_VADC_G *vadcG, IfxVadc_ChannelId channelIndex, IfxVadc_BoundaryExtension boundaryMode)
 Selects boundary extension. More...
 
IFX_INLINE void IfxVadc_setChannelEventSourceLine (Ifx_VADC_G *vadcG, IfxVadc_SrcNr channelSrcNr, IfxVadc_ChannelId channel)
 Sets the channel event service request line. More...
 
IFX_INLINE void IfxVadc_setChannelLimitCheckMode (Ifx_VADC_G *vadcG, IfxVadc_ChannelId channelIndex, IfxVadc_LimitCheck limitCheck)
 Sets the channel event mode. More...
 
IFX_INLINE void IfxVadc_setGroupPriorityChannel (Ifx_VADC_G *vadcG, IfxVadc_ChannelId channelIndex)
 Sets channel as priority channel with in the group. More...
 
IFX_INLINE void IfxVadc_setInputClass (Ifx_VADC_G *vadcG, IfxVadc_ChannelId channelIndex, IfxVadc_InputClasses inputClass)
 Sets the channel input class. More...
 
IFX_INLINE void IfxVadc_setLowerBoundary (Ifx_VADC_G *vadcG, IfxVadc_ChannelId channelIndex, IfxVadc_BoundarySelection lowerBoundary)
 Sets group's lower boundary. More...
 
IFX_INLINE void IfxVadc_setReferenceInput (Ifx_VADC_G *vadcG, IfxVadc_ChannelId channelIndex, IfxVadc_ChannelReference reference)
 Selects the refernce input. More...
 
IFX_INLINE void IfxVadc_setResultNodeEventPointer0 (Ifx_VADC_G *vadcG, IfxVadc_SrcNr resultSrcNr, IfxVadc_ChannelResult resultRegister)
 Sets result event node pointer 0. More...
 
IFX_INLINE void IfxVadc_setResultNodeEventPointer1 (Ifx_VADC_G *vadcG, IfxVadc_SrcNr resultSrcNr, IfxVadc_ChannelResult resultRegister)
 Sets result event node pointer 1. More...
 
IFX_INLINE void IfxVadc_setResultPosition (Ifx_VADC_G *vadcG, IfxVadc_ChannelId channelIndex, boolean rightAlignedStorage)
 Sets result store position. More...
 
IFX_INLINE void IfxVadc_setSyncRequest (Ifx_VADC_G *vadcG, IfxVadc_ChannelId channelIndex, boolean synchonize)
 Sets channel synchronization request. More...
 
IFX_INLINE void IfxVadc_setUpperBoundary (Ifx_VADC_G *vadcG, IfxVadc_ChannelId channelIndex, IfxVadc_BoundarySelection upperBoundary)
 Sets group's upper boundary. More...
 
IFX_INLINE void IfxVadc_storeGroupResult (Ifx_VADC_G *vadcG, IfxVadc_ChannelId channelIndex, IfxVadc_ChannelResult resultRegister)
 Sets the group result register. More...
 

Detailed Description

Function Documentation

IFX_INLINE void IfxVadc_clearChannelRequest ( Ifx_VADC_G *  vadcG,
IfxVadc_ChannelId  channelId 
)

Clears the channel request.

Parameters
vadcGpointer to VADC group registers.
channelIdchannel id whose request to be cleared.
Returns
None

Definition at line 1881 of file IfxVadc.h.

Referenced by IfxVadc_Adc_initChannel().

IFX_INLINE void IfxVadc_enableFifoMode ( Ifx_VADC_G *  vadcG,
IfxVadc_ChannelResult  resultRegister 
)

Enables the FIFO mode.

Parameters
vadcGpointer to VADC group registers.
resultRegisterchannel result register.
Returns
None

Definition at line 1887 of file IfxVadc.h.

Referenced by IfxVadc_Adc_initChannel().

IFX_INLINE Ifx_VADC_G_CHASS IfxVadc_getAssignedChannels ( Ifx_VADC_G *  vadcG)

Gets the group's assigned channels.

Parameters
vadcGpointer to VADC group registers.
Returns
group's assigned channels.

Definition at line 1893 of file IfxVadc.h.

Referenced by IfxVadc_Adc_getChannelConfig().

IFX_INLINE Ifx_VADC_CHCTR IfxVadc_getChannelControlConfig ( Ifx_VADC_G *  vadcG,
IfxVadc_ChannelId  channelIndex 
)

Gets the current ADC channel control configurations.

Parameters
vadcGpointer to VADC group registers.
channelIndexADC channel number.
Returns
current ADC channel control configuration.

Definition at line 1901 of file IfxVadc.h.

Referenced by IfxVadc_Adc_getChannelConfig().

IFX_INLINE IfxVadc_ChannelResolution IfxVadc_getChannelResolution ( Ifx_VADC_G *  vadcG,
uint8  inputClassNum 
)

Gets the ADC input class channel resolution.

Parameters
vadcGpointer to VADC group registers.
inputClassNumADC input class number.
Returns
ADC input class channel resolution.

Definition at line 1909 of file IfxVadc.h.

Referenced by IfxVadc_Adc_getGroupConfig().

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

Gets the ADC input class channel sample time.

Parameters
vadcGpointer to VADC group registers.
inputClassNumADC input class number.
analogFrequencyADC module analog frequency.
Returns
ADC input class channel sample time.

Definition at line 1915 of file IfxVadc.h.

Referenced by IfxVadc_Adc_getGroupConfig().

IFX_INLINE void IfxVadc_setBackgroundPriorityChannel ( Ifx_VADC_G *  vadcG,
IfxVadc_ChannelId  channelIndex 
)

Sets the channels with low priority as background channel.

Parameters
vadcGpointer to VADC group registers.
channelIndexgroup channel id.
Returns
None

Definition at line 1921 of file IfxVadc.h.

Referenced by IfxVadc_Adc_initChannel().

IFX_INLINE void IfxVadc_setBackgroundResultTarget ( Ifx_VADC_G *  vadcG,
IfxVadc_ChannelId  channelIndex,
boolean  globalResultUsage 
)

Sets the target for result background source.

Parameters
vadcGpointer to VADC group registers.
channelIndexgroup channel id.
globalResultUsagewhether storage in global result register.
Returns
None

Definition at line 1927 of file IfxVadc.h.

Referenced by IfxVadc_Adc_initChannel().

IFX_INLINE void IfxVadc_setBoundaryMode ( Ifx_VADC_G *  vadcG,
IfxVadc_ChannelId  channelIndex,
IfxVadc_BoundaryExtension  boundaryMode 
)

Selects boundary extension.

Parameters
vadcGpointer to VADC group registers.
channelIndexgroup channel id.
boundaryModeboundary extension mode.
Returns
None

Definition at line 1933 of file IfxVadc.h.

Referenced by IfxVadc_Adc_initChannel().

IFX_INLINE void IfxVadc_setChannelEventSourceLine ( Ifx_VADC_G *  vadcG,
IfxVadc_SrcNr  channelSrcNr,
IfxVadc_ChannelId  channel 
)

Sets the channel event service request line.

Parameters
vadcGpointer to VADC group registers.
channelSrcNrchannel event Service Node.
channelchannel number.
Returns
None

Definition at line 1939 of file IfxVadc.h.

Referenced by IfxVadc_Adc_initChannel().

IFX_INLINE void IfxVadc_setChannelLimitCheckMode ( Ifx_VADC_G *  vadcG,
IfxVadc_ChannelId  channelIndex,
IfxVadc_LimitCheck  limitCheck 
)

Sets the channel event mode.

Parameters
vadcGpointer to VADC group registers.
channelIndexgroup channel id.
limitCheckchannel event mode.
Returns
None

Definition at line 1946 of file IfxVadc.h.

Referenced by IfxVadc_Adc_initChannel().

IFX_INLINE void IfxVadc_setGroupPriorityChannel ( Ifx_VADC_G *  vadcG,
IfxVadc_ChannelId  channelIndex 
)

Sets channel as priority channel with in the group.

Parameters
vadcGpointer to VADC group registers.
channelIndexgroup channel id.
Returns
None

Definition at line 1952 of file IfxVadc.h.

Referenced by IfxVadc_Adc_initChannel().

IFX_INLINE void IfxVadc_setInputClass ( Ifx_VADC_G *  vadcG,
IfxVadc_ChannelId  channelIndex,
IfxVadc_InputClasses  inputClass 
)

Sets the channel input class.

Parameters
vadcGpointer to VADC group registers.
channelIndexgroup channel id.
inputClassgroup input class.
Returns
None

Definition at line 1958 of file IfxVadc.h.

Referenced by IfxVadc_Adc_initChannel().

IFX_INLINE void IfxVadc_setLowerBoundary ( Ifx_VADC_G *  vadcG,
IfxVadc_ChannelId  channelIndex,
IfxVadc_BoundarySelection  lowerBoundary 
)

Sets group's lower boundary.

Parameters
vadcGpointer to VADC group registers.
channelIndexgroup channel id.
lowerBoundarygroup lower boundary.
Returns
None

Definition at line 1964 of file IfxVadc.h.

Referenced by IfxVadc_Adc_initChannel().

IFX_INLINE void IfxVadc_setReferenceInput ( Ifx_VADC_G *  vadcG,
IfxVadc_ChannelId  channelIndex,
IfxVadc_ChannelReference  reference 
)

Selects the refernce input.

Parameters
vadcGpointer to VADC group registers.
channelIndexgroup channel id.
referencereference input.
Returns
None

Definition at line 1970 of file IfxVadc.h.

Referenced by IfxVadc_Adc_initChannel().

IFX_INLINE void IfxVadc_setResultNodeEventPointer0 ( Ifx_VADC_G *  vadcG,
IfxVadc_SrcNr  resultSrcNr,
IfxVadc_ChannelResult  resultRegister 
)

Sets result event node pointer 0.

Parameters
vadcGpointer to VADC group registers.
resultSrcNrchannel result event service node.
resultRegisterchannel result register.
Returns
None

Definition at line 1976 of file IfxVadc.h.

Referenced by IfxVadc_Adc_initChannel().

IFX_INLINE void IfxVadc_setResultNodeEventPointer1 ( Ifx_VADC_G *  vadcG,
IfxVadc_SrcNr  resultSrcNr,
IfxVadc_ChannelResult  resultRegister 
)

Sets result event node pointer 1.

Parameters
vadcGpointer to VADC group registers.
resultSrcNrchannel result event service node.
resultRegisterchannel result register.
Returns
None

Definition at line 1983 of file IfxVadc.h.

Referenced by IfxVadc_Adc_initChannel().

IFX_INLINE void IfxVadc_setResultPosition ( Ifx_VADC_G *  vadcG,
IfxVadc_ChannelId  channelIndex,
boolean  rightAlignedStorage 
)

Sets result store position.

Parameters
vadcGpointer to VADC group registers.
channelIndexgroup channel id.
rightAlignedStorageresult store position.
Returns
None

Definition at line 1990 of file IfxVadc.h.

Referenced by IfxVadc_Adc_initChannel().

IFX_INLINE void IfxVadc_setSyncRequest ( Ifx_VADC_G *  vadcG,
IfxVadc_ChannelId  channelIndex,
boolean  synchonize 
)

Sets channel synchronization request.

Parameters
vadcGpointer to VADC group registers.
channelIndexgroup channel id.
synchonizewhether channel synchronize or stand alone operation.
Returns
None

Definition at line 1996 of file IfxVadc.h.

Referenced by IfxVadc_Adc_initChannel().

IFX_INLINE void IfxVadc_setUpperBoundary ( Ifx_VADC_G *  vadcG,
IfxVadc_ChannelId  channelIndex,
IfxVadc_BoundarySelection  upperBoundary 
)

Sets group's upper boundary.

Parameters
vadcGpointer to VADC group registers.
channelIndexgroup channel id.
upperBoundarygroup upper boundary.
Returns
None

Definition at line 2002 of file IfxVadc.h.

Referenced by IfxVadc_Adc_initChannel().

IFX_INLINE void IfxVadc_storeGroupResult ( Ifx_VADC_G *  vadcG,
IfxVadc_ChannelId  channelIndex,
IfxVadc_ChannelResult  resultRegister 
)

Sets the group result register.

Parameters
vadcGpointer to VADC group registers.
channelIndexgroup channel id.
resultRegisterresult register for group result storage.
Returns
None

Definition at line 2008 of file IfxVadc.h.

Referenced by IfxVadc_Adc_initChannel().