Function ctru_sys::CDCCHK_WriteNtrPmicRegister
source · pub unsafe extern "C" fn CDCCHK_WriteNtrPmicRegister(
regAddr: u8_,
data: u8_
) -> Result
Expand description
Writes a single register from the NTR PMIC.
§Arguments
regAddr
- Register address.data
- Data to write (1 byte).
Note: The NTR PMIC is emulated by the CODEC hardware and sends IRQs to the MCU when relevant.