mirror of
https://e.coding.net/weidongshan/linux/doc_and_source_for_drivers.git
synced 2025-12-01 20:31:18 +08:00
add 09_UART/08
This commit is contained in:
Binary file not shown.
39
IMX6ULL/doc_pic/09_UART/08_UART驱动情景分析_注册.md
Normal file
39
IMX6ULL/doc_pic/09_UART/08_UART驱动情景分析_注册.md
Normal file
@@ -0,0 +1,39 @@
|
||||
## UART驱动情景分析_注册
|
||||
|
||||
参考资料
|
||||
|
||||
* 参考代码:
|
||||
|
||||
```shell
|
||||
硬件相关:
|
||||
drivers/tty/serial/imx.c
|
||||
drivers/tty/serial/stm32-usart.c
|
||||
|
||||
串口核心层:
|
||||
drivers/tty/serial/serial_core.c
|
||||
|
||||
TTY层:
|
||||
drivers/tty/tty_io.c
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
### 1. 情景分析大纲
|
||||
|
||||
* 注册过程分析
|
||||
* open过程分析
|
||||
* read过程分析
|
||||
* write过程分析
|
||||
|
||||
|
||||
|
||||
### 2. 源码框架回顾
|
||||
|
||||

|
||||
|
||||
|
||||
|
||||
### 3. 注册过程分析
|
||||
|
||||

|
||||
BIN
IMX6ULL/doc_pic/09_UART/08_UART驱动情景分析_注册.tif
Normal file
BIN
IMX6ULL/doc_pic/09_UART/08_UART驱动情景分析_注册.tif
Normal file
Binary file not shown.
BIN
IMX6ULL/doc_pic/09_UART/pic/09_UART/23_uart_driver_register.png
Normal file
BIN
IMX6ULL/doc_pic/09_UART/pic/09_UART/23_uart_driver_register.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 73 KiB |
BIN
IMX6ULL/doc_pic/09_UART/pic/09_UART/24_tty_driver_level_2.png
Normal file
BIN
IMX6ULL/doc_pic/09_UART/pic/09_UART/24_tty_driver_level_2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 87 KiB |
@@ -339,7 +339,13 @@ git clone https://e.coding.net/weidongshan/linux/doc_and_source_for_drivers.git
|
||||
```shell
|
||||
07_字符设备驱动程序的另一种注册方法
|
||||
```
|
||||
|
||||
* 2021.07.22 发布"UART子系统"
|
||||
|
||||
```shell
|
||||
08_UART驱动情景分析_注册
|
||||
```
|
||||
|
||||
## 6. 联系方式
|
||||
|
||||
* 官网:http://www.100ask.net
|
||||
|
||||
39
STM32MP157/doc_pic/09_UART/08_UART驱动情景分析_注册.md
Normal file
39
STM32MP157/doc_pic/09_UART/08_UART驱动情景分析_注册.md
Normal file
@@ -0,0 +1,39 @@
|
||||
## UART驱动情景分析_注册
|
||||
|
||||
参考资料
|
||||
|
||||
* 参考代码:
|
||||
|
||||
```shell
|
||||
硬件相关:
|
||||
drivers/tty/serial/imx.c
|
||||
drivers/tty/serial/stm32-usart.c
|
||||
|
||||
串口核心层:
|
||||
drivers/tty/serial/serial_core.c
|
||||
|
||||
TTY层:
|
||||
drivers/tty/tty_io.c
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
### 1. 情景分析大纲
|
||||
|
||||
* 注册过程分析
|
||||
* open过程分析
|
||||
* read过程分析
|
||||
* write过程分析
|
||||
|
||||
|
||||
|
||||
### 2. 源码框架回顾
|
||||
|
||||

|
||||
|
||||
|
||||
|
||||
### 3. 注册过程分析
|
||||
|
||||

|
||||
BIN
STM32MP157/doc_pic/09_UART/08_UART驱动情景分析_注册.tif
Normal file
BIN
STM32MP157/doc_pic/09_UART/08_UART驱动情景分析_注册.tif
Normal file
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 73 KiB |
BIN
STM32MP157/doc_pic/09_UART/pic/09_UART/24_tty_driver_level_2.png
Normal file
BIN
STM32MP157/doc_pic/09_UART/pic/09_UART/24_tty_driver_level_2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 87 KiB |
Reference in New Issue
Block a user