ATCA_STATUS releaseATCADevice(ATCADevice ca_dev)
Release any resources associated with the device.
Definition: atca_device.c:164
Definition: atca_iface.h:66
atca_command is the C object backing ATCACommand.
Definition: atca_command.h:52
Microchip Crypto Auth device command object - this is a command builder only, it does not send the co...
ATCA_STATUS
Definition: atca_status.h:41
struct atca_device * ATCADevice
Definition: atca_device.h:50
char * dev
Definition: hal_linux_kit_cdc.c:59
ATCAIface mIface
Physical interface.
Definition: atca_device.h:47
atca_device is the C object backing ATCADevice. See the atca_device.h file for details on the ATCADev...
Definition: atca_device.h:44
ATCAIface atGetIFace(ATCADevice dev)
returns a reference to the ATCAIface interface object for the device
Definition: atca_device.c:155
Microchip Crypto Auth hardware interface object.
void deleteATCADevice(ATCADevice *ca_dev)
destructor for a device NULLs reference after object is freed
Definition: atca_device.c:90
ATCADevice newATCADevice(ATCAIfaceCfg *cfg)
constructor for a Microchip CryptoAuth device
Definition: atca_device.c:41
ATCACommand atGetCommands(ATCADevice dev)
returns a reference to the ATCACommand object for the device
Definition: atca_device.c:146
atca_iface is the C object backing ATCAIface. See the atca_iface.h file for details on the ATCAIface ...
Definition: atca_iface.h:129
ATCA_STATUS initATCADevice(ATCAIfaceCfg *cfg, ATCADevice ca_dev)
Initializer for an Microchip CryptoAuth device.
Definition: atca_device.c:118
ATCACommand mCommands
Command set for a given CryptoAuth device.
Definition: atca_device.h:46