XBee Firmware Library  1.6.0
Functions
ocompare.h File Reference

Functions

int ocompare_config (xpin_t pin, bool_t enable, uint32_t max_timeout, uint32_t init_timeout, uint8_t behavior)
 Function that configures the settings of the output-compare component. More...
 
int ocompare_enable (xpin_t pin, bool_t enable)
 Function that enables/disables the output-compare module. More...
 
int ocompare_get_mode (xpin_t pin)
 Function that returns the programmed behavior of the output-compare pin. More...
 
int ocompare_irq_enable (xpin_t pin, bool_t enable)
 Function that returns the status of output-compare interrupt. More...
 
int ocompare_set_mode (xpin_t pin, uint8_t behavior)
 Function that sets behavior of the output-compare pin. More...
 
int ocompare_set_timeout (xpin_t pin, uint32_t timeout)
 Function that sets timeout of the output-compare interrupt. More...