Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

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