riot_sys

Function saul_reg_find_type

Source
pub unsafe extern "C" fn saul_reg_find_type(
    type_: u8,
) -> *mut saul_reg_t
Expand description

@brief Find the first device by its type in the registry

@param[in] type the device type to look for

@return pointer to the first device matching the given type @return NULL if no device of that type could be found