1.8.22.25 TCx_CHy_CaptureStart Function

C

/* x = TC instance number, y = channel number */
void TCx_CHy_CaptureStart ( void );

Summary

Starts the given TC channel capture counter.

Description

This function enables the clock and starts the counter for the associated channel so that it can start capturing signal-event counter values.

Precondition

TCx_CHy_CaptureInitialize() function must have been called first for the given channel.

Parameters

None

Returns

None.

Example

TC0_CH1_CaptureInitialize();
TC0_CH1_CaptureStart();

Remarks

None