atca.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2019 HAW Hamburg
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 
20 #ifndef ATCA_H
21 #define ATCA_H
22 
23 #include "periph/i2c.h"
24 #include "cryptoauthlib.h"
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
33 #define ATCA_I2C_ADDR (0xC0)
35 #define ATCA_WAKE_ADDR (0x00)
36 #define ATCA_SLEEP_ADDR (0x01)
37 #define ATCA_IDLE_ADDR (0x02)
38 #define ATCA_DATA_ADDR (0x03)
40 #ifdef __cplusplus
41 }
42 #endif
43 
44 #endif /* ATCA_H */
45 
i2c.h
Low-level I2C peripheral driver interface definition.