vitasdk
Documentation of the vitasdk
rtc.h
Go to the documentation of this file.
1 
7 #ifndef _PSP2COMMON_KERNEL_RTC_H_
8 #define _PSP2COMMON_KERNEL_RTC_H_
9 
10 #include <vitasdk/build_utils.h>
11 #include <psp2common/types.h>
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 
18 typedef enum SceRtcErrorCode {
34 
35 /* As returned by sceRtcGetDayOfWeek */
36 typedef enum SceRtcDayOfWeek {
44  __SCE_RTC_DAYOFWEEK = 0xFFFFFFFF
47 
48 typedef struct SceRtcTick {
50 } SceRtcTick;
52 
53 
54 #ifdef __cplusplus
55 }
56 #endif
57 
58 #endif /* _PSP2COMMON_KERNEL_RTC_H_ */
59 
SceRtcDayOfWeek
Definition: rtc.h:36
SceUInt64 tick
Definition: rtc.h:49
VITASDK_BUILD_ASSERT_EQ(4, SceRtcErrorCode)
SceRtcErrorCode
Definition: rtc.h:18
@ SCE_RTC_DAYOFWEEK_FRIDAY
Definition: rtc.h:42
@ SCE_RTC_DAYOFWEEK_MONDAY
Definition: rtc.h:38
@ SCE_RTC_DAYOFWEEK_THURSDAY
Definition: rtc.h:41
@ __SCE_RTC_DAYOFWEEK
Definition: rtc.h:44
@ SCE_RTC_DAYOFWEEK_TUESDAY
Definition: rtc.h:39
@ SCE_RTC_DAYOFWEEK_SATURDAY
Definition: rtc.h:43
@ SCE_RTC_DAYOFWEEK_WEDNESDAY
Definition: rtc.h:40
@ SCE_RTC_DAYOFWEEK_SUNDAY
Definition: rtc.h:37
@ SCE_RTC_ERROR_INVALID_DAY
Definition: rtc.h:27
@ SCE_RTC_ERROR_INVALID_HOUR
Definition: rtc.h:28
@ SCE_RTC_ERROR_INVALID_MONTH
Definition: rtc.h:26
@ SCE_RTC_ERROR_NOT_FOUND
Definition: rtc.h:23
@ SCE_RTC_ERROR_INVALID_MINUTE
Definition: rtc.h:29
@ SCE_RTC_ERROR_INVALID_VALUE
Definition: rtc.h:19
@ SCE_RTC_ERROR_NOT_INITIALIZED
Definition: rtc.h:21
@ SCE_RTC_ERROR_INVALID_SECOND
Definition: rtc.h:30
@ SCE_RTC_ERROR_INVALID_MICROSECOND
Definition: rtc.h:31
@ SCE_RTC_ERROR_INVALID_POINTER
Definition: rtc.h:20
@ SCE_RTC_ERROR_INVALID_YEAR
Definition: rtc.h:25
@ SCE_RTC_ERROR_BAD_PARSE
Definition: rtc.h:24
@ SCE_RTC_ERROR_ALREADY_REGISTERD
Definition: rtc.h:22
Definition: rtc.h:48
uint64_t SceUInt64
Definition: types.h:51