S32 SDK
status.h File Reference

Go to the source code of this file.

Enumerations

enum  status_t {
  STATUS_SUCCESS = 0x0U, STATUS_ERROR = 0x1U, STATUS_BUSY = 0x2U, STATUS_TIMEOUT = 0x3U,
  STATUS_UNSUPPORTED = 0x4U, STATUS_MCU_GATED_OFF = 0x100U, STATUS_MCU_TRANSITION_FAILED = 0x101U, STATUS_MCU_INVALID_STATE = 0x102U,
  STATUS_MCU_NOTIFY_BEFORE_ERROR = 0x103U, STATUS_MCU_NOTIFY_AFTER_ERROR = 0x104U, STATUS_I2C_RECEIVED_NACK = 0x200U, STATUS_I2C_TX_UNDERRUN = 0x201U,
  STATUS_I2C_RX_OVERRUN = 0x202U, STATUS_I2C_ARBITRATION_LOST = 0x203U, STATUS_I2C_ABORTED = 0x204U, STATUS_I2C_BUS_BUSY = 0x205U,
  STATUS_FLEXCAN_MB_OUT_OF_RANGE = 0x300U, STATUS_FLEXCAN_NO_TRANSFER_IN_PROGRESS = 0x301U, STATUS_CSEC_SEQUENCE_ERROR = 0x400U, STATUS_CSEC_KEY_NOT_AVAILABLE = 0x401U,
  STATUS_CSEC_KEY_INVALID = 0x402U, STATUS_CSEC_KEY_EMPTY = 0x403U, STATUS_CSEC_NO_SECURE_BOOT = 0x404U, STATUS_CSEC_KEY_WRITE_PROTECTED = 0x405U,
  STATUS_CSEC_KEY_UPDATE_ERROR = 0x406U, STATUS_CSEC_RNG_SEED = 0x407U, STATUS_CSEC_NO_DEBUGGING = 0x408U, STATUS_CSEC_MEMORY_FAILURE = 0x409U,
  STATUS_SPI_TX_UNDERRUN = 0x500U, STATUS_SPI_RX_OVERRUN = 0x501U, STATUS_SPI_ABORTED = 0x502U, STATUS_UART_TX_UNDERRUN = 0x600U,
  STATUS_UART_RX_OVERRUN = 0x601U, STATUS_UART_ABORTED = 0x602U, STATUS_I2S_TX_UNDERRUN = 0x700U, STATUS_I2S_RX_OVERRUN = 0x701U,
  STATUS_I2S_ABORTED = 0x702U, SBC_NVN_ERROR = 0x800U, SBC_COMM_ERROR = 0x801U, SBC_CMD_ERROR = 0x802U
}
 Status return codes. Common error codes will be a unified enumeration (C enum) that will contain all error codes (common and specific). There will be separate "error values spaces" (or slots), each of 256 positions, allocated per functionality. More...
 

Enumeration Type Documentation

enum status_t

Status return codes. Common error codes will be a unified enumeration (C enum) that will contain all error codes (common and specific). There will be separate "error values spaces" (or slots), each of 256 positions, allocated per functionality.

Enumerator
STATUS_SUCCESS 

Generic operation success status

STATUS_ERROR 

Generic operation failure status

STATUS_BUSY 

Generic operation busy status

STATUS_TIMEOUT 

Generic operation timeout status

STATUS_UNSUPPORTED 

Generic operation unsupported status

STATUS_MCU_GATED_OFF 

Module is gated off

STATUS_MCU_TRANSITION_FAILED 

Error occurs during transition.

STATUS_MCU_INVALID_STATE 

Unsupported in current state.

STATUS_MCU_NOTIFY_BEFORE_ERROR 

Error occurs during send "BEFORE" notification.

STATUS_MCU_NOTIFY_AFTER_ERROR 

Error occurs during send "AFTER" notification.

STATUS_I2C_RECEIVED_NACK 

NACK signal received

STATUS_I2C_TX_UNDERRUN 

TX underrun error

STATUS_I2C_RX_OVERRUN 

RX overrun error

STATUS_I2C_ARBITRATION_LOST 

Arbitration lost

STATUS_I2C_ABORTED 

A transfer was aborted

STATUS_I2C_BUS_BUSY 

I2C bus is busy, cannot start transfer

STATUS_FLEXCAN_MB_OUT_OF_RANGE 

The specified MB index is out of the configurable range

STATUS_FLEXCAN_NO_TRANSFER_IN_PROGRESS 

There is no transmission or reception in progress

STATUS_CSEC_SEQUENCE_ERROR 

The sequence of commands or subcommands is out of sequence

STATUS_CSEC_KEY_NOT_AVAILABLE 

A key is locked due to failed boot measurement or an active debugger

STATUS_CSEC_KEY_INVALID 

A function is called to perform an operation with a key that is not allowed for the given operation

STATUS_CSEC_KEY_EMPTY 

Attempt to use a key that has not been initialized yet

STATUS_CSEC_NO_SECURE_BOOT 

The conditions for a secure boot process are not met

STATUS_CSEC_KEY_WRITE_PROTECTED 

Request for updating a write protected key slot, or activating debugger with write protected key(s)

STATUS_CSEC_KEY_UPDATE_ERROR 

Key update did not succeed due to errors in verification of the messages

STATUS_CSEC_RNG_SEED 

Returned by CMD_RND and CMD_DEBUG if the seed has not been initialized before

STATUS_CSEC_NO_DEBUGGING 

DEBUG command authentication failed

STATUS_CSEC_MEMORY_FAILURE 

General memory technology failure (multibit ECC error, common fault detected)

STATUS_SPI_TX_UNDERRUN 

TX underrun error

STATUS_SPI_RX_OVERRUN 

RX overrun error

STATUS_SPI_ABORTED 

A transfer was aborted

STATUS_UART_TX_UNDERRUN 

TX underrun error

STATUS_UART_RX_OVERRUN 

RX overrun error

STATUS_UART_ABORTED 

A transfer was aborted

STATUS_I2S_TX_UNDERRUN 

TX underrun error

STATUS_I2S_RX_OVERRUN 

RX overrun error

STATUS_I2S_ABORTED 

A transfer was aborted

SBC_NVN_ERROR 

Unsuccessful attempt writing to non volatile memory (0x73 and 0x74). Set device to factory settings.

SBC_COMM_ERROR 

Data transfer was aborted

SBC_CMD_ERROR 

Wrong command.

Definition at line 31 of file status.h.