![]() |
Max OS 0.3
|
Handles 8 bit ports (slow) More...
#include <port.h>
Public Member Functions | |
| Port8BitSlow (uint16_t port_number) | |
| Construct a new Port object for ports handling 8 bit read/writes (slow) | |
| void | write (uint8_t data) final |
| write a byte to the port (slow) | |
Public Member Functions inherited from MaxOS::hardwarecommunication::Port8Bit | |
| Port8Bit (uint16_t port_number) | |
| Construct a new Port object for ports handling 8 bit read/writes. | |
| virtual uint8_t | read () |
| read a byte from the port | |
Additional Inherited Members | |
Protected Member Functions inherited from MaxOS::hardwarecommunication::Port | |
| Port (uint16_t port_number) | |
| Construct a new Port object. | |
Protected Attributes inherited from MaxOS::hardwarecommunication::Port | |
| uint16_t | m_port_number |
| The port to write to / read from. | |
|
explicit |
|
finalvirtual |
write a byte to the port (slow)
| data | the byte to write |
Reimplemented from MaxOS::hardwarecommunication::Port8Bit.
Definition at line 74 of file port.cpp.
References MaxOS::hardwarecommunication::Port::m_port_number.