Description
Source
Call Graph
PWMC_SetPeriod
Sets the period value used by a PWM channel.


Syntax / parameters
Name |
Type |
Default |
Description |
channel |
unsigned char
|
|
Channel number.
|
period |
unsigned short
|
|
Period value.
|
Description
Sets the period value used by a PWM channel.
This function writes directly to the CPRD register if the channel is disabled; otherwise, it uses the update register CUPD.
Source
The documentation for this Member was generated from the following files:
pwmc.c