MTB CAT1 Peripheral driver library

General Description

Enumerations

enum  cy_en_scb_uart_status_t {
  CY_SCB_UART_SUCCESS = 0U,
  CY_SCB_UART_BAD_PARAM = (CY_SCB_ID | CY_PDL_STATUS_ERROR | CY_SCB_UART_ID | 1U),
  CY_SCB_UART_RECEIVE_BUSY = (CY_SCB_ID | CY_PDL_STATUS_ERROR | CY_SCB_UART_ID | 2U),
  CY_SCB_UART_TRANSMIT_BUSY = (CY_SCB_ID | CY_PDL_STATUS_ERROR | CY_SCB_UART_ID | 3U)
}
 UART status codes. More...
 
enum  cy_en_scb_uart_mode_t {
  CY_SCB_UART_STANDARD = 0U,
  CY_SCB_UART_SMARTCARD = 1U,
  CY_SCB_UART_IRDA = 2U
}
 UART Mode. More...
 
enum  cy_en_scb_uart_stop_bits_t {
  CY_SCB_UART_STOP_BITS_1 = 2U,
  CY_SCB_UART_STOP_BITS_1_5 = 3U,
  CY_SCB_UART_STOP_BITS_2 = 4U,
  CY_SCB_UART_STOP_BITS_2_5 = 5U,
  CY_SCB_UART_STOP_BITS_3 = 6U,
  CY_SCB_UART_STOP_BITS_3_5 = 7U,
  CY_SCB_UART_STOP_BITS_4 = 8U
}
 UART Stop Bits. More...
 
enum  cy_en_scb_uart_parity_t {
  CY_SCB_UART_PARITY_NONE = 0U,
  CY_SCB_UART_PARITY_EVEN = 2U,
  CY_SCB_UART_PARITY_ODD = 3U
}
 UART Parity. More...
 
enum  cy_en_scb_uart_polarity_t {
  CY_SCB_UART_ACTIVE_LOW = 0U,
  CY_SCB_UART_ACTIVE_HIGH = 1U
}
 UART Polarity. More...
 

Enumeration Type Documentation

◆ cy_en_scb_uart_status_t

UART status codes.

Enumerator
CY_SCB_UART_SUCCESS 

Operation completed successfully.

CY_SCB_UART_BAD_PARAM 

One or more of input parameters are invalid.

CY_SCB_UART_RECEIVE_BUSY 

The UART is busy processing a receive operation.

CY_SCB_UART_TRANSMIT_BUSY 

The UART is busy processing a transmit operation.

◆ cy_en_scb_uart_mode_t

UART Mode.

Enumerator
CY_SCB_UART_STANDARD 

Configures the SCB for Standard UART operation.

CY_SCB_UART_SMARTCARD 

Configures the SCB for SmartCard operation.

CY_SCB_UART_IRDA 

Configures the SCB for IrDA operation.

◆ cy_en_scb_uart_stop_bits_t

UART Stop Bits.

Enumerator
CY_SCB_UART_STOP_BITS_1 

UART looks for 1 Stop Bit.

CY_SCB_UART_STOP_BITS_1_5 

UART looks for 1.5 Stop Bits.

CY_SCB_UART_STOP_BITS_2 

UART looks for 2 Stop Bits.

CY_SCB_UART_STOP_BITS_2_5 

UART looks for 2.5 Stop Bits.

CY_SCB_UART_STOP_BITS_3 

UART looks for 3 Stop Bits.

CY_SCB_UART_STOP_BITS_3_5 

UART looks for 3.5 Stop Bits.

CY_SCB_UART_STOP_BITS_4 

UART looks for 4 Stop Bits.

◆ cy_en_scb_uart_parity_t

UART Parity.

Enumerator
CY_SCB_UART_PARITY_NONE 

UART has no parity check.

CY_SCB_UART_PARITY_EVEN 

UART has even parity check.

CY_SCB_UART_PARITY_ODD 

UART has odd parity check.

◆ cy_en_scb_uart_polarity_t

UART Polarity.

Enumerator
CY_SCB_UART_ACTIVE_LOW 

Signal is active low.

CY_SCB_UART_ACTIVE_HIGH 

Signal is active high.