1.8.22.15 1.25.23.15 1.26.20.15 1.27.23.15 1.28.25.15 1.34.23.15 1.35.16.15 1.36.18.15 1.41.21.15 1.42.20.15 TCx_CHy_CompareStart Function

C

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

Summary

Starts the given TC channel compare counter.

Description

This function enables the clock and starts the counter of associated channel in compare mode so that the TC module may start generating the selected waveform.

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();

Remarks

None