iLLD_TC27xD
1.0
|
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, IfxVadc_FifoMode fifoMode) |
Enables the FIFO mode. More... | |
IFX_INLINE void | IfxVadc_enableServiceRequest (Ifx_VADC_G *vadcG, IfxVadc_ChannelResult resultRegister) |
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_InputClasses | IfxVadc_getChannelInputClass (Ifx_VADC_G *vadcG, IfxVadc_ChannelId channelIndex) |
Gets the channel input class. More... | |
IFX_INLINE IfxVadc_ChannelResolution | IfxVadc_getGroupResolution (Ifx_VADC_G *vadcG, uint8 inputClassNum) |
Gets the ADC input class channel resolution. More... | |
IFX_INLINE float32 | IfxVadc_getGroupSampleTime (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_setChannelEventNodePointer0 (Ifx_VADC_G *vadcG, IfxVadc_SrcNr channelSrcNr, IfxVadc_ChannelId channel) |
Sets the channel event service request line. More... | |
IFX_INLINE void | IfxVadc_setChannelInputClass (Ifx_VADC_G *vadcG, IfxVadc_ChannelId channelIndex, IfxVadc_InputClasses inputClass) |
Sets the channel input class. 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_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... | |
IFX_EXTERN float32 | IfxVadc_getChannelConversionTime (Ifx_VADC *vadc, IfxVadc_GroupId group, IfxVadc_InputClasses inputClass, float32 analogFrequency, float32 moduleFrequency, IfxVadc_ConversionType conversionMode) |
get channel conversion timing More... | |
IFX_INLINE void IfxVadc_clearChannelRequest | ( | Ifx_VADC_G * | vadcG, |
IfxVadc_ChannelId | channelId | ||
) |
Clears the channel request.
vadcG | pointer to VADC group registers. |
channelId | channel id whose request to be cleared. |
Definition at line 1709 of file IfxVadc.h.
Referenced by IfxVadc_Adc_initChannel().
IFX_INLINE void IfxVadc_enableFifoMode | ( | Ifx_VADC_G * | vadcG, |
IfxVadc_ChannelResult | resultRegister, | ||
IfxVadc_FifoMode | fifoMode | ||
) |
IFX_INLINE void IfxVadc_enableServiceRequest | ( | Ifx_VADC_G * | vadcG, |
IfxVadc_ChannelResult | resultRegister | ||
) |
vadcG | pointer to VADC group registers. |
resultRegister | channel result register. |
Definition at line 1788 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.
vadcG | pointer to VADC group registers. |
Definition at line 1808 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.
vadcG | pointer to VADC group registers. |
channelIndex | ADC channel number. |
Definition at line 1852 of file IfxVadc.h.
Referenced by IfxVadc_Adc_getChannelConfig().
IFX_EXTERN float32 IfxVadc_getChannelConversionTime | ( | Ifx_VADC * | vadc, |
IfxVadc_GroupId | group, | ||
IfxVadc_InputClasses | inputClass, | ||
float32 | analogFrequency, | ||
float32 | moduleFrequency, | ||
IfxVadc_ConversionType | conversionMode | ||
) |
get channel conversion timing
vadc | Pointer to VADC module |
group | specifies the Group |
inputClass | Input class used |
analogFrequency | ADC module analog frequency fadci in Hz. |
moduleFrequency | ADC module frequency fvadc in Hz. |
conversionMode | specifies the conversion mode (Standard conversion mode) |
Definition at line 202 of file IfxVadc.c.
Referenced by IfxVadc_Adc_getChannelConversionTime().
IFX_INLINE IfxVadc_InputClasses IfxVadc_getChannelInputClass | ( | Ifx_VADC_G * | vadcG, |
IfxVadc_ChannelId | channelIndex | ||
) |
Gets the channel input class.
vadcG | pointer to VADC Group register space |
channelIndex | specifies channel ID |
Definition at line 1860 of file IfxVadc.h.
Referenced by IfxVadc_Adc_getChannelConversionTime().
IFX_INLINE IfxVadc_ChannelResolution IfxVadc_getGroupResolution | ( | Ifx_VADC_G * | vadcG, |
uint8 | inputClassNum | ||
) |
Gets the ADC input class channel resolution.
vadcG | pointer to VADC group registers. |
inputClassNum | ADC input class number. |
Definition at line 1951 of file IfxVadc.h.
Referenced by IfxVadc_Adc_getGroupConfig().
IFX_INLINE float32 IfxVadc_getGroupSampleTime | ( | Ifx_VADC_G * | vadcG, |
uint8 | inputClassNum, | ||
float32 | analogFrequency | ||
) |
Gets the ADC input class channel sample time.
vadcG | pointer to VADC group registers. |
inputClassNum | ADC input class number. |
analogFrequency | ADC module analog frequency in Hz. |
Definition at line 1968 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.
vadcG | pointer to VADC group registers. |
channelIndex | group channel id. |
Definition at line 2157 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.
vadcG | pointer to VADC group registers. |
channelIndex | group channel id. |
globalResultUsage | whether storage in global result register. |
Definition at line 2163 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.
vadcG | pointer to VADC group registers. |
channelIndex | group channel id. |
boundaryMode | boundary extension mode. |
Definition at line 2198 of file IfxVadc.h.
Referenced by IfxVadc_Adc_initChannel().
IFX_INLINE void IfxVadc_setChannelEventNodePointer0 | ( | Ifx_VADC_G * | vadcG, |
IfxVadc_SrcNr | channelSrcNr, | ||
IfxVadc_ChannelId | channel | ||
) |
Sets the channel event service request line.
vadcG | pointer to VADC group registers. |
channelSrcNr | channel event Service Node. |
channel | channel number. |
Definition at line 2204 of file IfxVadc.h.
Referenced by IfxVadc_Adc_initChannel().
IFX_INLINE void IfxVadc_setChannelInputClass | ( | Ifx_VADC_G * | vadcG, |
IfxVadc_ChannelId | channelIndex, | ||
IfxVadc_InputClasses | inputClass | ||
) |
Sets the channel input class.
vadcG | pointer to VADC group registers. |
channelIndex | group channel id. |
inputClass | group input class. |
Definition at line 2211 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.
vadcG | pointer to VADC group registers. |
channelIndex | group channel id. |
limitCheck | channel event mode. |
Definition at line 2217 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.
vadcG | pointer to VADC group registers. |
channelIndex | group channel id. |
Definition at line 2272 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.
vadcG | pointer to VADC group registers. |
channelIndex | group channel id. |
lowerBoundary | group lower boundary. |
Definition at line 2290 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.
vadcG | pointer to VADC group registers. |
channelIndex | group channel id. |
reference | reference input. |
Definition at line 2325 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.
vadcG | pointer to VADC group registers. |
resultSrcNr | channel result event service node. |
resultRegister | channel result register. |
Definition at line 2331 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.
vadcG | pointer to VADC group registers. |
resultSrcNr | channel result event service node. |
resultRegister | channel result register. |
Definition at line 2338 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.
vadcG | pointer to VADC group registers. |
channelIndex | group channel id. |
rightAlignedStorage | result store position. |
Definition at line 2345 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.
vadcG | pointer to VADC group registers. |
channelIndex | group channel id. |
synchonize | whether channel synchronize or stand alone operation. |
Definition at line 2382 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.
vadcG | pointer to VADC group registers. |
channelIndex | group channel id. |
upperBoundary | group upper boundary. |
Definition at line 2388 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.
vadcG | pointer to VADC group registers. |
channelIndex | group channel id. |
resultRegister | result register for group result storage. |
Definition at line 2412 of file IfxVadc.h.
Referenced by IfxVadc_Adc_initChannel().