3DSident/include/services/mcu.h
Joel16 99fc2e4c58 Merge upstream changes from GUI
Basically cleaning up and making sure functions succeed before returning the result.
2017-09-15 11:16:13 -05:00

15 lines
338 B
C

#ifndef MCU_H
#define MCU_H
#include <3ds.h>
Result mcuInit(void);
Result mcuExit(void);
Result MCU_ReadRegister(u8 reg, u32 size, void * data);
Result MCU_GetBatteryVoltage(u8 * out);
Result MCU_GetBatteryLevel(u8 * out);
Result MCU_GetSoundVolume(u8 * out);
Result MCU_GetFwVerHigh(u8 * out);
Result MCU_GetFwVerLow(u8 * out);
#endif