riot_sys::bindgen

Function saul_reg_find_nth

Source
pub unsafe extern "C" fn saul_reg_find_nth(
    pos: c_int,
) -> *mut saul_reg_t
Expand description

@brief Find a device by its position in the registry

@param[in] pos position to look up

@return pointer to the device at position specified by @p pos @return NULL if no device is registered at that position