I must be missing something - I'm working on reducing current consumption on a
battery device, and it's drawing about 150 uA more than it should in STOP3 mode.
I narrowed it down to when I select an internal pullup with PTAPE. If no pullup is
selected, the current is basically nothing. With it, it is 150uA. It is PTA1, and I'm
using it as a keyboard interrupt.
If I put an external pullup on it (for a switch), the circuit works fine, and there
is no extra current.