Function ctru_sys::CDCCHK_WriteRegisters2
source · pub unsafe extern "C" fn CDCCHK_WriteRegisters2(
pageId: u8_,
initialRegAddr: u8_,
data: *const c_void,
size: usize
) -> Result
Expand description
Writes multiple registers to the CODEC, using the new SPI hardware interface and a 16MHz baudrate.
§Arguments
pageId
- CODEC Page ID.initialRegAddr
- Address of the CODEC register to start with.data
- Where to read the data to write from.size
- Number of registers to write (bytes to read, max. 64).