Enumerations

enum axi_access_mode

Overview

AXI Address Access mode used to access AXI sub-devices via XVSEC-MCAP interface.

// enum values

MCAP_AXI_MODE_32B = 0
MCAP_AXI_MODE_128B

Enum values

ValueDescription
MCAP_AXI_MODE_32B

32-bit AXI address mode

MCAP_AXI_MODE_128B

128-bit AXI address mode

enum axi_address_type

Overview

Indicates the AXI device access type.

FIFO type devices support fixed mode where the address is fixed.

Other types of device support increment address type
where the address to be incremented for every transaction.
// enum values

FIXED_ADDRESS = 0
INCREMENT_ADDRESS

Enum values

ValueDescription
FIXED_ADDRESS

Fixed address type for FIFO type devices

INCREMENT_ADDRESS

Increment address type for other devices

enum bitstream_program_status

Overview

Enumeration for XVSEC-MCAP bitstream program Result.

// enum values

MCAP_BITSTREAM_PROGRAM_SUCCESS = 0
MCAP_BITSTREAM_PROGRAM_FAILURE = 1

Enum values

ValueDescription
MCAP_BITSTREAM_PROGRAM_SUCCESS

Programming Success Indication

MCAP_BITSTREAM_PROGRAM_FAILURE

Programming Failure Indication

enum data_transfer_mode

Overview

Indicates mode of data transfer for download functionality.

// enum values

DATA_TRANSFER_MODE_FAST = 0
DATA_TRANSFER_MODE_SLOW

Enum values

ValueDescription
DATA_TRANSFER_MODE_FAST

Fast Transfer mode and the default one when not specified

DATA_TRANSFER_MODE_SLOW

Slow Transfer mode

enum file_operation_status

Overview

Indicates File operation(Download/Upload) result.

// enum values

FILE_OP_SUCCESS = 0
FILE_OP_FAIL_SLVERR = 1
FILE_OP_FAIL_DECERR = 2
FILE_OP_RESERVED = 3
FILE_OP_FAILED
FILE_OP_ZERO_FSIZE
FILE_OP_INVALID_FSIZE
FILE_OP_HW_BUSY
FILE_PATH_TOO_LONG

Enum values

ValueDescription
FILE_OP_SUCCESS

File Operation Successful

FILE_OP_FAIL_SLVERR

File Operation failed with XVSEC-MCAP error SLVERR

FILE_OP_FAIL_DECERR

File Operation failed with XVSEC-MCAP error DECERR

FILE_OP_FAILED

File operation failed

FILE_OP_ZERO_FSIZE

Zero size file is provided as input

FILE_OP_INVALID_FSIZE

Valid File size is not provided

for 32-bit mode, file size must be multiple of 32-bits / 4 bytes

for 128-bit mode, file size must be multiple of 128-bits / 16 bytes

FILE_OP_HW_BUSY

File operation failed with XVSEC-MCAP HW timeout on completion

FILE_PATH_TOO_LONG

Provided file path is too long to fit in internal buffers