MSP430™CapTIvateSoftwareLibraryAPIGuide  1_70_00_03
UART_Definitions.h
Go to the documentation of this file.
1 //*****************************************************************************
2 // UART_Definitions.h
3 //
6 //
8 //
11 //
12 //*****************************************************************************
13 //*****************************************************************************
16 //*****************************************************************************
17 
18 #ifndef UART_DEFINITIONS_H_
19 #define UART_DEFINITIONS_H_
20 
21 #include "rom_driverlib.h"
22 #include "rom_map_driverlib.h"
23 #include "driverlib.h"
24 
25 //
27 //
28 #include "CAPT_CommConfig.h"
29 
30 //*****************************************************************************
31 //
34 //
35 //*****************************************************************************
36 // NOTE: Rather than enabling UART here, the enable is controlled in
37 // CAPT_CommConfig.
38 // #define UART__ENABLE (true)
39 
40 //*****************************************************************************
41 //
44 //
45 //*****************************************************************************
46 #define UART__EUSCI_A_PERIPHERAL (EUSCI_A0_BASE)
47 
48 //*****************************************************************************
49 //
52 //
53 //*****************************************************************************
54 #define UART__LPMx_bits (LPM0_bits)
55 
56 //*****************************************************************************
57 //
59 //
61 //
63 //
65 //
66 //*****************************************************************************
67 #define UART__SAMPLING_MODE (EUSCI_A_UART_LOW_FREQUENCY_BAUDRATE_GENERATION)
68 #define UART__PRESCALER (0x08)
69 #define UART__FIRST_STAGE_MOD (0x00)
70 #define UART__SECOND_STAGE_MOD (0x00)
71 
72 //*****************************************************************************
75 //*****************************************************************************
76 
77 #endif /* UART_DEFINITIONS_H_ */
© Copyright 1995-2018, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale