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.
- Output Compare functions:
void lvd_clear_flag |
( |
void |
| ) |
|
Clears the Low-Voltage Detection flag.
- Return values
-
Polls the Low-Voltage Detection flag.
- Return values
-
1 | if Low-Voltage is detected, 0 if not. |
void lvd_irq_enable |
( |
bool_t |
enable | ) |
|
Enables/Disables the Low-Voltage Detection mechanism.
- Parameters
-
[in] | enable | for enabling and for disabling. |
- Return values
-
void lvd_set_trigger |
( |
bool_t |
low | ) |
|
Sets the voltage at which the LVD flag is set.
- Parameters
-
[in] | low | 1 (low) for 1.85 V and \0 (high) for 2.4 V. |
- Return values
-