Hi
Set the DBG bit (bit 5) in the PIT Control and Status register to cause it to stop when in debug mode.
Regards
Mark
www.uTasker.com
- OS, TCP/IP stack, USB, device drivers and simulator for M521X, M521XX, M5221X, M5222X, M5223X, M5225X. One package does them all - "Embedding it better..."