CTR Pia  4.11.3
Game Communication Engine
clone_definitions.h
1 /*---------------------------------------------------------------------------*
2  Project: Pia
3  File: clone_definitions.h
4 
5  Copyright 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 
14 
15 #pragma once
16 
17 
18 #include <pia/platform.h>
19 
20 namespace nn
21 {
22 namespace pia
23 {
24 namespace clone
25 {
26 
27 //! @cond PRIVATE
28 typedef u16 SystemTime;
29 //! @endcond
30 
31 
32 //! @cond PRIVATE
33 static const SystemTime INVALID_SYSTEM_TIME = 0xffff;
34 //! @endcond
35 
36 //! @cond PRIVATE
37 static const u8 REGISTER_COUNT_BIT = 2;
38 static const u8 INVALID_REGISTER_COUNT = (0x1 << REGISTER_COUNT_BIT) - 1;
39 //! @endcond
40 
41 /*!
42 @brief Defines a type that holds a clock value.
43 */
44 typedef u32 ClockValue;
45 
46 
47 /*!
48 @brief Specifies an invalid clock value.
49 */
50 static const ClockValue INVALID_CLOCK = 0xffffffff;
51 }
52 }
53 } // end of namespace nn::pia::clone
54 
55 //The following are included in the header files for all classes in this module.
u32 ClockValue
Defines a type that holds a clock value.
Definition: clone_definitions.h:44
Definition: assert.h:115
static const ClockValue INVALID_CLOCK
Specifies an invalid clock value.
Definition: clone_definitions.h:50