![]() |
Synergy Software Package User's Manual
|
#include <r_lvd_api.h>
Data Fields | |
| const uint32_t | monitor_number |
| lvd_threshold_t | voltage_threshold |
| lvd_response_t | detection_response |
| lvd_voltage_slope_t | voltage_slope |
| uint8_t | monitor_ipl |
| void(* | p_callback )(lvd_callback_args_t *p_args) |
| void const * | p_context |
| void const * | p_extend |
LVD configuration structure
| lvd_response_t lvd_cfg_t::detection_response |
Response on detecting a threshold crossing
| uint8_t lvd_cfg_t::monitor_ipl |
Interrupt priority level.
| const uint32_t lvd_cfg_t::monitor_number |
Monitor number, 1, 2, ...
| void(* lvd_cfg_t::p_callback) (lvd_callback_args_t *p_args) |
User function to be called from interrupt
| void const* lvd_cfg_t::p_context |
Placeholder for user data. Passed to the user callback in
| void const* lvd_cfg_t::p_extend |
Extension parameter for hardware specific settings
| lvd_voltage_slope_t lvd_cfg_t::voltage_slope |
Rising or falling voltage is to be detected
| lvd_threshold_t lvd_cfg_t::voltage_threshold |
Threshold for out of range voltage detection