blob: f58d547ac9cf2ad61bcda2d81da7cf04819cb890 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
@----------------------------------------------------------------------------
@ File Name : pmc.inc
@ Object : Power Management Controller Header File.
@
@ 1.0 27/10/02 GR : Creation
@----------------------------------------------------------------------------
#ifndef pmc_inc
#define pmc_inc
@--------------------------------------------------
@ Power Management Controller Structure Definition
@--------------------------------------------------
PMC_SCER = 0x0 @ System Clock Enable Register
PMC_SCDR = 0x4 @ System Clock Disable Register
PMC_SCSR = 0x8 @ System Clock Status Register
@ Reserved
PMC_PCER = 0x10 @ Peripheral Clock Enable Register
PMC_PCDR = 0x14 @ Peripheral Clock Disable Register
PMC_PCSR = 0x18 @ Peripheral Clock Status Register
@-----------------------------------------------
@ Power Saving Control Register Bits Definition
@-----------------------------------------------
PMC_ARM7DIS = 0x1
PMC_US0 = (1<<2)
PMC_US1 = (1<<3)
PMC_US2 = (1<<4)
PMC_TC0 = (1<<6)
PMC_TC1 = (1<<7)
PMC_TC2 = (1<<8)
PMC_TC3 = (1<<9)
PMC_TC4 = (1<<10)
PMC_TC5 = (1<<11)
PMC_PIOA = (1<<13)
PMC_PIOB = (1<<14)
PMC_PCSR_ALL = 0xffff
@------------------------------------------
@ Power Management Controller Base Address
@------------------------------------------
PMC_BASE = 0xFFFF4000
#endif
|