Port8Bit::Port8Bit
Signature: Port8Bit::Port8Bit(uint16_t port)
Attributes: undefined
Description: Constructor for the class
Parameters:
Port8Bit::~Port8Bit
Signature: Port8Bit::~Port8Bit()
Attributes: undefined
Description: Destructor for the class
Port8Bit::Read
Signature: uint8_t Port8Bit::Read()
Description: Reads a 8 bit value from a port
Return: uint8_t
Port8Bit::Write
Signature: void Port8Bit::Write(uint8_t data)
Description: Writes a 8 bit value to a port
Parameters:
Return: void
Port16Bit::Port16Bit
Signature: Port16Bit::Port16Bit(uint16_t port)
Attributes: undefined
Description: Constructor for the class
Parameters:
Port16Bit::~Port16Bit
Signature: Port16Bit::~Port16Bit()
Attributes: undefined
Description: Destructor for the class
Port16Bit::Read
Signature: uint16_t Port16Bit::Read()
Description: Reads a 16 bit value from a port
Return: uint16_t
Port16Bit::Write
Signature: void Port16Bit::Write(uint16_t data)
Description: Writes a 16 bit value to a port
Parameters:
Return: void
Port32Bit::Port32Bit
Signature: Port32Bit::Port32Bit(uint16_t port)
Attributes: undefined
Description: Constructor for the class
Parameters:
Port32Bit::~Port32Bit
Signature: Port32Bit::~Port32Bit()
Attributes: undefined
Description: Destructor for the class
Port32Bit::Read
Signature: uint32_t Port32Bit::Read()
Description: Reads a 32 bit value from a port
Return: uint32_t
Port32Bit::Write
Signature: void Port32Bit::Write(uint32_t data)
Description: Writes a 32 bit value to a port
Parameters:
Return: void
io_wait
Signature: void io_wait()
Description: Waits for a port to be ready
Return: void
inb
Signature: unsigned char inb(unsigned short _port)
Description: Reads a 8 bit value from a port
Parameters:
Return: unsigned char
outb
Signature: void outb(unsigned short _port, unsigned char _data)
Description: Writes a 8 bit value to a port
Parameters:
unsigned short _port
unsigned char _data
Return: void
inw
Signature: uint16_t inw(uint16_t _port)
Description: Reads a 16 bit value from a port
Parameters:
Return: uint16_t
outw
Signature: void outw(uint16_t _port, uint16_t data)
Description: Writes a 16 bit value to a port
Parameters:
uint16_t _port
uint16_t data
Return: void
inl
Signature: uint32_t inl(uint16_t _port)
Description: Reads a 32 bit value from a port
Parameters:
Return: uint32_t
outl
Signature: void outl(uint16_t _port, uint32_t data)
Description: Writes a 32 bit value to a port
Parameters:
uint16_t _port
uint32_t data
Return: void
Show file on GitHub