diff options
author | red031000 <rubenru09@aol.com> | 2021-07-23 01:11:15 +0100 |
---|---|---|
committer | red031000 <rubenru09@aol.com> | 2021-07-23 01:12:27 +0100 |
commit | 5bf13c7f48fe91c7902ce50250bc1a5a2398a2ae (patch) | |
tree | 2e91e60bdb7a9174b16d8ca1b532809d4ae2e5b6 /arm9/lib/src/RTC_internal.c | |
parent | c2d91a2d997afd01fa4f40e1e16d5ee85557c9a8 (diff) |
separate out libs to libc, libnns and NitroSDK
Diffstat (limited to 'arm9/lib/src/RTC_internal.c')
-rw-r--r-- | arm9/lib/src/RTC_internal.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/arm9/lib/src/RTC_internal.c b/arm9/lib/src/RTC_internal.c deleted file mode 100644 index e3a132ab..00000000 --- a/arm9/lib/src/RTC_internal.c +++ /dev/null @@ -1,31 +0,0 @@ -#include "function_target.h" -#include "PXI_fifo.h" -#include "RTC_internal.h" - -static BOOL RtcSendPxiCommand(u8 command); - -ARM_FUNC BOOL RTCi_ReadRawDateTimeAsync(void) -{ - return RtcSendPxiCommand(16); -} - -ARM_FUNC BOOL RTCi_ReadRawDateAsync(void) -{ - return RtcSendPxiCommand(17); -} - -ARM_FUNC BOOL RTCi_ReadRawTimeAsync(void) -{ - return RtcSendPxiCommand(18); -} - -ARM_FUNC BOOL RTCi_WriteRawStatus2Async(void) -{ - return RtcSendPxiCommand(39); -} - -ARM_FUNC static BOOL RtcSendPxiCommand(u8 command) -{ - s32 data = command << 8 & 0x7f00; - return PXI_SendWordByFifo(PXI_FIFO_TAG_RTC, (u32)data, FALSE) >= 0; -} |