Azure Sphere MT3620 M4 API Reference Manual
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Enum

This section introduces the enumerations that UART should configure before transfer. More...

Overview

This section introduces the enumerations that UART should configure before transfer.

Enumerations

enum  mhal_uart_data_len {
  UART_DATA_5_BITS = 0x00,
  UART_DATA_6_BITS = 0x01,
  UART_DATA_7_BITS = 0x02,
  UART_DATA_8_BITS = 0x03
}
 This enum defines UART data length. More...
 
enum  mhal_uart_parity {
  UART_NONE_PARITY = 0x00,
  UART_ODD_PARITY = 0x08,
  UART_EVEN_PARITY = 0x18,
  UART_MARK_PARITY = 0x28,
  UART_SPACE_PARITY = 0x38
}
 This enum defines UART parity parameter. More...
 
enum  mhal_uart_stop_bit {
  UART_STOP_1_BIT = 0x00,
  UART_STOP_2_BIT = 0x04
}
 This enum defines stop bit length. More...
 

Enumeration Type Documentation

This enum defines UART data length.

Enumerator
UART_DATA_5_BITS 

5 bits word length

UART_DATA_6_BITS 

6 bits word length

UART_DATA_7_BITS 

7 bits word length

UART_DATA_8_BITS 

8 bits word length

This enum defines UART parity parameter.

Enumerator
UART_NONE_PARITY 

Disbale parity.

UART_ODD_PARITY 

Enable odd parity.

UART_EVEN_PARITY 

Enable even parity.

UART_MARK_PARITY 

Enable mark parity.

UART_SPACE_PARITY 

Enable space parity.

This enum defines stop bit length.

Enumerator
UART_STOP_1_BIT 

1 stop bit

UART_STOP_2_BIT 

2 stop bits