1 /*---------------------------------------------------------------------------*
2   Project:  TwlSDK - rtc - include
3   File:     fifo_ex.h
4 
5   Copyright 2007-2008 Nintendo. All rights reserved.
6 
7   These coded instructions, statements, and computer programs contain
8   proprietary information of Nintendo of America Inc. and/or Nintendo
9   Company Ltd., and are protected by Federal copyright law. They may
10   not be disclosed to third parties or copied or duplicated in any form,
11   in whole or in part, without the prior written consent of Nintendo.
12 
13   $Date:: 2008-09-18#$
14   $Rev: 8573 $
15   $Author: okubata_ryoma $
16  *---------------------------------------------------------------------------*/
17 #ifndef TWL_RTC_COMMON_FIFO_EX_H_
18 #define TWL_RTC_COMMON_FIFO_EX_H_
19 #ifdef  __cplusplus
20 extern  "C" {
21 #endif
22 /*---------------------------------------------------------------------------*/
23 
24 /*---------------------------------------------------------------------------*
25     Constant Definitions
26  *---------------------------------------------------------------------------*/
27 /* Additional PXI Command Definitions */
28 #define RTC_PXI_COMMAND_READ_COUNTER        0x50        /* Read the up counter */
29 #define RTC_PXI_COMMAND_READ_FOUT           0x51        /* Read the FOUT setting value */
30 #define RTC_PXI_COMMAND_READ_ALARM_EX1      0x52        /* Read the Alarm 1 setting value (extended version) */
31 #define RTC_PXI_COMMAND_READ_ALARM_EX2      0x53        /* Read the Alarm 2 setting value (extended version) */
32 #define RTC_PXI_COMMAND_WRITE_FOUT          0x61        /* Write the FOUT setting value */
33 #define RTC_PXI_COMMAND_WRITE_ALARM_EX1     0x62        /* Write the Alarm 1 setting value (extended version) */
34 #define RTC_PXI_COMMAND_WRITE_ALARM_EX2     0x63        /* Write the Alarm 2 setting value (extended version) */
35 
36 
37 /*---------------------------------------------------------------------------*/
38 #ifdef __cplusplus
39 }   /* extern "C" */
40 #endif
41 #endif  /* TWL_RTC_COMMON_FIFO_EX_H_ */
42