OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [ColdFire_MCF5282_Eclipse/] [RTOSDemo/] [MCF5282/] [MCF5282_PMM.h] - Blame information for rev 867

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 jeremybenn
/* Coldfire C Header File
2
 * Copyright Freescale Semiconductor Inc
3
 * All rights reserved.
4
 *
5
 * 2007/03/19 Revision: 0.9
6
 */
7
 
8
#ifndef __MCF5282_PMM_H__
9
#define __MCF5282_PMM_H__
10
 
11
 
12
/*********************************************************************
13
*
14
* Power Management (PMM)
15
*
16
*********************************************************************/
17
 
18
/* Register read/write macros */
19
#define MCF_PMM_LPICR                        (*(vuint8 *)(&__IPSBAR[0x12]))
20
#define MCF_PMM_LPCR                         (*(vuint8 *)(&__IPSBAR[0x110007]))
21
 
22
 
23
/* Bit definitions and macros for MCF_PMM_LPICR */
24
#define MCF_PMM_LPICR_XLPM_IPL(x)            (((x)&0x7)<<0x4)
25
#define MCF_PMM_LPICR_ENBSTOP                (0x80)
26
 
27
/* Bit definitions and macros for MCF_PMM_LPCR */
28
#define MCF_PMM_LPCR_LVDSE                   (0x2)
29
#define MCF_PMM_LPCR_STPMD(x)                (((x)&0x3)<<0x3)
30
#define MCF_PMM_LPCR_STPMD_SYS_DISABLED      (0)
31
#define MCF_PMM_LPCR_STPMD_SYS_CLKOUT_DISABLED (0x8)
32
#define MCF_PMM_LPCR_STPMD_ONLY_OSC_ENABLED  (0x10)
33
#define MCF_PMM_LPCR_STPMD_ALL_DISABLED      (0x18)
34
#define MCF_PMM_LPCR_LPMD(x)                 (((x)&0x3)<<0x6)
35
#define MCF_PMM_LPCR_LPMD_RUN                (0)
36
#define MCF_PMM_LPCR_LPMD_DOZE               (0x40)
37
#define MCF_PMM_LPCR_LPMD_WAIT               (0x80)
38
#define MCF_PMM_LPCR_LPMD_STOP               (0xC0)
39
 
40
 
41
#endif /* __MCF5282_PMM_H__ */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.