Function tmc2209::send_read_request[][src]

pub fn send_read_request<R, U>(
    slave_addr: u8,
    uart_tx: &mut U
) -> Result<(), U::Error> where
    R: ReadableRegister,
    U: Write<u8>, 
Expand description

Construct a read access datagram for register R of the slave at the given address and send it via UART.

This simply calls read_request internally before writing the request via U::bwrite_all.