1.6.25.17 TCCx_TimerCommandSet Function

C

/* x = TCC instance number */
void TCCx_TimerCommandSet(TCC_COMMAND command);

Summary

Issues the command to TCC instance

Description

This function issues the command to control the counter by software

Precondition

TCCx_TimerInitialize() function must have been called first.

Parameters

Param Description
command software command

Returns

None

Example

TCC0_TimerInitialize();
TCC0_TimerCommandSet(TCC_COMMAND_START_RETRIGGER);

Remarks

None.