![]() |
Max OS 0.3
|
Handles 16 bit memory IO. More...
#include <memoryIO.h>
Public Member Functions | |
| MemIO16Bit (uintptr_t address) | |
| Construct a new Mem IO object for 16 bit reads/writes. | |
| virtual void | write (uint16_t data) |
| Writes data to the memory address. | |
| virtual uint16_t | read () |
| Reads data from the memory address. | |
Additional Inherited Members | |
Protected Member Functions inherited from MaxOS::memory::MemIO | |
| MemIO (uintptr_t address) | |
| Construct a new Mem IO object. | |
Protected Attributes inherited from MaxOS::memory::MemIO | |
| uintptr_t | m_address |
| The memory address to read from / write to. | |
Handles 16 bit memory IO.
Definition at line 49 of file memoryIO.h.
|
explicit |
Construct a new Mem IO object for 16 bit reads/writes.
| address | The memory address to read from / write to |
Definition at line 63 of file memoryIO.cpp.
|
virtual |
Reads data from the memory address.
Definition at line 85 of file memoryIO.cpp.
References MaxOS::memory::MemIO::m_address.
|
virtual |
Writes data to the memory address.
| data | the data to write |
Definition at line 75 of file memoryIO.cpp.
References MaxOS::memory::MemIO::m_address.