iLLD_TC27xC  1.0
Operative Functions
Collaboration diagram for Operative Functions:

Functions

IFX_INLINE void IfxDsadc_startScan (Ifx_DSADC *dsadc, uint32 modulatorMask, uint32 channelMask)
 Enables the conversion of multiple channels. More...
 
IFX_INLINE void IfxDsadc_stopScan (Ifx_DSADC *dsadc, uint32 modulatorMask)
 Disables the conversion of multiple channels. More...
 

Detailed Description

Function Documentation

IFX_INLINE void IfxDsadc_startScan ( Ifx_DSADC *  dsadc,
uint32  modulatorMask,
uint32  channelMask 
)

Enables the conversion of multiple channels.

Parameters
dsadcPointer to the DSADC register space
modulatorMaskthe modulator which should be running (bitwise selection)
channelMaskthe channels which should be scanned (bitwise selection)
Returns
None
// enable the conversion of all 6 DSADC channels
IfxDsadc_startScan(&MODULE_DSADC, 0x3FU, 0x3FU);
// results are now available in IFXDSADC(ds).CH[x].RESM.B.RESULT (x=0..5)

Definition at line 584 of file IfxDsadc.h.

Referenced by IfxDsadc_Dsadc_startScan().

IFX_INLINE void IfxDsadc_stopScan ( Ifx_DSADC *  dsadc,
uint32  modulatorMask 
)

Disables the conversion of multiple channels.

Parameters
dsadcPointer to the DSADC register space
modulatorMaskthe modulator which should be disabled (bitwise selection)
Returns
None
// disable the modulators of all 6 DSADC channels
IfxDsadc_stopScan(&MODULE_DSADC, 0x3FU);

Definition at line 590 of file IfxDsadc.h.

Referenced by IfxDsadc_Dsadc_stopScan().