Max OS 0.3
Loading...
Searching...
No Matches
MaxOS::hardwarecommunication::Port Class Reference

base class for all ports More...

#include <port.h>

Inheritance diagram for MaxOS::hardwarecommunication::Port:
MaxOS::hardwarecommunication::Port16Bit MaxOS::hardwarecommunication::Port32Bit MaxOS::hardwarecommunication::Port8Bit MaxOS::hardwarecommunication::Port8BitSlow

Protected Member Functions

 Port (uint16_t port_number)
 Construct a new Port object.
 

Protected Attributes

uint16_t m_port_number
 The port to write to / read from.
 

Detailed Description

base class for all ports

Definition at line 20 of file port.h.

Constructor & Destructor Documentation

◆ Port()

Port::Port ( uint16_t  port_number)
explicitprotected

Construct a new Port object.

Parameters
port_numberThe IO port number

Definition at line 18 of file port.cpp.

19: m_port_number(port_number)
20{
21}
uint16_t m_port_number
The port to write to / read from.
Definition port.h:22

Member Data Documentation

◆ m_port_number


The documentation for this class was generated from the following files: