XBee Firmware Library  1.6.0
Functions
Low-Voltage Detection (LVD)

Functions

void lvd_clear_flag (void)
 Clears the Low-Voltage Detection flag. More...
 
bool_t lvd_flag (void)
 Polls the Low-Voltage Detection flag. More...
 
void lvd_irq_enable (bool_t enable)
 Enables/Disables the Low-Voltage Detection mechanism. More...
 
void lvd_set_trigger (bool_t low)
 Sets the voltage at which the LVD flag is set. More...
 

Detailed Description

Low-Voltage Detection API Overview

This API contains the functions to configure and use the Low-Voltage Detection mechanism of the user application microprocessor on programmable XBee devices.

Function Documentation

void lvd_clear_flag ( void  )

Clears the Low-Voltage Detection flag.

Return values
None.
bool_t lvd_flag ( void  )

Polls the Low-Voltage Detection flag.

Return values
1if Low-Voltage is detected, 0 if not.
void lvd_irq_enable ( bool_t  enable)

Enables/Disables the Low-Voltage Detection mechanism.

Parameters
[in]enablefor enabling and for disabling.
Return values
None
void lvd_set_trigger ( bool_t  low)

Sets the voltage at which the LVD flag is set.

Parameters
[in]low1 (low) for 1.85 V and \0 (high) for 2.4 V.
Return values
None