PSoC 6 Peripheral Driver Library
cy_stc_crypto_hw_error_t Struct Reference

Description

Structure for storing a description of a Crypto hardware error.

Data Fields

uint32_t errorStatus0
 Captures error description information for one of obtained hardware error: More...
 
uint32_t errorStatus1
 [31] - "1" - Indicates that hardware error has occured and ERROR_STATUS0 and ERROR_STATUS1 captured valid error-information. More...
 

Field Documentation

◆ errorStatus0

uint32_t cy_stc_crypto_hw_error_t::errorStatus0

Captures error description information for one of obtained hardware error:

  • for INSTR_OPC_ERROR: - violating the instruction.
  • for INSTR_CC_ERROR : - violating the instruction condition code.
  • for BUS_ERROR : - violating the transfer address.

◆ errorStatus1

uint32_t cy_stc_crypto_hw_error_t::errorStatus1

[31] - "1" - Indicates that hardware error has occured and ERROR_STATUS0 and ERROR_STATUS1 captured valid error-information.

[26..24] - The error source:

  • "0": INSTR_OPC_ERROR - an instruction decoder error.
  • "1": INSTR_CC_ERROR - an instruction condition code-error.
  • "2": BUS_ERROR - a bus master interface AHB-Lite bus-error.
    • [5..4] - violating the transfer, the size attribute
      • "0": an 8-bit transfer;
      • "1": 16 bits transfer;
      • "2": 32-bit transfer.
    • [0] - violating the transfer, read the attribute
  • "3": TR_AP_DETECT_ERROR - True Random Generator error.