1.1.8.6 PWMx_OnCountGet Function

C

/* x = PWM instance number */

uint16_t PWMx_OnCountGet (void)

Summary

Returns the on-time period of the PWM signal

Description

Returns the on-time period of the PWM signal

Precondition

None

Parameters

None

Returns

PWM on-time count value

Example

uint16_t onCount = PWM0_OnCountGet();

Remarks

None