Topic: how does bend switch work
hi,
I have been working on creating a virtual hardware model for Chumby. Right now the chumby software runs fine on my virtual chumby, but I have some problems with the bend switch utilities.
I have read the document which indicates that the bend switch is connect to the pin KP_ROW0 of Keypad Port. I'm wondering that if the bend switch is pressed, will this generate an interrupt from the peripheral Keypad to the processor or not? How does the driver handle this bend switch event? What kind of data is expected read from the register KP_KPSR (keypad status register).
can anyone help me? thanks a lot.
cheers
bellpxw