1.8.22.27 1.25.23.27 1.26.20.27 1.27.23.27 1.28.25.27 1.34.23.27 1.35.16.27 1.36.18.27 1.41.21.27 1.42.20.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