|
|||||||||||
Product Information Device Database® Downloads Compliance Testing Distributors |
Peripheral SimulationFor Infineon C515C-8R / -8E — Power Saving Modes (Including Slow Down Mode) Simulation support for this peripheral or feature is comprised of:
These simulation capabilities are described below. 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 } Power Down Mode Example Program
The Keil Debugger fully simulates the effects of Power Down Mode. When your target program initiates Power Down Mode program execution stops until the next external interrupt is triggered or until the MCU is reset. The following example code shows how to enter Power Down Mode. while (1) // Repeat Forever { PCON |= 0x02; // Enter Power Down Mode count++; // External Interrupt or Reset Wakes-up MCU } Slow Down Mode Example Program
The Keil Debugger fully simulates the effects of Slow Down Mode. When your target program initiates Slow Down Mode, the CPU and all peripheral devices run at 1/8 normal speed until Slow Down mode is disabled or the MCU is reset. The following example code shows how to enter and exit Slow Down Mode. while (1) // Repeat Forever { PCON |= 0x10; // Enter Slow Down Mode PCON &= 0xEF; // Exit Slow Down Mode count++; // Reset Restores 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.