Files
EightBit/inc/PortEventArgs.h
2026-02-23 10:24:49 +00:00

18 lines
312 B
C++

#pragma once
#include "EventArgs.h"
#include "Register.h"
namespace EightBit {
class PortEventArgs final : public EventArgs {
private:
register16_t _port;
public:
PortEventArgs(register16_t port) noexcept
: _port(port) {}
[[nodiscard]] constexpr auto port() const noexcept { return _port; }
};
}