oveRTOS C++ API
C++20 RAII wrappers for the oveRTOS C API
Loading...
Searching...
No Matches
Namespaces | Functions
console.hpp File Reference

Console serial I/O functions. More...

#include <ove/console.h>
#include <ove/types.hpp>
Include dependency graph for console.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ove
 Top-level namespace for all oveRTOS C++ abstractions.
 
namespace  ove::console
 Thin C++ wrappers around the oveRTOS console (serial I/O) API.
 

Functions

int ove::console::init ()
 Initialises the console subsystem.
 
int ove::console::getchar ()
 Reads one character from the console, blocking until one is available.
 
void ove::console::putchar (int c)
 Writes a single character to the console output.
 
void ove::console::write (const char *data, unsigned int len)
 Writes a buffer of bytes to the console output.
 

Detailed Description

Console serial I/O functions.