include/pm/pm_common.h File Reference

Power Manager: Chip- and version-independent support. More...

#include <assert.h>
#include <util.h>

Include dependency graph for pm_common.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void pm_priv_set_main_clock (enum pm_mainclk_src source, unsigned long rate)
 Set the source for the main clock to source, which is running at rate Hz.


Detailed Description

Power Manager: Chip- and version-independent support.

Note:
Do not include this file directly.

Author:
Atmel Corporation: http://www.atmel.com
Support and FAQ: http://support.atmel.no/

Definition in file pm_common.h.


Function Documentation

void pm_priv_set_main_clock ( enum pm_mainclk_src  source,
unsigned long  rate 
)

Set the source for the main clock to source, which is running at rate Hz.

Definition at line 66 of file pm.c.

References assert, cpu_irq_restore(), cpu_irq_save(), and main_clock_rate.

Here is the call graph for this function:


Generated on Tue Sep 15 10:21:20 2009 for libavr32 by  doxygen 1.5.8