The friendly Operating System for the Internet of Things
jc42_internal.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2017 Koen Zandberg
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
19 #ifndef JC42_INTERNAL_H
20 #define JC42_INTERNAL_H
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
30 #define JC42_REG_CAP (0x00)
31 #define JC42_REG_CONFIG (0x01)
32 #define JC42_REG_TEMP_UPPER (0x02)
33 #define JC42_REG_TEMP_LOWER (0x03)
34 #define JC42_REG_TEMP_CRITICAL (0x04)
35 #define JC42_REG_TEMP (0x05)
36 #define JC42_REG_MANID (0x06)
37 #define JC42_REG_DEVICEID (0x07)
38 
39 #define jc42_BUS_FREE_TIME_US (1)
40 
43 #ifdef __cplusplus
44 }
45 #endif
46 
50 #endif /* JC42_INTERNAL_H */