XBee Firmware Library  1.6.0
Functions
pwm.h File Reference

Functions

int pwm_config (xpin_t pin, bool_t enable, uint32_t ton, uint32_t period)
 Function that configures the settings of the Pulse-Width-Modulation module. More...
 
int pwm_enable (xpin_t pin, bool_t enable)
 Function that enables/disables the Pulse-Width-Modulation. More...
 
uint32_t pwm_get_period (xpin_t pin)
 Function that returns the current period for the Pulse-Width-Modulation component. More...
 
uint32_t pwm_get_ton (xpin_t pin)
 Function that returns the current positive semiperiod for the Pulse-Width-Modulation component. More...
 
uint32_t pwm_set_ton (xpin_t pin, uint32_t ton)
 Function that changes the positive pulse-width of the Pulse-Width-Modulation component. More...