mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 20:39:01 +00:00
16 lines
584 B
C#
16 lines
584 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Cosmos.Hardware2 {
|
|
// This class is currently intended for 'slow' serial devices
|
|
// like the keyboard, mouse etc.
|
|
// May need to change or add another class in the future
|
|
// for higher speed serial devices. However I suspect
|
|
// higher speed serial devices will use a block transfer
|
|
// type.
|
|
public abstract class DeviceSerial : Device {
|
|
public delegate void ByteReceivedDelegate(byte aValue);
|
|
public ByteReceivedDelegate ByteReceived;
|
|
}
|
|
}
|