Introduction


This guide is for those who want to do either of the following:

  • use the HCC Embedded Platform Support Package (PSP) interface for Universal Asynchronous Receiver/Transmitter (UART) drivers from their application.
  • implement a UART driver that conforms to the HCC Embedded UART PSP standard.

There are many different implementations of UART in microcontrollers. HCC has created a standard API for accessing UART drivers, so that all higher level software can be written independently of the specific UART hardware implementation. All HCC products that access a UART interface use the standard UART API interface defined in this document.

The UART PSP holds all platform-specific functionality, either because it relies on specific features of a target system, or because this provides the most efficient or flexible solution for the developer. The PSP provides the base functionality you need for your developments.

All PSP components are shipped as templates, code that you can use to build a real working PSP. In most cases real (default) code is included. The main components of the UART PSP template are PSP functions like psp_uart_rx() and psp_uart_tx(). This allows you to optimize these functions for your needs.

Note: HCC provides a wide range of ported UART drivers, suitable for most standard microcontrollers, that conform to this standard.