YAHAL
Yet Another Hardware Abstraction Library
Loading...
Searching...
No Matches
posix_io Class Reference

Public Member Functions

void register_stdin (uart_data_interface &uart_in, bool local_echo=true)
 
void register_stdout (uart_data_interface &uart_out, bool add_CR=true)
 
void register_stderr (uart_data_interface &uart_out, bool add_CR=true)
 
void register_stdio (uart_data_interface &uart, bool local_echo=true, bool add_CR=true)
 
void register_fileio (posix_io_interface &file_io)
 

Public Attributes

uart_data_interface_uart_in
 
uart_data_interface_uart_out
 
uart_data_interface_uart_err
 
posix_io_interface_file_io
 
bool _local_echo
 
bool _add_CR_out
 
bool _add_CR_err
 

Static Public Attributes

static posix_io inst
 

Detailed Description

Definition at line 14 of file posix_io.h.

Member Function Documentation

◆ register_fileio()

void posix_io::register_fileio ( posix_io_interface & file_io)

Definition at line 244 of file posix_io.cpp.

◆ register_stderr()

void posix_io::register_stderr ( uart_data_interface & uart_out,
bool add_CR = true )

Definition at line 231 of file posix_io.cpp.

◆ register_stdin()

void posix_io::register_stdin ( uart_data_interface & uart_in,
bool local_echo = true )

Definition at line 217 of file posix_io.cpp.

◆ register_stdio()

void posix_io::register_stdio ( uart_data_interface & uart,
bool local_echo = true,
bool add_CR = true )

Definition at line 238 of file posix_io.cpp.

◆ register_stdout()

void posix_io::register_stdout ( uart_data_interface & uart_out,
bool add_CR = true )

Definition at line 224 of file posix_io.cpp.

Member Data Documentation

◆ _add_CR_err

bool posix_io::_add_CR_err

Definition at line 43 of file posix_io.h.

◆ _add_CR_out

bool posix_io::_add_CR_out

Definition at line 42 of file posix_io.h.

◆ _file_io

posix_io_interface* posix_io::_file_io

Definition at line 40 of file posix_io.h.

◆ _local_echo

bool posix_io::_local_echo

Definition at line 41 of file posix_io.h.

◆ _uart_err

uart_data_interface* posix_io::_uart_err

Definition at line 39 of file posix_io.h.

◆ _uart_in

uart_data_interface* posix_io::_uart_in

Definition at line 37 of file posix_io.h.

◆ _uart_out

uart_data_interface* posix_io::_uart_out

Definition at line 38 of file posix_io.h.

◆ inst

posix_io posix_io::inst
static

Definition at line 17 of file posix_io.h.


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