ClearCore Library
Loading...
Searching...
No Matches
Classes | Namespaces | Macros
SerialUsb.h File Reference
#include <inttypes.h>
#include "Connector.h"
#include "ISerial.h"
+ Include dependency graph for SerialUsb.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ClearCore::SerialUsb
 ClearCore Serial USB Connector class. More...
 

Namespaces

namespace  ClearCore
 Namespace to encompass the ClearCore board API.
 

Macros

#define DEC   10
 
#define HEX   16
 
#define OCT   8
 
#define BIN   2
 
#define USB_SERIAL_TIMEOUT   5000
 

Detailed Description

This class controls access to the USB Serial Port Connector.

Implements ISerial API to be interchangeable with SerialDriver connectors.

Macro Definition Documentation

◆ BIN

#define BIN   2

Binary (base 2).

◆ DEC

#define DEC   10

Decimal (base 10).

◆ HEX

#define HEX   16

Hexadecimal (base 16).

◆ OCT

#define OCT   8

Octal (base 8).

◆ USB_SERIAL_TIMEOUT

#define USB_SERIAL_TIMEOUT   5000

Serial USB timeout, in milliseconds (5000ms).