PWMC_ConfigureChannel
Default mainpageat91libperipheralspwmcPWMC_ConfigureChannel
Description Source Call Graph
PWMC_ConfigureChannel
Configures PWM a channel with the given parameters.
 
Syntax / parameters
void PWMC_ConfigureChannel (unsigned char channel, unsigned int prescaler, unsigned int alignment, unsigned int polarity)

Name Type Default Description
channel unsigned char
  Channel number.
prescaler unsigned int
  Channel prescaler.
alignment unsigned int
  Channel alignment.
polarity unsigned int
  Channel polarity.
Description
Configures PWM a channel with the given parameters.
The PWM controller must have been clocked in the PMC prior to calling this function. Beware: this function disables the channel. It waits until disable is effective.
 
Source
The documentation for this Member was generated from the following files:
  • pwmc.c