CryptoAuthLib
Atmel CryptoAuthentication Library
atca_device.h
Go to the documentation of this file.
1 
43 #ifndef ATCA_DEVICE_H
44 #define ATCA_DEVICE_H
45 
46 #include "atca_command.h"
47 #include "atca_iface.h"
51 #ifdef __cplusplus
52 extern "C" {
53 #endif
54 
55 typedef struct atca_device * ATCADevice;
56 ATCADevice newATCADevice(ATCAIfaceCfg *cfg ); // constructor
57 
58 /* member functions here */
59 ATCACommand atGetCommands( ATCADevice dev );
60 ATCAIface atGetIFace( ATCADevice dev );
61 
62 void deleteATCADevice( ATCADevice *dev ); // destructor
63 /*---- end of OATCADevice ----*/
64 
65 #ifdef __cplusplus
66 }
67 #endif
68 
69 #endif
atca_command is the C object backing ATCACommand. See the atca_command.h file for details on the ATCA...
Definition: atca_command.c:61
char * dev
HAL implementation of Kit USB CDC init.
Definition: hal_linux_kit_cdc.c:84
ATCAIface atGetIFace(ATCADevice dev)
returns a reference to the ATCAIface interface object for the device
Definition: atca_device.c:96
atca_iface is the C object backing ATCAIface. See the atca_iface.h file for details on the ATCAIface ...
Definition: atca_iface.c:57
Definition: atca_iface.h:74
ATCACommand atGetCommands(ATCADevice dev)
returns a reference to the ATCACommand object for the device
Definition: atca_device.c:86
Atmel Crypto Auth device command object - this is a command builder only, it does not send the comman...
void deleteATCADevice(ATCADevice *cadev)
destructor for a device NULLs reference after object is freed
Definition: atca_device.c:106
struct atca_device * ATCADevice
Definition: atca_device.h:55
ATCADevice newATCADevice(ATCAIfaceCfg *cfg)
constructor for an Atmel CryptoAuth device
Definition: atca_device.c:63
Atmel Crypto Auth hardware interface object.
atca_device is the C object backing ATCADevice. See the atca_device.h file for details on the ATCADev...
Definition: atca_device.c:53