Function ctru_sys::MCUHWC_WriteRegister
source · pub unsafe extern "C" fn MCUHWC_WriteRegister(
reg: u8_,
data: *const c_void,
size: u32_
) -> Result
Expand description
Writes data to a i2c device3 register
§Arguments
reg
- Register number. See https://www.3dbrew.org/wiki/I2C_Registers#Device_3 for more infodata
- Pointer to write the data to.size
- Size of data to be written