Skip to main content

burst_read_header

Function burst_read_header 

Source
pub const fn burst_read_header(target: u8, address: u16) -> [u8; 4]
Expand description

Builds the header that precedes the data of a burst read.

§Arguments

  • target - which chip the transfer is for.
  • address - where the first byte is read from.

§Returns

The header, which carries the turnaround byte the chip needs before it answers.