mirror of
https://github.com/TomHarte/CLK.git
synced 2024-08-01 05:29:09 +00:00
29 lines
430 B
C++
29 lines
430 B
C++
|
//
|
||
|
// Nick.hpp
|
||
|
// Clock Signal
|
||
|
//
|
||
|
// Created by Thomas Harte on 14/06/2021.
|
||
|
// Copyright © 2021 Thomas Harte. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#ifndef Nick_hpp
|
||
|
#define Nick_hpp
|
||
|
|
||
|
#include <cstdint>
|
||
|
#include "../../ClockReceiver/ClockReceiver.hpp"
|
||
|
|
||
|
namespace Enterprise {
|
||
|
|
||
|
class Nick {
|
||
|
public:
|
||
|
void write(uint16_t address, uint8_t value);
|
||
|
uint8_t read(uint16_t address);
|
||
|
|
||
|
void run_for(HalfCycles);
|
||
|
};
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif /* Nick_hpp */
|