riot_sys

Constant netopt_t_NETOPT_BATMON

Source
pub const netopt_t_NETOPT_BATMON: netopt_t = 109;
Expand description

@brief (uint16_t) Set the battery monitor voltage (in mV).

When set, a @ref SYS_BUS_POWER_EVENT_LOW_VOLTAGE event is generated on the SYS_BUS_POWER bus if the supply voltage falls below the set value.

Set to 0 to disable battery monitoring.