Type Definition flipper0::ffi::FuriHalPowerInfoCallback

source ·
pub type FuriHalPowerInfoCallback = Option<unsafe extern "C" fn(*const i8, *const i8, bool, *mut c_void)>;
Expand description

Callback type called by furi_hal_power_info_get every time another key-value pair of information is ready

@param key[in] power information type identifier @param value[in] power information value @param last[in] whether the passed key-value pair is the last one @param context[in] to pass to callback