用户工具

站点工具


jaysnote:gpio_int_failed

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

jaysnote:gpio_int_failed [2019/05/30 14:42]
jaylee
jaysnote:gpio_int_failed [2021/06/22 23:14]
行 1: 行 1:
-<markdown> 
- 
-# a64 gpio interrupt init failed 
- 
-如下`pc0`,`gpio64 `设置中断触发边沿失败。 
- 
-```bash 
-~$ tree /sys/class/gpio/gpio64/ 
-├── active_low 
-├── device -> ../../../1c20800.pinctrl 
-├── direction 
-├── power 
-│   ├── async 
-│   ├── autosuspend_delay_ms 
-│   ├── control 
-│   ├── runtime_active_kids 
-│   ├── runtime_active_time 
-│   ├── runtime_enabled 
-│   ├── runtime_status 
-│   ├── runtime_suspended_time 
-│   └── runtime_usage 
-├── subsystem -> ../../../../../class/gpio 
-├── uevent 
-└── value 
-``` 
- 
-对比,`pb0` ` gpio32`,这里没有`edge`  属性。 
- 
-```bash 
-~$ tree /sys/class/gpio/gpio32 
-/sys/class/gpio/gpio32 
-├── active_low 
-├── device -> ../../../1c20800.pinctrl 
-├── direction 
-├── edge 
-├── power 
-│   ├── async 
-│   ├── autosuspend_delay_ms 
-│   ├── control 
-│   ├── runtime_active_kids 
-│   ├── runtime_active_time 
-│   ├── runtime_enabled 
-│   ├── runtime_status 
-│   ├── runtime_suspended_time 
-│   └── runtime_usage 
-├── subsystem -> ../../../../../class/gpio 
-├── uevent 
-└── value 
-``` 
- 
-对比`3.21.2.1. PB Configure Register 0 (Default Value: 0x77777777)` 和`3.21.2.10. PC Configure Register 0 (Default Value: 0x77777777)` 这里pc0 确实不支持中断。 
- 
-> **提示**:`Allwinner_A64_User_Manual_V1.1_decrypted.pdf`->`Chapter 3 System`->`3.21. Port Controller(CPUx-PORT)` 
- 
-![pb0 配置寄存器](http://docs.leconiot.com/lib/exe/fetch.php?media=jaysnote:images:pb0_config_reg.png) 
- 
-![pc0 配置寄存器](http://docs.leconiot.com/lib/exe/fetch.php?media=jaysnote:images:pc0_config_reg.png) 
- 
- 
-</markdown> 
  
jaysnote/gpio_int_failed.txt · 最后更改: 2021/06/22 23:14 (外部编辑)