mirror of
https://github.com/jscrane/r65emu.git
synced 2024-10-28 07:25:06 +00:00
build fixes for tivac
This commit is contained in:
parent
bed7ed38c2
commit
474d5c82d0
@ -1,4 +1,5 @@
|
||||
#include <Arduino.h>
|
||||
#include <stdarg.h>
|
||||
#include "hardware.h"
|
||||
#include "memory.h"
|
||||
#include "display.h"
|
||||
|
27
serialio.h
27
serialio.h
@ -1,6 +1,33 @@
|
||||
#ifndef __SERIALIO_H__
|
||||
#define __SERIALIO_H__
|
||||
|
||||
#if !defined(SERIAL_5N1)
|
||||
#define SERIAL_5N1 0x00
|
||||
#define SERIAL_6N1 0x02
|
||||
#define SERIAL_7N1 0x04
|
||||
#define SERIAL_8N1 0x06
|
||||
#define SERIAL_5N2 0x08
|
||||
#define SERIAL_6N2 0x0A
|
||||
#define SERIAL_7N2 0x0C
|
||||
#define SERIAL_8N2 0x0E
|
||||
#define SERIAL_5E1 0x20
|
||||
#define SERIAL_6E1 0x22
|
||||
#define SERIAL_7E1 0x24
|
||||
#define SERIAL_8E1 0x26
|
||||
#define SERIAL_5E2 0x28
|
||||
#define SERIAL_6E2 0x2A
|
||||
#define SERIAL_7E2 0x2C
|
||||
#define SERIAL_8E2 0x2E
|
||||
#define SERIAL_5O1 0x30
|
||||
#define SERIAL_6O1 0x32
|
||||
#define SERIAL_7O1 0x34
|
||||
#define SERIAL_8O1 0x36
|
||||
#define SERIAL_5O2 0x38
|
||||
#define SERIAL_6O2 0x3A
|
||||
#define SERIAL_7O2 0x3C
|
||||
#define SERIAL_8O2 0x3E
|
||||
#endif
|
||||
|
||||
enum parity {
|
||||
none,
|
||||
even,
|
||||
|
Loading…
Reference in New Issue
Block a user