MPLAB ? ICE 4000 User’s Guide
6.8.3
Time Between Events Example
An application contains a delay loop. How long is the delay?
For this problem, a Time Between Events trigger is very useful. Suppose the delay
routine is called Delay . For debugging purposes, a label EndDelay has been added
at the address of the delay routine’s return statement. Set the Start Timer tab to a
program memory fetch of address Delay , and the Stop Timer tab to a program
memory fetch of address EndDelay . Check the Ignore FNOP Cycles box, and leave
both halt check boxes unchecked. Apply the trigger, open the trace memory window,
then run. After EndDelay is reached, the trace memory window will fill and the largest
time stamp value will be the time between the two events.
DS51490A-page 46
FIGURE 6-12:
FIGURE 6-13:
SPECIFYING THE EVENT THAT WILL START THE TIMER
SPECIFYING THE EVENT THAT WILL STOP THE TIMER
? 2004 Microchip Technology Inc.
相关PDF资料
PMF18WE0 PROCESSOR MODULE FOR ICE4000
PMT823004F GP THREE ELEMENTS S.A. 230V T/H
PPM3-MK2 PROGRAMMER PRODUCTION ISP
PPM3A1-UPG5M UPGRADE PPM3 RAC DEVELOPMENT
PQ-MDS-PCIEXP PCI EXPANDER ADAPTOR
PQF-44 PLUG QFP 44PIN (SOLDER DOWN)
PRG18BB471MS1RB THERMISTOR
PS1600 POWER SUPPLY HOTSWAP 90-245V
相关代理商/技术参数
PMF18WE0 功能描述:插座和适配器 Processor MOD RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
PMF18WE0 制造商:Microchip Technology Inc 功能描述:Tools Emulator For Use With:P
PMF18WE1 功能描述:插座和适配器 PIC18F8680 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
PMF18WF0 功能描述:插座和适配器 Processor Module RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
PMF18WH0 功能描述:插座和适配器 PIC18F ICE4000 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
PMF18WJ0 功能描述:插座和适配器 Processor MOD RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
PMF18WJ1 功能描述:插座和适配器 Processor Module RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
PMF18WK0 功能描述:插座和适配器 PIC18F RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x