1.2.24.71 1.3.24.71 1.4.25.71 1.5.23.71 1.6.25.71 1.7.26.71 1.29.27.71 1.30.17.71 1.31.17.71 1.33.19.71 1.37.17.71 1.40.24.71 TCCx_PWMInitialize Function

C

/* x = TCC instance number */
void TCCx_PWMInitialize ( void );

Summary

Initializes given instance of TCC

Description

This function initializes given instance of TCC in PWM mode with the options configured in MCC GUI.

Precondition

MCC GUI should be configured with the desired values.

Parameters

None.

Returns

None.

Example

TCC0_PWMInitialize();

Remarks

This function must be called before any other TCC function is called. This function is normally only be called once during system initialization. Call TCCx_PWMStart to start the counter.