1 /* Cryptoauthlib Configuration File */ 2 #ifndef ATCA_CONFIG_H 3 #define ATCA_CONFIG_H 4 5 /* Include HALS */ 6 #define ATCA_HAL_I2C 7 8 /* Included device support */ 9 #define ATCA_ATECC608A_SUPPORT 10 11 /* ATECC608A I2C bus configuration */ 12 #define ATCA_HAL_ATECC608A_I2C_FREQUENCY 100000U 13 #define ATCA_HAL_ATECC608A_I2C_BUS_PINS 2U 14 #define ATCA_HAL_ATECC608A_I2C_ADDRESS 0x59U 15 #define ATCA_HAL_ATECC608A_I2C_RX_RETRIES 20 16 #define ATCA_HAL_ATECC608A_I2C_WAKEUP_DELAY 1500U 17 18 /* \brief How long to wait after an initial wake failure for the POST to 19 * complete. 20 * If Power-on self test (POST) is enabled, the self test will run on waking 21 * from sleep or during power-on, which delays the wake reply. 22 */ 23 #ifndef ATCA_POST_DELAY_MSEC 24 #define ATCA_POST_DELAY_MSEC 25 25 #endif 26 27 #endif