This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

UCD3138: 《数字电源UCD3138程序中的快中断的屏蔽方法》中是否有个错误?

Part Number: UCD3138

您好!我刚刚开始接触UCD3138芯片,正在学习中断的使用,我在阅读《数字电源UCD3138程序中的快中断的屏蔽方法》时,发现了一些问题。初始化函数中DPWM1对应的十六进制数为0x20000000,对应的二进制数是0010 0000 0000 0000 0000 0000 0000 0000,但是在cyclone_cim.h中可以看到对应的是DPWM0?同样的PWM3_COMP对应的好像也有问题。不知道是不是我哪里理解错误了呢,麻烦您解答一下。

另外,请问哪里可以找到UCD3138串口和中断相关的例程呢?