1.26.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