SPIKE-RT C API Reference [Japanese]
An RTOS-based software platform for LEGO® Education SPIKE™.
include
serial
serial.h
[詳解]
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
/*
33
* Definitions of Port ID for Serial Adapter
34
*/
35
enum
{
36
SIO_USB_PORTID = 1,
37
SIO_BLUETOOTH_PORTID,
38
SIO_TEST_PORTID,
39
SIO_UART_F_PORTID,
40
SIO_UART_E_PORTID,
41
};
42
43
#endif
// _SEIRAL_SERIAL_H_
44
構築:
1.9.4