Mistake on this page?
Report an issue in GitHub or email us
wland_types.h
1 /* Copyright (c) 2019 Unisoc Communications Inc.
2  * SPDX-License-Identifier: Apache-2.0
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 /*****************************************************************************/
18 /* */
19 /* File Name : wland_types.h */
20 /* */
21 /* Description : This file contains all the data type definitions for */
22 /* MAC implementation. */
23 /* */
24 /*****************************************************************************/
25 
26 #ifndef WLAND_TYPES_H
27 #define WLAND_TYPES_H
28 
29 /*****************************************************************************/
30 /* Constants Definitions */
31 /*****************************************************************************/
32 
33 typedef unsigned char u8;
34 typedef unsigned short u16;
35 typedef unsigned int u32;
36 typedef unsigned long long u64;
37 typedef signed char s8;
38 typedef signed short s16;
39 typedef signed int s32;
40 typedef signed long long s64;
41 
42 typedef unsigned int size_t;
43 
44 /** Indicates Bit Value of BITx */
45 #ifndef BIT
46 #define BIT(x) (1ul << (x))
47 
48 /*****************************************************************************/
49 /* Constant Definitions */
50 /*****************************************************************************/
51 
52 #define BIT0 (1ul << 0)
53 #define BIT1 (1ul << 1)
54 #define BIT2 (1ul << 2)
55 #define BIT3 (1ul << 3)
56 #define BIT4 (1ul << 4)
57 #define BIT5 (1ul << 5)
58 #define BIT6 (1ul << 6)
59 #define BIT7 (1ul << 7)
60 #define BIT8 (1ul << 8)
61 #define BIT9 (1ul << 9)
62 #define BIT10 (1ul << 10)
63 #define BIT11 (1ul << 11)
64 #define BIT12 (1ul << 12)
65 #define BIT13 (1ul << 13)
66 #define BIT14 (1ul << 14)
67 #define BIT15 (1ul << 15)
68 #define BIT16 (1ul << 16)
69 #define BIT17 (1ul << 17)
70 #define BIT18 (1ul << 18)
71 #define BIT19 (1ul << 19)
72 #define BIT20 (1ul << 20)
73 #define BIT21 (1ul << 21)
74 #define BIT22 (1ul << 22)
75 #define BIT23 (1ul << 23)
76 #define BIT24 (1ul << 24)
77 #define BIT25 (1ul << 25)
78 #define BIT26 (1ul << 26)
79 #define BIT27 (1ul << 27)
80 #define BIT28 (1ul << 28)
81 #define BIT29 (1ul << 29)
82 #define BIT30 (1ul << 30)
83 #define BIT31 (1ul << 31)
84 #endif
85 
86 #endif /* WLAND_TYPES_H */
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.