目前有爬文看到說CLA內無法控制GPIO暫存器,但沒有說明到CLA內是否可以讀取GPIO暫存器。
那想請問說如果我想在CLA TASK1內寫判斷式(如下),那這樣在CLA是否可以正常判斷?
if(GpioDataRegs.GPADAT.bit.GPIO13 == 0) {
------
}
PS: GPIO設定為INPUT
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.
目前有爬文看到說CLA內無法控制GPIO暫存器,但沒有說明到CLA內是否可以讀取GPIO暫存器。
那想請問說如果我想在CLA TASK1內寫判斷式(如下),那這樣在CLA是否可以正常判斷?
if(GpioDataRegs.GPADAT.bit.GPIO13 == 0) {
------
}
PS: GPIO設定為INPUT