SPIKE-RT C API Reference [English]
An RTOS-based software platform for LEGO® Education SPIKE™.
Loading...
Searching...
No Matches
include
serial
serial.h
Go to the documentation of this file.
1
/*
2
* SPDX-License-Identifier: MIT
3
*
4
* Header for Serial.
5
*
6
* Copyright (c) 2023 Embedded and Real-Time Systems Laboratory,
7
* Graduate School of Information Science, Nagoya Univ., JAPAN
8
*/
9
29
#ifndef _SERIAL_SERIAL_H_
30
#define _SERIAL_SERIAL_H_
31
32
#ifdef __cplusplus
33
extern
"C"
{
34
#endif
35
36
/*
37
* Definitions of Port ID for Serial Adapter
38
*/
39
enum
{
40
SIO_USB_PORTID = 1,
41
SIO_BLUETOOTH_PORTID,
42
SIO_TEST_PORTID,
43
SIO_UART_F_PORTID,
44
SIO_UART_E_PORTID,
45
};
46
47
#ifdef __cplusplus
48
}
49
#endif
50
51
#endif
// _SERIAL_SERIAL_H_
52
Generated by
1.12.0