Files
weee/core/broadway/mmio/vi.hpp
T
2026-05-12 17:55:05 +02:00

27 lines
448 B
C++

#pragma once
#include <ircolib/types.hpp>
namespace weee::core {
union DCR {
struct {
unsigned e : 1;
unsigned r : 1;
unsigned i : 1;
unsigned d : 1;
unsigned le0 : 2;
unsigned le1 : 2;
unsigned fmt : 2;
unsigned : 6;
};
ircolib::u16 raw;
};
struct video_interface {
void write(ircolib::u32, ircolib::u16);
private:
DCR dcr{};
};
} // namespace weee::core