Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
slipdev_params.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2018-2020 Freie Universität Berlin
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
9
#pragma once
10
20
21
#include "board.h"
22
#include "
slipdev.h
"
23
#include "
stdio_uart.h
"
24
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
33
#ifndef SLIPDEV_PARAM_UART
34
# ifdef MODULE_STDIO_UART
35
# define SLIPDEV_PARAM_UART UART_DEV(1)
36
# else
37
# define SLIPDEV_PARAM_UART STDIO_UART_DEV
38
# endif
39
#endif
/* SLIPDEV_PARAM_UART */
40
41
#ifndef SLIPDEV_PARAM_BAUDRATE
42
# define SLIPDEV_PARAM_BAUDRATE STDIO_UART_BAUDRATE
43
#endif
/* SLIPDEV_PARAM_BAUDRATE */
44
45
#ifndef SLIPDEV_PARAMS
46
#define SLIPDEV_PARAMS { .uart = SLIPDEV_PARAM_UART, \
47
.baudrate = SLIPDEV_PARAM_BAUDRATE }
48
#endif
50
57
static
const
slipdev_params_t
slipdev_params
[] = {
58
SLIPDEV_PARAMS
59
};
60
61
#ifdef __cplusplus
62
}
63
#endif
64
slipdev.h
SLIP device definitions.
slipdev_params
static const slipdev_params_t slipdev_params[]
slipdev configuration
Definition
slipdev_params.h:57
stdio_uart.h
slipdev_params_t
Configuration parameters for a slipdev.
Definition
slipdev.h:154
Generated on Sat Mar 21 2026 19:20:33 by
1.13.2