SERCX2_TRANSACTION_TYPE enumeration (sercx.h)

The SERCX2_TRANSACTION_TYPE enumeration defines constants that indicate the type of data-transfer mechanism to use to perform an I/O transaction.

Syntax

typedef enum _SERCX2_TRANSACTION_TYPE {
  SerCx2TransactionTypeDefault,
  SerCx2TransactionTypePio,
  SerCx2TransactionTypeSystemDma,
  SerCx2TransactionTypeCustom
} SERCX2_TRANSACTION_TYPE;

Constants

 
SerCx2TransactionTypeDefault
Let SerCx2 decide what type of data transfer to use for the I/O transaction.
SerCx2TransactionTypePio
Use programmed I/O (PIO) to perform the I/O transaction.
SerCx2TransactionTypeSystemDma
Use system DMA to perform the I/O transaction.
SerCx2TransactionTypeCustom
Use the custom data-transfer mechanism to perform the I/O transaction.

Remarks

The EvtSerCx2SelectNextReceiveTransactionType and EvtSerCx2SelectNextTransmitTransactionType event callback functions return SERCX2_TRANSACTION_TYPE enumeration values.

Requirements

Requirement Value
Header sercx.h

See also

EvtSerCx2SelectNextReceiveTransactionType

EvtSerCx2SelectNextTransmitTransactionType