mirror of
https://github.com/joel16/3DSident.git
synced 2024-11-23 11:39:43 +00:00
99fc2e4c58
Basically cleaning up and making sure functions succeed before returning the result.
15 lines
338 B
C
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 |