mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-04 15:05:36 +00:00
28 lines
436 B
C++
28 lines
436 B
C++
//
|
|
// Interrupts.hpp
|
|
// Clock Signal
|
|
//
|
|
// Created by Thomas Harte on 03/12/2016.
|
|
// Copyright © 2016 Thomas Harte. All rights reserved.
|
|
//
|
|
|
|
#ifndef Interrupts_h
|
|
#define Interrupts_h
|
|
|
|
#include <cstdint>
|
|
|
|
namespace Electron {
|
|
|
|
enum Interrupt: uint8_t {
|
|
PowerOnReset = 0x02,
|
|
DisplayEnd = 0x04,
|
|
RealTimeClock = 0x08,
|
|
ReceiveDataFull = 0x10,
|
|
TransmitDataEmpty = 0x20,
|
|
HighToneDetect = 0x40
|
|
};
|
|
|
|
}
|
|
|
|
#endif /* Interrupts_h */
|