]> git.sur5r.net Git - freertos/blob - Demo/AVR32_UC3A_GCC/Atmel_SW_Framework/DRIVERS/PM/readme.html
3e49c661a158f04ffb3f5aa9d3f454239efdd6df
[freertos] / Demo / AVR32_UC3A_GCC / Atmel_SW_Framework / DRIVERS / PM / readme.html
1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
2 <html>
3    <head>
4       <link rel="stylesheet" type="text/css" href="../../.docsrc/AVR32_ns.css">
5    </head>
6    <body>
7    <div id="wrapper">
8 <p align="left" class="whs2"><a href="../DRIVERS_Readme.html"<font color="red"></font>Back to DRIVERS page</a></p>
9 <h1 align="center" class="whs1">AVR UC3 Series Software Framework: Power Manager Driver<br>
10 </h1>
11
12 <p align="center" class="whs2">Copyright &copy; 2007 Atmel Corporation</p>
13
14 <h2>Introduction</h2>
15 <h3>UC3A0/1, UC3B, UC3A3</h3>
16     <p>The Power Manager (PM) controls the oscillators and PLLs, and generates the clocks and
17 resets in the device. The PM controls two fast crystal oscillators, as well as two PLLs, which can
18 multiply the clock from either oscillator to provide higher frequencies. Additionally, a low-power
19 32 KHz oscillator is used to generate the real-time counter clock for high accuracy real-time
20 measurements. The PM also contains a low-power RC oscillator with fast start-up time, which
21 can be used to clock the digital logic.</p>
22
23 <h3> UC3L, UC3C </h3>
24     <p>The Power Manager (PM) provides synchronous clocks used to clock the main digital logic in the
25 device, namely the CPU, and the modules and peripherals connected to the HSB and PBx buses. The PM also
26 contains advanced power-saving features and a Reset Controller.</p>
27
28
29 <p>&nbsp;</p>
30
31 <h2>Power Manager Driver</h2>
32 <h3>UC3A0/1, UC3B, UC3A3</h3>
33     <p>The driver is composed of <a href="pm.c">pm.c</a> and <a href="pm.h">pm.h</a>.</p>
34     <p>&nbsp;</p>
35     <p>This driver provides interfaces for PM main hardware features:
36
37        <li>oscillator source setup: external or crystal;
38        <li>oscillator startup;
39        <li>PLL setup;
40        <li>main clock source setup.
41     </p>
42     <p>&nbsp;</p>
43     <p>Two examples are available:<p>
44        <a href=" EXAMPLE1/readme.html">EXAMPLE1:</a> how to configure the Power Manager to use Oscillator 0 as source of main clock, generic clock configuration and switch to a sleep mode<p>
45        <a href=" EXAMPLE2/readme.html">EXAMPLE2:</a> how to configure a PLL and switch the main clock to PLL output and do a generic clock configuration.</p>
46 <p>&nbsp;</p>
47
48 <p>
49   The file <a href="pm_conf_clocks.c">pm_conf_clocks.c</a> provides functions to simplify the usage of this driver.
50   It is used to configure all clocks at once by specifying frequencies needed.
51 </p>
52
53 <p>
54   The file <a href="power_clocks_lib.c">power_clocks_lib.c</a> (and <a href="power_clocks_lib.h">power_clocks_lib.h</a>)
55   provides functions to abstract features such as oscillators/pll/dfll configuration, clock configuration, System-sensible
56   parameters configuration, buses clocks configuration, sleep mode, reset.
57 </p>
58 <p></p>
59
60 <h3>UC3L</h3>
61     <p>The driver is composed of <a href="pm_uc3l.c">pm_uc3l.c</a> and <a href="pm_uc3l.h">pm_uc3l.h</a>.</p>
62     <p>&nbsp;</p>
63     <p>This driver provides interfaces for PM main hardware features:
64        <li>main clock source setup,
65        <li>clock domains setup,
66        <li>peripheral modules setup,
67        <li>Sleep modes setup,
68        <li>reset,
69        <li>PM interrupts setup.
70     </p>
71     <p>&nbsp;</p>
72     <p>Three examples are available:<p>
73        <a href=" EXAMPLE1/readme.html">EXAMPLE1:</a> how to configure the Power Manager to use Oscillator 0 as source of main clock, generic clock configuration and switch to a sleep mode. This example is not applicable to the AT32UC3L-EK board because no external crystal/clock is connected to OSC0 on that board.<p>
74        <a href=" EXAMPLE2/readme.html">EXAMPLE2:</a> how to configure a DFLL and switch the main clock to the DFLL output and do a generic clock configuration.</p>
75        <a href=" EXAMPLE3/readme.html">EXAMPLE2:</a> how to use the RC120M internal oscillator as main clock source and do a Generic clock configuration.</p>
76 <p>&nbsp;</p>
77
78 <h3>UC3C</h3>
79     <p>The driver is composed of <a href="pm_uc3c.c">pm_uc3c.c</a> and <a href="pm_uc3c.h">pm_uc3c.h</a>.</p>
80     <p>&nbsp;</p>
81     <p>This driver provides interfaces for PM main hardware features:
82        <li>main clock source setup,
83        <li>clock domains setup,
84        <li>peripheral modules setup,
85        <li>Sleep modes setup,
86        <li>reset,
87        <li>PM interrupts setup.
88     </p>
89     <p>&nbsp;</p>
90     <p>Two examples are available:<p>
91        <a href=" EXAMPLE1/readme.html">EXAMPLE1:</a> how to configure the Power Manager to use Oscillator 0 as source of main clock, generic clock configuration and switch to a sleep mode<p>
92        <a href=" EXAMPLE2/readme.html">EXAMPLE2:</a> how to configure a PLL and switch the main clock to PLL output and do a generic clock configuration.</p>
93 <p>&nbsp;</p>
94
95 <p>
96   The file <a href="power_clocks_lib.c">power_clocks_lib.c</a> (and <a href="power_clocks_lib.h">power_clocks_lib.h</a>)
97   provides functions to abstract features such as oscillators/pll/dfll configuration, clock configuration, System-sensible
98   parameters configuration, buses clocks configuration, sleep mode, reset.
99 </p>
100
101
102 <hr align="center" width="50%" class="whs4">
103
104     <p class=legalfooter>AVR is a registered trademark of
105     Atmel Corporation.</p>
106 </div>
107    </body>
108 </html>