ATCA Hardware abstraction layer for SWI over UART drivers. More...
#include "cryptoauthlib.h"
Functions | |
ATCA_STATUS | hal_swi_init (ATCAIface iface, ATCAIfaceCfg *cfg) |
initialize an SWI interface using given config | |
ATCA_STATUS | hal_swi_post_init (ATCAIface iface) |
HAL implementation of SWI post init. | |
ATCA_STATUS | hal_swi_send (ATCAIface iface, uint8_t word_address, uint8_t *txdata, int txlength) |
HAL implementation of SWI send command over UART. | |
ATCA_STATUS | hal_swi_receive (ATCAIface iface, uint8_t word_address, uint8_t *rxdata, uint16_t *rxlength) |
HAL implementation of SWI receive function over UART. | |
ATCA_STATUS | hal_swi_wake (ATCAIface iface) |
Send Wake flag via SWI. | |
ATCA_STATUS | hal_swi_sleep (ATCAIface iface) |
Send Sleep flag via SWI. | |
ATCA_STATUS | hal_swi_idle (ATCAIface iface) |
Send Idle flag via SWI. | |
ATCA_STATUS | hal_swi_control (ATCAIface iface, uint8_t option, void *param, size_t paramlen) |
Perform control operations for the kit protocol. | |
ATCA_STATUS | hal_swi_release (void *hal_data) |
manages reference count on given bus and releases resource if no more refences exist | |
ATCA Hardware abstraction layer for SWI over UART drivers.