|
|||||||||||
Product Information Device Database® Downloads Compliance Testing Distributors |
Peripheral SimulationFor Atmel AT89C5131A — Timer 2 (extended Timer 2) Simulation support for this peripheral or feature is comprised of:
These simulation capabilities are described below. TIMER 2 Dialog
The Keil Debugger simulates all aspects of Timer/Counter 2. The configuration is reflected in the Timer/Counter 2 Dialog that you may open from the Peripherals Menu. You may use the controls in the dialog to override the settings configured by your target program. This allows you to learn how the timer/counter works by interactively changing the configuration settings.
I/O
IRQ
Idle Mode Example Program
The Keil Debugger fully simulates the effects of Idle Mode. When your target program initiates Idle Mode program execution stops until the next interrupt is triggered. The following example code shows how to enter Idle Mode. while (1) // Repeat Forever { PCON |= 0x01; // Enter IDLE Mode count++; // Interrupt Wakes-up MCU } | ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.