1.8.22.1 1.25.23.1 1.26.20.1 1.27.23.1 1.28.25.1 1.34.23.1 1.35.16.1 1.36.18.1 1.41.21.1 1.42.20.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.