encode_result

Function encode_result 

Source
pub fn encode_result(
    buf: &mut [u8],
    tid: u8,
    data: &[u8],
) -> Result<usize, WriteError>
Expand description

Encode a CMD_I2C_RESULT frame carrying data: the octets a transfer read, or the addresses a scan found.