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 
9 #pragma once
10 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
29 #define JC42_REG_CAP (0x00)
30 #define JC42_REG_CONFIG (0x01)
31 #define JC42_REG_TEMP_UPPER (0x02)
32 #define JC42_REG_TEMP_LOWER (0x03)
33 #define JC42_REG_TEMP_CRITICAL (0x04)
34 #define JC42_REG_TEMP (0x05)
35 #define JC42_REG_MANID (0x06)
36 #define JC42_REG_DEVICEID (0x07)
43 #define JC42_BUS_FREE_TIME_US (1U)
46 #ifdef __cplusplus
47 }
48 #endif
49