Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2850 dpurdie 1
/******************************************************************************/
2
/* msp430g2111.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 A2
63
************************************************************/
64
TAIV               = 0x012E;
65
TACTL              = 0x0160;
66
TACCTL0            = 0x0162;
67
TACCTL1            = 0x0164;
68
TAR                = 0x0170;
69
TACCR0             = 0x0172;
70
TACCR1             = 0x0174;
71
/************************************************************
72
* WATCHDOG TIMER
73
************************************************************/
74
WDTCTL             = 0x0120;
75
/************************************************************
76
* Calibration Data in Info Mem
77
************************************************************/
78
CALDCO_1MHZ        = 0x10FE;
79
CALBC1_1MHZ        = 0x10FF;
80
/************************************************************
81
* Interrupt Vectors (offset from 0xFFE0)
82
************************************************************/
83
/************************************************************
84
* End of Modules
85
************************************************************/