who who

trigger KBI when press down or pull up button - MC1321x and Codewarrior6.1.

Discussion created by who who on Jul 18, 2008
Latest reply on Jul 18, 2008 by bigmac
Dear freescale expert:
  I'm using MC1321x and Codewarrior6.1.

  On my PCB,there is a button that connect with PTAx port.Enable the KBI and add interrupt routine KBI_IRQ() function in C language code.

  Now,if I pressed down the button ,then KBI_IRQ() was triggered.
  But I hope that the KBI_IRQ() will be called,whether the button was pressed down or pulled up.
  How to implement it? How to config the register?
Thanks for your reply.
Best regards,
Added p/n to subject.

Message Edited by NLFSJ on 2008-07-18 09:11 AM