Home About us GitHub Contact us Docs

FoxOS

Welcome to the FoxOS website!

serial_port::serial_port

Signature: serial_port::serial_port(uint16_t port_n) : port(port_n)
Attributes: undefined
Description: Constructor for the serial port class

Parameters:

serial_port::is_transmit_empty

Signature: int serial_port::is_transmit_empty()
Description: Checks if the serial port is ready to transmit

Return: int

serial_port::putchar

Signature: void serial_port::putchar(char c)
Description: Prints a character to the serial port

Parameters:

Return: void

serial_port::putstring

Signature: void serial_port::putstring(const char* str)
Description: Prints a string to the serial port

Parameters:

Return: void

Show file on GitHub