Atmel Software Framework

pwm_opt_t Struct Reference

Input parameters when initializing a PWM channel.

#include <pwm.h>

Data Fields

unsigned int diva
 CLKA divide factor. More...
 
unsigned int divb
 CLKB divide factor. More...
 
unsigned int prea
 Divider input clock A. More...
 
unsigned int preb
 Divider input clock B. More...
 

unsigned int pwm_opt_t::diva

CLKA divide factor.

Referenced by dip204_init(), main(), and pwm_init().

unsigned int pwm_opt_t::divb

CLKB divide factor.

Referenced by dip204_init(), and pwm_init().

unsigned int pwm_opt_t::prea

Divider input clock A.

Referenced by dip204_init(), and pwm_init().

unsigned int pwm_opt_t::preb

Divider input clock B.

Referenced by dip204_init(), and pwm_init().