Function riot_sys::saul_reg_write

source ·
pub unsafe extern "C" fn saul_reg_write(
    dev: *mut saul_reg_t,
    data: *const phydat_t
) -> c_int
Expand description

@brief Write data to the given device

@param[in] dev device to write to @param[in] data data to write to the device

@return the number of data elements processed by the device @return -ENODEV if given device is invalid @return -ENOTSUP if read operation is not supported by the device @return -ECANCELED on device errors