Type Alias riot_sys::ble_hs_stop_fn

source ·
pub type ble_hs_stop_fn = Option<unsafe extern "C" fn(status: c_int, arg: *mut c_void)>;
Expand description

@typedef ble_hs_stop_fn @brief Callback function; reports the result of a host stop procedure.

@param status The result of the host stop procedure. One of the HAL_RESET_[…] codes or an implementation-defined value. @param arg Optional argument specified when the stop procedure was initiated.

Aliased Type§

enum ble_hs_stop_fn {
    None,
    Some(unsafe extern "C" fn(_: i32, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: i32, _: *mut c_void))

Some value of type T.