1 /*---------------------------------------------------------------------------*
2   Project:  TwlSDK - rtc - include
3   File:     api_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_ARM9_API_EX_H_
18 #define TWL_RTC_ARM9_API_EX_H_
19 #ifdef  __cplusplus
20 extern  "C" {
21 #endif
22 /*---------------------------------------------------------------------------*/
23 
24 #include    <nitro/rtc/common/type.h>
25 
26 /*---------------------------------------------------------------------------*
27     Function Definitions
28  *---------------------------------------------------------------------------*/
29 /* Functions for controlling added TWL features */
30 RTCResult   RTCi_GetCounterAsync(u32 *count, RTCCallback callback, void *arg);
31 RTCResult   RTCi_GetCounter(u32 *count);
32 RTCResult   RTCi_GetFoutAsync(u16 *fout, RTCCallback callback, void *arg);
33 RTCResult   RTCi_GetFout(u16 *fout);
34 RTCResult   RTCi_SetFoutAsync(const u16 *fout, RTCCallback callback, void *arg);
35 RTCResult   RTCi_SetFout(const u16 *fout);
36 
37 
38 /*---------------------------------------------------------------------------*/
39 #ifdef __cplusplus
40 }   /* extern "C" */
41 #endif
42 #endif  /* TWL_RTC_ARM9_API_EX_H_ */
43