add k210.md

This commit is contained in:
shzhxh 2019-04-29 21:26:06 +08:00
parent c828e38da0
commit 0dbc23fb44
2 changed files with 43 additions and 0 deletions

37
Hardware/k210.md Normal file
View File

@ -0,0 +1,37 @@
#### 系统控制器
系统控制器是个外设它负责所有与系统相关的外设的设置。它的32个32寄存器都映射在内存里。
| 编号 | 名称 | 描述 |
| ----- | ------------- | -------------------- |
| 0 | git_id | Git短提交id |
| 1 | clk_freq | 系统时钟频率 |
| 2 | pll0 | PLL0控制器 |
| 3 | pll1 | |
| 4 | pll2 | |
| 5 | resv5 | 保留 |
| 6 | pll_lock | PLL锁测试器 |
| 7 | rom_error | AXI ROM测试器 |
| 8 | clk_sel0 | 时钟选择控制器0 |
| 9 | clk_sel1 | |
| 10 | clk_en_cent | 中心时钟使能 |
| 11 | clk_en_peri | 外部时钟使能 |
| 12 | soft_reset | 软重置 |
| 13 | peri-reset | 外重置 |
| 14 | clk_th0 | 时钟阈值控制器0 |
| 15 | clk_th1 | |
| 16 | clk_th2 | |
| 17 | clk_th3 | |
| 18 | clk_th4 | |
| 19 | clk_th5 | |
| 20 | clk_th6 | |
| 21 | misc | 杂项控制器 |
| 22 | peri | 外设控制器 |
| 23 | spi_sleep | SPI睡眠控制器 |
| 24 | reset_status | reset源的状态 |
| 25 | dma_sel0 | DMA握手控制器0 |
| 26 | dma_sel1 | |
| 27 | power_sel | IO电源模式选择控制器 |
| 28-31 | resv28-resv31 | 保留 |

View File

@ -6,3 +6,9 @@
`scp [options] [user@host1:]file1 [user@host2:]file2`
#### 选项
```
-P port # 指定远程主机的端口
```