riot_sys

Function saul_reg_find_name

Source
pub unsafe extern "C" fn saul_reg_find_name(
    name: *const c_char,
) -> *mut saul_reg_t
Expand description

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

@param[in] name the name to look for

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