CryptoAuthLib
Microchip CryptoAuthentication Library
atca_execution.h
Go to the documentation of this file.
1 
36 #ifndef ATCA_EXECUTION_H
37 #define ATCA_EXECUTION_H
38 
39 #include "atca_status.h"
40 #include "atca_command.h"
41 #include "atca_device.h"
42 
43 #ifdef __cplusplus
44 extern "C" {
45 #endif
46 
47 #define ATCA_UNSUPPORTED_CMD ((uint16_t)0xFFFF)
48 
49 #ifdef ATCA_NO_POLL
50 
53 typedef struct
54 {
55  uint8_t opcode;
56  uint16_t execution_time_msec;
57 }device_execution_time_t;
58 
59 ATCA_STATUS atGetExecTime(uint8_t opcode, ATCACommand ca_cmd);
60 #endif
61 
63 
64 #ifdef __cplusplus
65 }
66 #endif
67 #endif
68 
atca_command is the C object backing ATCACommand.
Definition: atca_command.h:52
Microchip Crypto Auth device object.
ATCA_STATUS atca_execute_command(ATCAPacket *packet, ATCADevice device)
Wakes up device, sends the packet, waits for command completion, receives response, and puts the device into the idle state.
Definition: atca_execution.c:286
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
atca_device is the C object backing ATCADevice. See the atca_device.h file for details on the ATCADev...
Definition: atca_device.h:44
Microchip Crypto Auth status codes.
an ATCA packet structure. This is a superset of the packet transmitted on the wire. It's also used as a buffer for receiving the response
Definition: atca_command.h:93