Skip to main content

burst_write_header

Function burst_write_header 

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

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

§Arguments

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

§Returns

The header. The data follows it in the same transfer, unbroken.