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

This section introduces the Universal Asynchronous Receiver/Transmitter (UART) APIs including terms and acronyms, supported features, software architecture, details on how to use this driver, enums, structures and functions. More...

Overview

This section introduces the Universal Asynchronous Receiver/Transmitter (UART) APIs including terms and acronyms, supported features, software architecture, details on how to use this driver, enums, structures and functions.

Terms and Acronyms

Terms Details
DMA Direct Memory Access.
FIFO First In, First Out.
PIO Programming Input/Out Model.
UART Universal Asynchronous Receiver/Transmitter.

Supported Features

This controller supported features of UART are as follows.

  1. Word legth from five to eight bits
  2. Optional parity bit
  3. One or two Stop bits
  4. Hardward and software flow control
  5. Maximal baudrate is up to 3Mbps when UART system clock is in 26MHz
  6. TX FIFO depth: 16 bytes
  7. RX FIFO depth: 32 bytes
  8. PIO transfer mode
  9. DMA transfer mode

How to Use This Driver

Modules

 Define
 This section introduces the Macro definition which is used by UART M-HAL.
 
 Enum
 This section introduces the enumerations that UART should configure before transfer.
 
 Function
 This section provides Fixed APIs(defined as Common Interface) to fully control the MediaTek UART HW.
 
 Struct
 This section introduces the structure used by UART OS-HAL/M-HAL/HDL.
 
 Typedef
 This section introduces the typedef that UART M-HAL used.