Function devices::bat::command_monitor
source · fn command_monitor(
tube: Tube,
irq_evt: IrqLevelEvent,
kill_evt: Event,
state: Arc<Mutex<GoldfishBatteryState>>,
create_power_monitor: Option<Box<dyn CreatePowerMonitorFn>>,
init_state: Arc<Mutex<BatInitializationState>>,
)