ClearCore Library
Classes | Namespaces | Macros
SerialBase.h File Reference
#include <stdint.h>
#include <sam.h>
#include "DmaManager.h"
#include "ISerial.h"
#include "PeripheralRoute.h"
+ Include dependency graph for SerialBase.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ClearCore::SerialBase
 ClearCore ARM Serial Port base class. More...
 
union  ClearCore::SerialBase::SerialErrorStatusRegister
 

Namespaces

 ClearCore
 Namespace to encompass the ClearCore board API.
 

Macros

#define SERIAL_BUFFER_SIZE   64
 
#define SERCOM_NVIC_RX_PRIORITY   (static_cast<IRQn_Type>(1))
 
#define SERCOM_NVIC_TX_PRIORITY   (static_cast<IRQn_Type>(1))
 
#define SERCOM_NVIC_ERR_PRIORITY   (static_cast<IRQn_Type>(7))
 

Detailed Description

This class controls access to the Serial Port device in the ARM processor.

It will allow you to set up:

Macro Definition Documentation

#define SERCOM_NVIC_ERR_PRIORITY   (static_cast<IRQn_Type>(7))

Serial error interrupt priority level.

#define SERCOM_NVIC_RX_PRIORITY   (static_cast<IRQn_Type>(1))

Serial receive interrupt priority level.

#define SERCOM_NVIC_TX_PRIORITY   (static_cast<IRQn_Type>(1))

Serial transmit interrupt priority level.

#define SERIAL_BUFFER_SIZE   64

Size of the serial send and receive buffers, in bytes (64).