Reading state of RSTi (RESET)?
Posted: Tue Jul 17, 2012 7:00 pm
Is it possible to read the current state of the RSTi (aka RESET) pin on a Mod5270?
From digging through the Freescale 5270 manual, I see that I can read the Reset Status Register (RSR) and see whether the last reset event was caused by the RSTi pin or not, but I actually need to read the current value of that pin AFTER the reset has occurred.
I'm trying to emulate the classic reset button on the back of a Wifi Router where a short push does a normal reset and holding it down for 5 seconds causes it to reset all defaults.
I'm basically looking for a way to be able to read that pin after starting up to know if it is still being held down or not.
Any suggestions?
Thanks.
Scott
From digging through the Freescale 5270 manual, I see that I can read the Reset Status Register (RSR) and see whether the last reset event was caused by the RSTi pin or not, but I actually need to read the current value of that pin AFTER the reset has occurred.
I'm trying to emulate the classic reset button on the back of a Wifi Router where a short push does a normal reset and holding it down for 5 seconds causes it to reset all defaults.
I'm basically looking for a way to be able to read that pin after starting up to know if it is still being held down or not.
Any suggestions?
Thanks.
Scott