pub unsafe extern "C" fn CDCCHK_ReadRegisters1(
    pageId: u8_,
    initialRegAddr: u8_,
    outData: *mut c_void,
    size: usize
) -> Result
Expand description

Reads multiple registers from the CODEC, using the old SPI hardware interface and a 4MHz baudrate.

§Arguments

  • pageId - CODEC Page ID.
  • initialRegAddr - Address of the CODEC register to start with.
  • outData (direction out) - Where to write the read data to.
  • size - Number of registers to read (bytes to read, max. 64).