CryptoAuthLib v3.7.6
Microchip CryptoAuthentication Library
 
Loading...
Searching...
No Matches
hal_kit_bridge.h File Reference

Kit Bridging HAL for cryptoauthlib. This is not intended to be a zero copy driver. It should work with any interface that confirms to a few basic requirements: a) will accept an arbitrary number of bytes and packetize it if necessary for transmission, b) will block for the duration of the transmit. More...

Macros

#define BRIDGE_PROTOCOL_VERSION   (2)
 
#define HAL_KIT_COMMAND_SEND   0x01
 
#define HAL_KIT_COMMAND_RECV   0x02
 
#define HAL_KIT_COMMAND_WAKE   0x03
 
#define HAL_KIT_COMMAND_IDLE   0x04
 
#define HAL_KIT_COMMAND_SLEEP   0x05
 
#define HAL_KIT_HEADER_LEN   (3)
 

Functions

ATCA_STATUS hal_kit_attach_phy (ATCAIfaceCfg *cfg, atca_hal_kit_phy_t *phy)
 Helper function that connects a physical layer context structure that will be used by the kit protocol bridge.
 

Detailed Description

Kit Bridging HAL for cryptoauthlib. This is not intended to be a zero copy driver. It should work with any interface that confirms to a few basic requirements: a) will accept an arbitrary number of bytes and packetize it if necessary for transmission, b) will block for the duration of the transmit.