RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
|
#include <dev_serial.h>
成员变量 | |
rt_err_t(* | configure )(struct rt_serial_device *serial, struct serial_configure *cfg) |
rt_err_t(* | control )(struct rt_serial_device *serial, int cmd, void *arg) |
int(* | putc )(struct rt_serial_device *serial, char c) |
int(* | getc )(struct rt_serial_device *serial) |
rt_ssize_t(* | dma_transmit )(struct rt_serial_device *serial, rt_uint8_t *buf, rt_size_t size, int direction) |
rt_ssize_t(* | transmit )(struct rt_serial_device *serial, rt_uint8_t *buf, rt_size_t size, rt_uint32_t tx_flag) |
rt_err_t(* rt_uart_ops::configure)(struct rt_serial_device *serial, struct serial_configure *cfg) |
在文件 dev_serial.h 第 279 行定义.
rt_err_t(* rt_uart_ops::control)(struct rt_serial_device *serial, int cmd, void *arg) |
在文件 dev_serial.h 第 280 行定义.
int(* rt_uart_ops::putc)(struct rt_serial_device *serial, char c) |
在文件 dev_serial.h 第 282 行定义.
int(* rt_uart_ops::getc)(struct rt_serial_device *serial) |
在文件 dev_serial.h 第 283 行定义.
rt_ssize_t(* rt_uart_ops::dma_transmit) (struct rt_serial_device *serial, rt_uint8_t *buf, rt_size_t size, int direction) |
在文件 dev_serial.h 第 285 行定义.
rt_ssize_t(* rt_uart_ops::transmit) (struct rt_serial_device *serial, rt_uint8_t *buf, rt_size_t size, rt_uint32_t tx_flag) |
在文件 dev_serial_v2.h 第 310 行定义.