31#include "periph_conf.h"
44#define STDIO_UART_DEV (UART_DEV(0))
53#ifndef OPENWSN_UART_DEV
54#ifdef MODULE_STDIO_NULL
55#define OPENWSN_UART_DEV (STDIO_UART_DEV)
57#define OPENWSN_UART_DEV ((STDIO_UART_DEV + 1) % UART_NUMOF)
64#ifndef OPENWSN_UART_BAUDRATE
65#ifndef STDIO_UART_BAUDRATE
66#define OPENWSN_UART_BAUDRATE (115200U)
68#define OPENWSN_UART_BAUDRATE (STDIO_UART_BAUDRATE)
void uart_disableInterrupts(void)
Unused in RIOT, needs to be defined for OpenWSN.
void uart_enableInterrupts(void)
Unused in RIOT, needs to be defined for OpenWSN.
void uart_writeByte(uint8_t byteToWrite)
Write a single byte to the configured OpenWSN uart.
void uart_setCallbacks(uart_tx_cbt txCb, uart_rx_cbt rxCb)
OpenWSN uart tx callback type.
uint8_t uart_readByte(void)
Reads a single byte received through uart.
void uart_setCTS(bool state)
Sets software flow control CTS.
void uart_init_openwsn(void)
Initialize OpenWSN uart.
void(* uart_rx_cbt)(void)
OpenWSN uart rx callback type.
void uart_clearRxInterrupts(void)
Unused in RIOT, needs to be defined for OpenWSN.
void(* uart_tx_cbt)(void)
OpenWSN uart tx callback type.
void uart_clearTxInterrupts(void)
Unused in RIOT, needs to be defined for OpenWSN.