iLLD_TC27xC  1.0
Capture Control Functions
Collaboration diagram for Capture Control Functions:

Functions

IFX_EXTERN uint32 IfxCcu6_Icu_getTimeStamp (IfxCcu6_Icu_Channel *channel)
 Returns the cuurent value stored in the Compare Shadow register (current time stamp) More...
 
IFX_EXTERN void IfxCcu6_Icu_startCapture (IfxCcu6_Icu_Channel *channel)
 Starts the input capture. More...
 
IFX_EXTERN void IfxCcu6_Icu_stopCapture (IfxCcu6_Icu_Channel *channel)
 Stops the input capture. More...
 

Detailed Description

Function Documentation

IFX_EXTERN uint32 IfxCcu6_Icu_getTimeStamp ( IfxCcu6_Icu_Channel channel)

Returns the cuurent value stored in the Compare Shadow register (current time stamp)

Parameters
channelChannel handle
Returns
timeStamp (cuurent CC6xSR register value)
// assumed to be declared globally
uint32 timeStamp[100] = 0;
// store the time stamp in an array
timeStamp[i] = IfxCcu6_Icu_getTimeStamp(&icuChannel);

Definition at line 36 of file IfxCcu6_Icu.c.

Referenced by IfxCcu6_Icu_initChannel().

IFX_EXTERN void IfxCcu6_Icu_startCapture ( IfxCcu6_Icu_Channel channel)

Starts the input capture.

Parameters
channelChannel handle
Returns
None

Definition at line 240 of file IfxCcu6_Icu.c.

Referenced by IfxCcu6_Icu_initChannel().

IFX_EXTERN void IfxCcu6_Icu_stopCapture ( IfxCcu6_Icu_Channel channel)

Stops the input capture.

Parameters
channelChannel handle
Returns
None

Definition at line 266 of file IfxCcu6_Icu.c.

Referenced by IfxCcu6_Icu_initChannel().