Z-Wave Protocol Controller Reference
ZW_typedefs.h
Go to the documentation of this file.
1/* © 2018 Silicon Laboratories Inc.
2 */
3/******************************* ZW_typedefs.h *******************************
4 * #######
5 * ## ##
6 * # ## #### ##### ##### ## ## #####
7 * ## ## ## ## ## ## ## ## ##
8 * ## # ###### ## ## #### ## ## ####
9 * ## ## ## ## ## ## ##### ##
10 * ####### #### ## ## ##### ## #####
11 * #####
12 * Products that speak Z-Wave work together better
13 *
14 * Copyright (c) 2008
15 * Zensys A/S
16 * Denmark
17 *
18 * All Rights Reserved
19 *
20 * This source file is subject to the terms and conditions of the
21 * Zensys Software License Agreement which restricts the manner
22 * in which it may be used.
23 *
24 *---------------------------------------------------------------------------
25 *
26 * Description: Module description
27 *
28 * Author: Ivar Jeppesen
29 *
30 * Last Changed By: $Author: efh $
31 * Revision: $Revision: 29359 $
32 * Last Changed: $Date: 2014-07-11 11:13:33 +0200 (fr, 11 jul 2014) $
33 *
34 ****************************************************************************/
35#ifndef _ZW_TYPEDEFS_H_
36#define _ZW_TYPEDEFS_H_
37
38/****************************************************************************/
39/* INCLUDE FILES */
40/****************************************************************************/
41#include <stdint.h>
42#include <stdbool.h>
43#include <stddef.h>
44
45/****************************************************************************/
46/* MACROS */
47/****************************************************************************/
48/****************************************************************************/
49/* EXPORTED TYPES and DEFINITIONS */
50/****************************************************************************/
51#define code
52#define xdata
53
54typedef unsigned char BYTE;
55typedef unsigned short WORD;
56typedef unsigned long DWORD;
57typedef bool BOOL;
58
59#define CODE /* Used for defining callback function which allways */
60 /* resides in code space. */
61
62#define TRUE true
63#define FALSE false
64
65/* Define for making easy and consistent callback definitions */
66#define VOID_CALLBACKFUNC(completedFunc) void (CODE *completedFunc)
67
68
69#define UNUSED(x) x = x; /* Hack to silence warning C280 Unreferenced local variable */
70
71
72#endif /* _ZW_TYPEDEFS_H_ */
unsigned short WORD
Definition: ZW_typedefs.h:55
unsigned char BYTE
Definition: ZW_typedefs.h:54
bool BOOL
Definition: ZW_typedefs.h:57
unsigned long DWORD
Definition: ZW_typedefs.h:56