iLLD_TC27xD  1.0
Support Functions
Collaboration diagram for Support Functions:

Functions

IFX_INLINE sint16 IfxDsadc_getAuxResult (Ifx_DSADC *dsadc, IfxDsadc_ChannelId channel)
 Get result from the auxiliary chain. More...
 
IFX_INLINE uint16 IfxDsadc_getMainCombDecimation (Ifx_DSADC *dsadc, IfxDsadc_ChannelId channel)
 Get the main comb decimation factor. More...
 
IFX_INLINE sint16 IfxDsadc_getMainResult (Ifx_DSADC *dsadc, IfxDsadc_ChannelId channel)
 Get result from the main chain. More...
 
IFX_INLINE boolean IfxDsadc_isModuleEnabled (Ifx_DSADC *dsadc)
 Return TRUE if DSADC module is enabled. More...
 
IFX_INLINE void IfxDsadc_setCarrierMode (Ifx_DSADC *dsadc, IfxDsadc_CarrierWaveformMode waveformMode)
 Set the carrier waveform mode. More...
 
IFX_EXTERN float32 IfxDsadc_getIntegratorOutFreq (Ifx_DSADC *dsadc, IfxDsadc_ChannelId channel)
 Get the sample frequency of the integrator output in Hz. More...
 
IFX_EXTERN float32 IfxDsadc_getMainCombOutFreq (Ifx_DSADC *dsadc, IfxDsadc_ChannelId channel)
 Get the sample frequency of the main COMB filter output in Hz. More...
 
IFX_EXTERN float32 IfxDsadc_getMainGroupDelay (Ifx_DSADC *dsadc, IfxDsadc_ChannelId channel)
 Estimate the group delay of main-chain filters in seconds. More...
 
IFX_EXTERN float32 IfxDsadc_getModulatorClockFreq (Ifx_DSADC *dsadc, IfxDsadc_ChannelId channel)
 Get the modulator clock frequency in Hz. More...
 
IFX_EXTERN float32 IfxDsadc_getModulatorInputClockFreq (Ifx_DSADC *dsadc)
 Get the input frequency of DSADC in Hz. More...
 

Detailed Description

Function Documentation

IFX_INLINE sint16 IfxDsadc_getAuxResult ( Ifx_DSADC *  dsadc,
IfxDsadc_ChannelId  channel 
)

Get result from the auxiliary chain.

Parameters
dsadcPointer to the DSADC register space
channelChannel Id
Returns
result from the auxiliary chain

Definition at line 609 of file IfxDsadc.h.

Referenced by IfxDsadc_Dsadc_getAuxResult().

IFX_EXTERN float32 IfxDsadc_getIntegratorOutFreq ( Ifx_DSADC *  dsadc,
IfxDsadc_ChannelId  channel 
)

Get the sample frequency of the integrator output in Hz.

Parameters
dsadcPointer to the DSADC register space
channelChannel Id
Returns
frequency in Hz

Definition at line 41 of file IfxDsadc.c.

IFX_INLINE uint16 IfxDsadc_getMainCombDecimation ( Ifx_DSADC *  dsadc,
IfxDsadc_ChannelId  channel 
)

Get the main comb decimation factor.

Parameters
dsadcPointer to the DSADC register space
channelChannel Id
Returns
the main comb decimation factor

Definition at line 615 of file IfxDsadc.h.

IFX_EXTERN float32 IfxDsadc_getMainCombOutFreq ( Ifx_DSADC *  dsadc,
IfxDsadc_ChannelId  channel 
)

Get the sample frequency of the main COMB filter output in Hz.

Parameters
dsadcPointer to the DSADC register space
channelChannel Id
Returns
frequency in Hz

Definition at line 62 of file IfxDsadc.c.

Referenced by IfxDsadc_getIntegratorOutFreq().

IFX_EXTERN float32 IfxDsadc_getMainGroupDelay ( Ifx_DSADC *  dsadc,
IfxDsadc_ChannelId  channel 
)

Estimate the group delay of main-chain filters in seconds.

Parameters
dsadcPointer to the DSADC register space
channelChannel Id
Returns
delay in seconds

Definition at line 70 of file IfxDsadc.c.

IFX_INLINE sint16 IfxDsadc_getMainResult ( Ifx_DSADC *  dsadc,
IfxDsadc_ChannelId  channel 
)

Get result from the main chain.

Parameters
dsadcPointer to the DSADC register space
channelChannel Id
Returns
result from the main chain

Definition at line 621 of file IfxDsadc.h.

Referenced by IfxDsadc_Dsadc_getMainResult().

IFX_EXTERN float32 IfxDsadc_getModulatorClockFreq ( Ifx_DSADC *  dsadc,
IfxDsadc_ChannelId  channel 
)

Get the modulator clock frequency in Hz.

Parameters
dsadcPointer to the DSADC register space
channelChannel Id
Returns
frequency in Hz

Definition at line 98 of file IfxDsadc.c.

Referenced by IfxDsadc_getMainCombOutFreq(), and IfxDsadc_getMainGroupDelay().

IFX_EXTERN float32 IfxDsadc_getModulatorInputClockFreq ( Ifx_DSADC *  dsadc)

Get the input frequency of DSADC in Hz.

Parameters
dsadcPointer to the DSADC register space
Returns
frequency in Hz

Definition at line 106 of file IfxDsadc.c.

Referenced by IfxDsadc_Dsadc_initCarrierGen(), and IfxDsadc_getModulatorClockFreq().

IFX_INLINE boolean IfxDsadc_isModuleEnabled ( Ifx_DSADC *  dsadc)

Return TRUE if DSADC module is enabled.

Parameters
dsadcPointer to the DSADC register space
Returns
TRUE if DSADC module is enabled

Definition at line 683 of file IfxDsadc.h.

IFX_INLINE void IfxDsadc_setCarrierMode ( Ifx_DSADC *  dsadc,
IfxDsadc_CarrierWaveformMode  waveformMode 
)

Set the carrier waveform mode.

Parameters
dsadcPointer to the DSADC register space
waveformModethe waveform mode
Returns
None

Definition at line 689 of file IfxDsadc.h.