Function ctru_sys::CDCCHK_WriteRegisters1
source · pub unsafe extern "C" fn CDCCHK_WriteRegisters1(
pageId: u8_,
initialRegAddr: u8_,
data: *const c_void,
size: usize
) -> Result
Expand description
Writes multiple registers to 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.data
- Where to read the data to write from.size
- Number of registers to write (bytes to read, max. 64).