Monado OpenXR Runtime
Loading...
Searching...
No Matches
os_serial.h File Reference

Wrapper around OS native serial functions. More...

#include "xrt/xrt_config_os.h"
#include "xrt/xrt_compiler.h"
#include <stdint.h>
#include <stddef.h>
Include dependency graph for os_serial.h:

Go to the source code of this file.

Data Structures

interface  os_serial_device
 Representing a single serial interface on a device. More...
 
struct  os_serial_parameters
 Represents the parameters for opening a serial device, such as baud rate, parity, etc. More...
 

Enumerations

enum  os_serial_parity_mode { OS_SERIAL_PARITY_NONE , OS_SERIAL_PARITY_EVEN , OS_SERIAL_PARITY_ODD }
 

Functions

int os_serial_open (const char *path, const struct os_serial_parameters *parameters, struct os_serial_device **out_serial)
 

Detailed Description