nRF52832 PPI

来源:互联网 发布:php和python java 编辑:程序博客网 时间:2024/05/22 15:24

PPI共有32个,但是只能使用20个。
Some of the PPI channels are pre-programmed. These channels cannot be configured by the CPU, but can be added to groups and enabled and disabled like the general purpose PPI channels. The FORK TEP for these channels are still programmable and can be used by the application。
一些PPI通道被预先编程了,这些通道不能被CPU配置,但是可以将其加入组、使能、失能。它们的FORK TEP还是可以配置的。

配置也比较简单
CHENSET、CHENCLR用于使能、失能操作。
EEP为Event的地址。
TEP为Task的地址。
FORK为第二个Task的地址
CHG0 ~ CHG5为6个组,可以批量使能、失能,这些动作为task,很有意思。

突然发现nRF52832的NVIC,中断相关还没找到。

0 0