1.41.21.1 TCx_CHy_TimerInitialize Function

C

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

Summary

Initializes given instance of TC channel

Description

This function initializes given instance of TC channel in timer mode with the options configured in MCC GUI.

Precondition

MCC GUI should be configured with the desired values.

Parameters

None.

Returns

None.

Example

TC1_CH0_TimerInitialize();

Remarks

This function must be called before any other TC function is called. This function is normally only be called once during system initialization.