Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2850 dpurdie 1
/******************************************************************************/
2
/* msp430f2131.cmd                                                            */
3
/*    - Linker Command File for defintions in the header file                 */
4
/*    Please do not change !                                                  */
5
/*                                                                            */
6
/******************************************************************************/
7
 
8
 
9
/************************************************************
10
* STANDARD BITS
11
************************************************************/
12
/************************************************************
13
* STATUS REGISTER BITS
14
************************************************************/
15
/************************************************************
16
* PERIPHERAL FILE MAP
17
************************************************************/
18
/************************************************************
19
* SPECIAL FUNCTION REGISTER ADDRESSES + CONTROL BITS
20
************************************************************/
21
IE1                = 0x0000;
22
IFG1               = 0x0002;
23
/************************************************************
24
* Basic Clock Module
25
************************************************************/
26
DCOCTL             = 0x0056;
27
BCSCTL1            = 0x0057;
28
BCSCTL2            = 0x0058;
29
BCSCTL3            = 0x0053;
30
/************************************************************
31
* Comparator A
32
************************************************************/
33
CACTL1             = 0x0059;
34
CACTL2             = 0x005A;
35
CAPD               = 0x005B;
36
/*************************************************************
37
* Flash Memory
38
*************************************************************/
39
FCTL1              = 0x0128;
40
FCTL2              = 0x012A;
41
FCTL3              = 0x012C;
42
/************************************************************
43
* DIGITAL I/O Port1/2 Pull up / Pull down Resistors
44
************************************************************/
45
P1IN               = 0x0020;
46
P1OUT              = 0x0021;
47
P1DIR              = 0x0022;
48
P1IFG              = 0x0023;
49
P1IES              = 0x0024;
50
P1IE               = 0x0025;
51
P1SEL              = 0x0026;
52
P1REN              = 0x0027;
53
P2IN               = 0x0028;
54
P2OUT              = 0x0029;
55
P2DIR              = 0x002A;
56
P2IFG              = 0x002B;
57
P2IES              = 0x002C;
58
P2IE               = 0x002D;
59
P2SEL              = 0x002E;
60
P2REN              = 0x002F;
61
/************************************************************
62
* Timer A3
63
************************************************************/
64
TAIV               = 0x012E;
65
TACTL              = 0x0160;
66
TACCTL0            = 0x0162;
67
TACCTL1            = 0x0164;
68
TACCTL2            = 0x0166;
69
TAR                = 0x0170;
70
TACCR0             = 0x0172;
71
TACCR1             = 0x0174;
72
TACCR2             = 0x0176;
73
/************************************************************
74
* WATCHDOG TIMER
75
************************************************************/
76
WDTCTL             = 0x0120;
77
/************************************************************
78
* Calibration Data in Info Mem
79
************************************************************/
80
CALDCO_16MHZ       = 0x10F8;
81
CALBC1_16MHZ       = 0x10F9;
82
CALDCO_12MHZ       = 0x10FA;
83
CALBC1_12MHZ       = 0x10FB;
84
CALDCO_8MHZ        = 0x10FC;
85
CALBC1_8MHZ        = 0x10FD;
86
CALDCO_1MHZ        = 0x10FE;
87
CALBC1_1MHZ        = 0x10FF;
88
/************************************************************
89
* Interrupt Vectors (offset from 0xFFE0)
90
************************************************************/
91
/************************************************************
92
* End of Modules
93
************************************************************/