Function ctru_sys::CDCCHK_ReadNtrPmicRegister
source · pub unsafe extern "C" fn CDCCHK_ReadNtrPmicRegister(
outData: *mut u8_,
regAddr: u8_
) -> Result
Expand description
Reads a single register from the NTR PMIC.
§Arguments
outData
(direction out) - Where to read the data to (1 byte).regAddr
- Register address.
Note: The NTR PMIC is emulated by the CODEC hardware and sends IRQs to the MCU when relevant.