1.10.15.3 1.11.16.3 1.12.16.3 1.13.15.3 1.16.12.3 1.17.12.3 1.18.12.3 1.19.12.3 1.20.12.3 1.21.13.3 1.22.17.3 1.23.16.3 1.24.14.3 OCMPx_Enable Function

C

/* x = OCMP instance number */

void OCMPx_Enable (void)

Summary

Enable function for the OCMPx peripheral

Description

This function enables the OCMPx peripheral. This function starts the waveform generation based on the mode.

Precondition

OCMPx_Initialize() function must have been called first.

Parameters

None.

Returns

None.

Example

OCMP1_Initialize();
OCMP1_Enable();

Remarks

Selected Timer source module must be enabled for functioning of OCMP peripheral.