Structs

\brief an intermediary data structure to allow the HAL layer to point the standard API functions used by the upper layers to the HAL implementation for the interface. This isolates the upper layers and loosely couples the ATCAIface object from the physical implementation.

Context structure for AES GCM operations.

\brief atca_command is the C object backing ATCACommand.

\brief atca_device is the C object backing ATCADevice. See the atca_device.h file for details on the ATCADevice methods.

\brief atca_iface is the C object backing ATCAIface. See the atca_iface.h file for details on the ATCAIface methods

Constants

!< Couldn’t allocate required memory

!< Code failed run-time consistency check

!< opcode is not supported by the device

!< bad argument (out of range, null pointer, etc.)

!< response status byte indicates CheckMac failure (status byte = 0x01)

!< Communication with device failed. Same as in hardware dependent modules.

!< chip was in a state where it could not execute the command, response status byte indicates command execution error (status byte = 0x0F)

!< Function could not execute due to incorrect condition / state.

!< unspecified error

!< random number generator health test error

!< invalid device id, id not set

!< Count value is out of range or greater than buffer size.

!< required zone was not locked

!< For protocols that support device discovery (kit protocol), no devices were found

!< for protocols needing parity

!< response status byte indicates parsing error (status byte = 0x03)

!< Re-synchronization succeeded, but only after generating a Wake-up

!< CRC error in data received from device

!< Timed out while waiting for response. Number of bytes received is > 0.

!< Not an error while the Command layer is polling for a command response.

!< for Microchip PHY protocol, timeout on receipt waiting for master

!< Supplied buffer is too small for data required

!< response status byte indicates DEVICE did not receive data properly (status byte = 0xFF)

!< response status byte is ECC fault (status byte = 0x05)

!< response status byte is Self Test Error, chip in failure mode (status byte = 0x07)

!< response status byte is unknown

!< Function succeeded.

!< Timed out while waiting for response. Number of bytes received is 0.

!< Device did not respond too many times during a transmission. Could indicate no device present.

!< Failed to write

!< for Microchip PHY protocol, timeout on transmission waiting for master

!< Function or some element of it hasn’t been implemented yet

!< Use flags on the device indicates its consumed fully

!< response status byte indicates CheckMac failure (status byte = 0x01)

!< received proper wake token

Statics

Functions

\brief Optional hal interfaces

\brief Timer API implemented at the HAL level

Type Definitions

Unions