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.

LM4F232 wake pin reading

I am reading the Hibernation section of the LM4F232 manual.  A change in state of the WAKE pin will bring you out of hibernation.  Once out of hibernation, is there a way of reading the wake pin state?  Like disable the HIB interrupt, then clear the WAKE state every 100msec or so, then see if the state comes back immediately?

I am thinking of using the wake pin from a KEY_ON input (and hence free up a GPIO), but I will need to identify when the KEY_OFF event occures.

  • John Osen said:

    I am reading the Hibernation section of the LM4F232 manual.  A change in state of the WAKE pin will bring you out of hibernation.  Once out of hibernation, is there a way of reading the wake pin state?  Like disable the HIB interrupt, then clear the WAKE state every 100msec or so, then see if the state comes back immediately?

    I am thinking of using the wake pin from a KEY_ON input (and hence free up a GPIO), but I will need to identify when the KEY_OFF event occures.

    I don't see this capability in the datasheet.  The only status bits that are available are whether an assertion has occurred and if this indication is masked or not.  There is not a status but reflecting the value of the /WAKE pin itself.