TOP

P00 settings completely correct, why can not enter interrupt?

First, make sure P00 interrupt settings are correct, such as P00IEN is set to 1, PEDGE register settings are correct (edge trigger control mode). If the above settings has no problem, then check whether TC0 or TC1 counter is being used in program or generates interrupt, if so, please confirm TC1 or TC0 clock source is selected as Fcpu, and could not select TC1 or TC0 clock source as external P00 port, or when P00 port is triggered, TC0 or TC1 counter will add 1, but P00IRQ will not set to 1, thus P00 can not enter interrupt service routine.