Modules | Macros
ECDH_control command and status codes

Modules

 Status Codes
 
 Command Codes
 

Macros

#define ECDH_CMD_RESERVED   (32)
 
#define ECDH_STATUS_RESERVED   (-32)
 

Detailed Description

These ECC macros are reservations for ECC.h

Macro Definition Documentation

§ ECDH_CMD_RESERVED

#define ECDH_CMD_RESERVED   (32)

Common ECDH_control command code reservation offset. ECC driver implementations should offset command codes with ECDH_CMD_RESERVED growing positively

Example implementation specific command codes:

#define ECCXYZ_CMD_COMMAND0 ECDH_CMD_RESERVED + 0
#define ECCXYZ_CMD_COMMAND1 ECDH_CMD_RESERVED + 1

§ ECDH_STATUS_RESERVED

#define ECDH_STATUS_RESERVED   (-32)

Common ECDH_control status code reservation offset. ECC driver implementations should offset status codes with ECDH_STATUS_RESERVED growing negatively.

Example implementation specific status codes:

#define ECCXYZ_STATUS_ERROR0 ECDH_STATUS_RESERVED - 0
#define ECCXYZ_STATUS_ERROR1 ECDH_STATUS_RESERVED - 1
#define ECCXYZ_STATUS_ERROR2 ECDH_STATUS_RESERVED - 2
Copyright 2018, Texas Instruments Incorporated