|
Open Model Railroad Network (OpenMRN)
|
#include "freertos/stropts.h"Go to the source code of this file.
Macros | |
| #define | TERMIOS_IOC_MAGIC ('T') |
| Magic number for this driver's ioctl calls. | |
| #define | TCSBRK IO(TERMIOS_IOC_MAGIC, 9) |
| #define | TCPARNONE IO(TERMIOS_IOC_MAGIC, 0xF0) |
| #define | TCPARODD IO(TERMIOS_IOC_MAGIC, 0xF1) |
| #define | TCPAREVEN IO(TERMIOS_IOC_MAGIC, 0xF2) |
| #define | TCPARONE IO(TERMIOS_IOC_MAGIC, 0xF3) |
| #define | TCPARZERO IO(TERMIOS_IOC_MAGIC, 0xF4) |
| #define | TCNINEBITRX IO(TERMIOS_IOC_MAGIC, 0xF5) |
| Use 9-bit reception mode. | |
| #define | TCSTOPONE IO(TERMIOS_IOC_MAGIC, 0xF8) |
| One stop bit. | |
| #define | TCSTOPTWO IO(TERMIOS_IOC_MAGIC, 0xF9) |
| Two stop bits. | |
| #define | TCDRAINNOTIFY IOW(TERMIOS_IOC_MAGIC, 0xE0, 4) |
| Argument is a Notifiable* pointer. | |
| #define | TCBAUDRATE IOW(TERMIOS_IOC_MAGIC, 0xE1, 4) |
| Argument is the desired baud rate for the port. | |
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file implements can specific ioctl() keys for serial devices.
Definition in file tc_ioctl.h.
| #define TCBAUDRATE IOW(TERMIOS_IOC_MAGIC, 0xE1, 4) |
Argument is the desired baud rate for the port.
Definition at line 61 of file tc_ioctl.h.
| #define TCDRAINNOTIFY IOW(TERMIOS_IOC_MAGIC, 0xE0, 4) |
Argument is a Notifiable* pointer.
This notifiable will be invoked when all bytes have completed transferring and the transmit engine is idle.
Definition at line 58 of file tc_ioctl.h.
| #define TCNINEBITRX IO(TERMIOS_IOC_MAGIC, 0xF5) |
Use 9-bit reception mode.
Definition at line 50 of file tc_ioctl.h.
| #define TCPAREVEN IO(TERMIOS_IOC_MAGIC, 0xF2) |
Definition at line 46 of file tc_ioctl.h.
| #define TCPARNONE IO(TERMIOS_IOC_MAGIC, 0xF0) |
Definition at line 44 of file tc_ioctl.h.
| #define TCPARODD IO(TERMIOS_IOC_MAGIC, 0xF1) |
Definition at line 45 of file tc_ioctl.h.
| #define TCPARONE IO(TERMIOS_IOC_MAGIC, 0xF3) |
Definition at line 47 of file tc_ioctl.h.
| #define TCPARZERO IO(TERMIOS_IOC_MAGIC, 0xF4) |
Definition at line 48 of file tc_ioctl.h.
| #define TCSBRK IO(TERMIOS_IOC_MAGIC, 9) |
Definition at line 42 of file tc_ioctl.h.
| #define TCSTOPONE IO(TERMIOS_IOC_MAGIC, 0xF8) |
One stop bit.
Definition at line 52 of file tc_ioctl.h.
| #define TCSTOPTWO IO(TERMIOS_IOC_MAGIC, 0xF9) |
Two stop bits.
Definition at line 54 of file tc_ioctl.h.
| #define TERMIOS_IOC_MAGIC ('T') |
Magic number for this driver's ioctl calls.
Definition at line 40 of file tc_ioctl.h.