Function device_handle_get

Source
pub unsafe extern "C" fn device_handle_get(
    dev: *const device,
) -> device_handle_t
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.