zephyr::raw

Function device_handle_get

Source
pub unsafe extern "C" fn device_handle_get(dev: *const device) -> i16
Expand description

@brief Get the handle for a given device

@param dev the device for which a handle is desired.

@return the handle for the device, or DEVICE_HANDLE_NULL if the device does not have an associated handle.