在C28X的代码中按常规配置了一个gpio4,可以拉高拉低。然后在cla文件中添加了F2837xS_gpio.h,在任务中写上GpioDataRegs.GPACLEAR.bit.GPIO4 = 1,用示波器观察IO口信号,没发现拉低
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.
GPACSEL1 is shown in Figure 7-15 and described in Table 7-25.
Return to Summary Table.
GPIO A Core Select Register (GPIO0 to 7)
Selects which master's GPIODAT/SET/CLEAR/TOGGLE registers control this GPIO pin
xx00: CPU1 selected
xx01: CPU1.CLA1 selected
xx10: CPU2 selected
xx11: CPU2.CLA1 selected
15-12 GPIO3 R/W 0h Selects which master's GPIODAT/SET/CLEAR/TOGGLE registers
control this GPIO pin
Eric