1.3.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.