这里会显示出您选择的修订版和当前版本之间的差别。
jaysnote:gpio_int_failed [2019/04/26 17:07] jaylee |
jaysnote:gpio_int_failed [2021/06/22 23:14] |
||
---|---|---|---|
行 1: | 行 1: | ||
- | < | ||
- | |||
- | # a64 gpio interrupt init failed | ||
- | |||
- | 如下`pc0`,`gpio64 `设置中断触发边沿失败。 | ||
- | |||
- | ```bash | ||
- | ~$ tree / | ||
- | ├── active_low | ||
- | ├── device -> ../ | ||
- | ├── direction | ||
- | ├── power | ||
- | │ ├── async | ||
- | │ ├── autosuspend_delay_ms | ||
- | │ ├── control | ||
- | │ ├── runtime_active_kids | ||
- | │ ├── runtime_active_time | ||
- | │ ├── runtime_enabled | ||
- | │ ├── runtime_status | ||
- | │ ├── runtime_suspended_time | ||
- | │ └── runtime_usage | ||
- | ├── subsystem -> ../ | ||
- | ├── uevent | ||
- | └── value | ||
- | ``` | ||
- | |||
- | 对比,`pb0` ` gpio32`,这里没有`edge` | ||
- | |||
- | ```bash | ||
- | ~$ tree / | ||
- | / | ||
- | ├── active_low | ||
- | ├── device -> ../ | ||
- | ├── direction | ||
- | ├── edge | ||
- | ├── power | ||
- | │ ├── async | ||
- | │ ├── autosuspend_delay_ms | ||
- | │ ├── control | ||
- | │ ├── runtime_active_kids | ||
- | │ ├── runtime_active_time | ||
- | │ ├── runtime_enabled | ||
- | │ ├── runtime_status | ||
- | │ ├── runtime_suspended_time | ||
- | │ └── runtime_usage | ||
- | ├── subsystem -> ../ | ||
- | ├── 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`-> | ||
- | |||
- | ![pb0 配置寄存器](http:// | ||
- | |||
- | ![pc0 配置寄存器](http:// | ||
- | |||
- | |||
- | </ | ||