Currently i am working in BF533 based paltform.
i have connected one switch to PF pin(PF15). The switch to the PF pin line is pulled high. When i make switch contact the signal will go low.
I have configured the PF pin as follows,
then i enabled the PF pin through INEN register and try to read the PF pin status from the Data register.
i will made one while loop and to read the PF pin data register continuously and making the switch contact.
But the status is always high only.
Is anything wrong in the above configuration?