Set input of SCT (State Configurable Timer) using a register instead of a pin

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Set input of SCT (State Configurable Timer) using a register instead of a pin

426 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by wlamers on Fri Jun 28 07:33:33 MST 2013

From the manual it does not seem to be possible to set or clear the inputs of the State Configurable Timer using a register. It can only be done using physical pins it appears. I think it would be highly benificial to set the inputs in the application code by setting a register for example. The manual says that the SCT INPUT register in read-only (p838, table 665). Is there another way to set the inputs?


 


I tried using the SPGIO3 and SGPIO12 inputs, routing them using the GIMA to the SCT. While this works, it is still limited to 2 inputs. Another side note with this is that SGPIO3 seems bo be high on reset, which I find strange.


 


Bottom line: who knows a way to set the SCT inputs in code?

标签 (1)
0 项奖励
回复
0 回复数