XBee Firmware Library  1.6.0
Functions
icapture.h File Reference

Functions

uint32_t icapture_captcount_to_usec (xpin_t pin, size_t captcount)
 Function that computes the number of microseconds from value captured on an input-capture event. More...
 
int icapture_config (xpin_t pin, uint8_t edge, bool_t enable, uint32_t max_u_secs)
 Function that configures the settings of the input-capture component. More...
 
int icapture_enable (xpin_t pin, uint8_t enable)
 Function that enables/disables the input-capture module. More...
 
int icapture_get_mode (xpin_t pin)
 Function that returns the programmed active edge of the input-capture pin. More...
 
int icapture_irq_enable (xpin_t pin, bool_t enable)
 
int icapture_set_mode (xpin_t pin, uint8_t mode)
 Function that sets the active edge of the input-capture pin. More...
 

Function Documentation

int icapture_irq_enable ( xpin_t  pin,
bool_t  enable 
)