1.8.22.16 1.25.23.16 1.26.20.16 1.27.23.16 1.28.25.16 1.34.23.16 1.35.16.16 1.36.18.16 1.41.21.16 1.42.20.16 TCx_CHy_CompareStop Function

C

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

Summary

Stops the given TC channel counter in compare mode.

Description

This function stops the clock and thus counter of associated channel, freezing the associated waveform generation.

Precondition

TCx_CHy_CompareInitialize function must have been called first for the given channel.

Parameters

None.

Returns

None.

Example

TC0_CH1_CompareInitialize();
TC0_CH1_CompareStart();
// Generate waveform a long as desired, then...
TC0_CH1_CompareStop();

Remarks

None