1.25.23.27 TCx_CHy_CaptureStop Function

C

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

Summary

Stops the given TC channel counter.

Description

This function stops the clock and thus counter of associated channel, preventing it from 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();
// Capture signal event counter values.
TC0_CH1_CaptureStop();

Remarks

None