PebbleOS v4.48.0-75-g7416f78a1
Loading...
Searching...
No Matches
posix.h File Reference
#include <stdint.h>
#include <pbl/drivers/uart/driver.h>

Data Structures

struct  pbl_uart_posix
 POSIX serial port. More...
 

Macros

#define PBL_UART_POSIX_CONSOLE   0
 Host end of the console.
 
#define PBL_UART_POSIX_QEMU   1
 Host end of the QEMU serial protocol.
 
#define PBL_UART_POSIX_BT_HCI   2
 Host end of Bluetooth HCI.
 
#define PBL_UART_POSIX_DEFINE(sym, _name, _channel, _baudrate)
 Define a POSIX serial port.
 
#define POSIX_CONSOLE_UART   (&pbl_uart_posix_console.uart)
 The POSIX console port.
 
#define POSIX_QEMU_UART   (&pbl_uart_posix_qemu.uart)
 The POSIX QEMU serial protocol port.
 
#define POSIX_BT_HCI_UART   (&pbl_uart_posix_bt_hci.uart)
 The POSIX Bluetooth HCI port, with CONFIG_UART_POSIX_BT_HCI.