SECURITY_XPLAINED extension board adaptation.
Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | SHA204_I2C_DEFAULT_ADDRESS (0xCA) |
TWI address used at SHA204 library startup. More... | |
Functions | |
void | security_board_init (void) |
This function initializes peripherals needed to communicate with the I2C security devices (ATSHA204 and ATAES132). More... | |
uint8_t | sha204_i2c_address (uint8_t index) |
This function returns the I2C address of a chosen SHA204 device. More... | |
#define SHA204_I2C_DEFAULT_ADDRESS (0xCA) |
TWI address used at SHA204 library startup.
Referenced by sha204_i2c_address().
void security_board_init | ( | void | ) |
This function initializes peripherals needed to communicate with the I2C security devices (ATSHA204 and ATAES132).
References sha204p_init().
uint8_t sha204_i2c_address | ( | uint8_t | index | ) |
This function returns the I2C address of a chosen SHA204 device.
[in] | index | the selected device on the Security Xplained board |
References SHA204_DEVICE_COUNT, and SHA204_I2C_DEFAULT_ADDRESS.
Referenced by main(), sha204_sleep_all(), and test_all_devices().