Handles 32 bit ports.
More...
#include <port.h>
|
| | Port32Bit (uint16_t port_number) |
| | Construct a new Port object for ports handling 32 bit read/writes.
|
| |
| virtual void | write (uint32_t data) |
| | write a double word to the port (32Bit)
|
| |
| virtual uint32_t | read () |
| | read a double word from the port (32Bit)
|
| |
|
| | Port (uint16_t port_number) |
| | Construct a new Port object.
|
| |
| uint16_t | m_port_number |
| | The port to write to / read from.
|
| |
Handles 32 bit ports.
Definition at line 70 of file port.h.
◆ Port32Bit()
| Port32Bit::Port32Bit |
( |
uint16_t |
port_number | ) |
|
|
explicit |
Construct a new Port object for ports handling 32 bit read/writes.
- Parameters
-
| port_number | The IO port number |
Definition at line 117 of file port.cpp.
◆ read()
| uint32_t Port32Bit::read |
( |
| ) |
|
|
virtual |
◆ write()
| void Port32Bit::write |
( |
uint32_t |
data | ) |
|
|
virtual |
The documentation for this class was generated from the following files:
- /home/runner/work/MaxOS/MaxOS/kernel/include/hardwarecommunication/port.h
- /home/runner/work/MaxOS/MaxOS/kernel/src/hardwarecommunication/port.cpp