1、设备驱动框架层定义的UART设备如下:
struct rt_serial_device
{
struct rt_device parent;
const struct rt_uart_ops *ops;
struct serial_configure config;
void *serial_rx;
void *serial_tx;
1、设备驱动框架层定义的UART设备如下:
struct rt_serial_device
{
struct rt_device parent;
const struct rt_uart_ops *ops;
struct serial_configure config;
void *serial_rx;
void *serial_tx;
1725
1962
9250

被折叠的 条评论
为什么被折叠?