Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Similar API for Serial Interfaces / Example for SAM4L EK Documentation

Introduction

This example demonstrates how to use the USART Serial.

Main Files

  • usart_serial_example.c: the example application.
  • conf_board.h: board configuration
  • conf_stdio_serial.h: configuration of the usart_serial used by this example
  • usart_serial.h: Part Specific USART Serial Implementation
  • usart_serial.c : System implementation functions

basic/serial/usart_serial API

The usart_serial API can be found here.

Device Info

All devices can be used. This example has been tested with the following setup:

  • Evaluation kits with a serial interface (RS232 connection).

Description of the example

  • Send message on RS232 Com Port.
  • Performs echo of any received character

Compilation Info

This software was written for the GNU GCC and IAR. Other compilers may or may not work.

Contact Information

For further information, visit Microchip.