Microchip | The Embedded Control Solutions Company Register Login
Browse All
Microchip Technology
 305 Code Snippets

CE103 - CPU In DOZE MODE

Microchip Technology

In this example, CPU is setup in DOZE mode to run at 1/128 of the System Clock. Device is initially configured to run at Fcy=40Mhz and then DOZE mode is enabled to run the CPU at 312.5Khz (40M/128).

About this Code Example

This file contains the following sections:
1. Code Example Description
2. Folder Contents
3. Suggested Development Resources
4. Reconfiguring the project for a different dsPIC33F device
5. Revision History


1. Code Example Description:
----------------------------
In this example, CPU is setup in DOZE mode to run at 1/128 of the System Clock.
Device is initially configured to run at Fcy=40Mhz and then DOZE mode is enabled to run the CPU at 312.5Khz (40M/128).

extern void setDozeRatio(unsigned int r);
This function sets the required DOZE ratio and enables the DOZE mode

Categories

Release History

  • Apr 19, 2012

    Version: 1.0.0

    New

Download Contact the Developer

*Required Fields

  • Current Version:1.0.0
  • Created:Apr 19, 2012
  • Updated:Feb 26, 2015
  • Downloads:2631
  • MPLAB Version:v8.00 or higher
  • C Compiler:C30 v3.00 or higher
  • Development Tools:Explorer 16 Demo board
  • Supported Devices:dsPIC33FJ256GP710

Corporate News

Resources

Stay Connected

Stay up to date with the latest news from Microchip Technology.