PWMC_SetPeriod
Default mainpageat91libperipheralspwmcPWMC_SetPeriod
Description Source Call Graph
PWMC_SetPeriod
Sets the period value used by a PWM channel.
 
Syntax / parameters
void PWMC_SetPeriod (unsigned char channel, unsigned short period)

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