54 #ifndef BSP430_PLATFORM_EXP430FR5739_PLATFORM_H
55 #define BSP430_PLATFORM_EXP430FR5739_PLATFORM_H
59 #define BSP430_PLATFORM_EXP430FR5739 1
64 #if (configBSP430_PLATFORM_SPIN_FOR_JUMPER - 0)
65 #define BSP430_PLATFORM_SPIN_FOR_JUMPER 1
69 #define BSP430_PLATFORM_BUTTON0_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT4
70 #define BSP430_PLATFORM_BUTTON0_PORT_BIT BIT0
71 #define BSP430_PLATFORM_BUTTON1_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT4
72 #define BSP430_PLATFORM_BUTTON1_PORT_BIT BIT1
77 #define BSP430_LED_RED 0
78 #define BSP430_LED_GREEN 1
79 #define BSP430_LED_BLUE 2
80 #define BSP430_LED_BLUE1 3
81 #define BSP430_LED_BLUE2 4
82 #define BSP430_LED_BLUE3 5
83 #define BSP430_LED_BLUE4 6
84 #define BSP430_LED_BLUE5 7
88 #ifndef BSP430_TIMER_CCACLK_ACLK_CCIDX
90 #define BSP430_TIMER_CCACLK_ACLK_CCIDX 2
92 #ifndef BSP430_TIMER_CCACLK_ACLK_CCIS
94 #define BSP430_TIMER_CCACLK_ACLK_CCIS CCIS_1
96 #ifndef BSP430_TIMER_CCACLK_CLK_PORT_BIT
98 #define BSP430_TIMER_CCACLK_CLK_PORT_BIT BIT1
100 #ifndef BSP430_TIMER_CCACLK_CC0_PORT_BIT
102 #define BSP430_TIMER_CCACLK_CC0_PORT_BIT BIT7
104 #ifndef BSP430_TIMER_CCACLK_CC1_PORT_BIT
106 #define BSP430_TIMER_CCACLK_CC1_PORT_BIT BIT2
111 #if (configBSP430_RFEM - 0)
112 #define BSP430_RFEM 1
114 #if (BSP430_RFEM - 0)
115 #define BSP430_RFEM_SERIAL_PERIPH_HANDLE BSP430_PERIPH_EUSCI_B0
116 #define BSP430_RFEM_RF1P3_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT2
117 #define BSP430_RFEM_RF1P3_PORT_BIT BIT4
118 #define BSP430_RFEM_RF1P3_TIMER_PERIPH_HANDLE BSP430_PERIPH_TA1
119 #define BSP430_RFEM_RF1P3_TIMER_CCIDX 0
120 #define BSP430_RFEM_RF1P3_TIMER_CCIS CCIS_1
121 #define BSP430_RFEM_RF1P5_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
122 #define BSP430_RFEM_RF1P5_PORT_BIT BIT0
123 #define BSP430_RFEM_RF1P5_TIMER_PERIPH_HANDLE BSP430_PERIPH_TA0
124 #define BSP430_RFEM_RF1P5_TIMER_CCIDX 1
125 #define BSP430_RFEM_RF1P5_TIMER_CCIS CCIS_0
126 #define BSP430_RFEM_RF1P6_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
127 #define BSP430_RFEM_RF1P6_PORT_BIT BIT1
128 #define BSP430_RFEM_RF1P6_TIMER_PERIPH_HANDLE BSP430_PERIPH_TA0
129 #define BSP430_RFEM_RF1P6_TIMER_CCIDX 2
130 #define BSP430_RFEM_RF1P6_TIMER_CCIS CCIS_0
131 #define BSP430_RFEM_RF1P7_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
132 #define BSP430_RFEM_RF1P7_PORT_BIT BIT1
133 #define BSP430_RFEM_RF1P7_TIMER_PERIPH_HANDLE BSP430_PERIPH_TA0
134 #define BSP430_RFEM_RF1P7_TIMER_CCIDX 2
135 #define BSP430_RFEM_RF1P7_TIMER_CCIS CCIS_0
136 #define BSP430_RFEM_RF1P8_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
137 #define BSP430_RFEM_RF1P8_PORT_BIT BIT2
138 #define BSP430_RFEM_RF1P8_TIMER_PERIPH_HANDLE BSP430_PERIPH_TA1
139 #define BSP430_RFEM_RF1P8_TIMER_CCIDX 1
140 #define BSP430_RFEM_RF1P8_TIMER_CCIS CCIS_0
141 #define BSP430_RFEM_RF1P9_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
142 #define BSP430_RFEM_RF1P9_PORT_BIT BIT2
143 #define BSP430_RFEM_RF1P9_TIMER_PERIPH_HANDLE BSP430_PERIPH_TA1
144 #define BSP430_RFEM_RF1P9_TIMER_CCIDX 1
145 #define BSP430_RFEM_RF1P9_TIMER_CCIS CCIS_0
146 #define BSP430_RFEM_RF1P10_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT4
147 #define BSP430_RFEM_RF1P10_PORT_BIT BIT1
148 #define BSP430_RFEM_RF1P12_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT2
149 #define BSP430_RFEM_RF1P12_PORT_BIT BIT3
150 #define BSP430_RFEM_RF1P12_TIMER_PERIPH_HANDLE BSP430_PERIPH_TA0
151 #define BSP430_RFEM_RF1P12_TIMER_CCIDX 0
152 #define BSP430_RFEM_RF1P12_TIMER_CCIS CCIS_1
153 #define BSP430_RFEM_RF1P14_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
154 #define BSP430_RFEM_RF1P14_PORT_BIT BIT3
155 #define BSP430_RFEM_RF1P14_TIMER_PERIPH_HANDLE BSP430_PERIPH_TA1
156 #define BSP430_RFEM_RF1P14_TIMER_CCIDX 2
157 #define BSP430_RFEM_RF1P14_TIMER_CCIS CCIS_0
158 #define BSP430_RFEM_RF1P16_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT2
159 #define BSP430_RFEM_RF1P16_PORT_BIT BIT2
160 #define BSP430_RFEM_RF1P16_TIMER_PERIPH_HANDLE BSP430_PERIPH_TB2
161 #define BSP430_RFEM_RF1P16_TIMER_CCIDX 2
162 #define BSP430_RFEM_RF1P16_TIMER_CCIS CCIS_0
163 #define BSP430_RFEM_RF1P18_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
164 #define BSP430_RFEM_RF1P18_PORT_BIT BIT6
165 #define BSP430_RFEM_RF1P18_TIMER_PERIPH_HANDLE BSP430_PERIPH_TB1
166 #define BSP430_RFEM_RF1P18_TIMER_CCIDX 1
167 #define BSP430_RFEM_RF1P18_TIMER_CCIS CCIS_0
168 #define BSP430_RFEM_RF1P20_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
169 #define BSP430_RFEM_RF1P20_PORT_BIT BIT7
170 #define BSP430_RFEM_RF1P20_TIMER_PERIPH_HANDLE BSP430_PERIPH_TB1
171 #define BSP430_RFEM_RF1P20_TIMER_CCIDX 2
172 #define BSP430_RFEM_RF1P20_TIMER_CCIS CCIS_0
173 #define BSP430_RFEM_RF2P13_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT2
174 #define BSP430_RFEM_RF2P13_PORT_BIT BIT0
175 #define BSP430_RFEM_RF2P13_TIMER_PERIPH_HANDLE BSP430_PERIPH_TB2
176 #define BSP430_RFEM_RF2P13_TIMER_CCIDX 0
177 #define BSP430_RFEM_RF2P13_TIMER_CCIS CCIS_0
178 #define BSP430_RFEM_RF2P15_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
179 #define BSP430_RFEM_RF2P15_PORT_BIT BIT0
180 #define BSP430_RFEM_RF2P15_TIMER_PERIPH_HANDLE BSP430_PERIPH_TA0
181 #define BSP430_RFEM_RF2P15_TIMER_CCIDX 1
182 #define BSP430_RFEM_RF2P15_TIMER_CCIS CCIS_0
183 #define BSP430_RFEM_RF2P18_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT2
184 #define BSP430_RFEM_RF2P18_PORT_BIT BIT7
185 #define BSP430_RFEM_RF2P19_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT4
186 #define BSP430_RFEM_RF2P19_PORT_BIT BIT0
187 #define BSP430_RFEM_RF2P19_TIMER_PERIPH_HANDLE BSP430_PERIPH_TB2
188 #define BSP430_RFEM_RF2P19_TIMER_CCIDX 0
189 #define BSP430_RFEM_RF2P19_TIMER_CCIS CCIS_1
190 #define BSP430_RFEM_RF2P20_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT3
191 #define BSP430_RFEM_RF2P20_PORT_BIT BIT7
192 #define BSP430_RFEM_RF2P20_TIMER_PERIPH_HANDLE BSP430_PERIPH_TB2
193 #define BSP430_RFEM_RF2P20_TIMER_CCIDX 2
194 #define BSP430_RFEM_RF2P20_TIMER_CCIS CCIS_1
195 #define BSP430_RFEM_RF3P3_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT2
196 #define BSP430_RFEM_RF3P3_PORT_BIT BIT0
197 #define BSP430_RFEM_RF3P3_TIMER_PERIPH_HANDLE BSP430_PERIPH_TB2
198 #define BSP430_RFEM_RF3P3_TIMER_CCIDX 0
199 #define BSP430_RFEM_RF3P3_TIMER_CCIS CCIS_0
200 #define BSP430_RFEM_RF3P4_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
201 #define BSP430_RFEM_RF3P4_PORT_BIT BIT0
202 #define BSP430_RFEM_RF3P4_TIMER_PERIPH_HANDLE BSP430_PERIPH_TA0
203 #define BSP430_RFEM_RF3P4_TIMER_CCIDX 1
204 #define BSP430_RFEM_RF3P4_TIMER_CCIS CCIS_0
205 #define BSP430_RFEM_RF3P5_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT2
206 #define BSP430_RFEM_RF3P5_PORT_BIT BIT6
207 #define BSP430_RFEM_RF3P5_TIMER_PERIPH_HANDLE BSP430_PERIPH_TB1
208 #define BSP430_RFEM_RF3P5_TIMER_CCIDX 0
209 #define BSP430_RFEM_RF3P5_TIMER_CCIS CCIS_1
210 #define BSP430_RFEM_RF3P7_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT2
211 #define BSP430_RFEM_RF3P7_PORT_BIT BIT5
212 #define BSP430_RFEM_RF3P7_TIMER_PERIPH_HANDLE BSP430_PERIPH_TB0
213 #define BSP430_RFEM_RF3P7_TIMER_CCIDX 0
214 #define BSP430_RFEM_RF3P7_TIMER_CCIS CCIS_1
215 #define BSP430_RFEM_RF3P8_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
216 #define BSP430_RFEM_RF3P8_PORT_BIT BIT2
217 #define BSP430_RFEM_RF3P8_TIMER_PERIPH_HANDLE BSP430_PERIPH_TA1
218 #define BSP430_RFEM_RF3P8_TIMER_CCIDX 1
219 #define BSP430_RFEM_RF3P8_TIMER_CCIS CCIS_0
220 #define BSP430_RFEM_RF3P9_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT2
221 #define BSP430_RFEM_RF3P9_PORT_BIT BIT7
222 #define BSP430_RFEM_RF3P10_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT2
223 #define BSP430_RFEM_RF3P10_PORT_BIT BIT3
224 #define BSP430_RFEM_RF3P10_TIMER_PERIPH_HANDLE BSP430_PERIPH_TA0
225 #define BSP430_RFEM_RF3P10_TIMER_CCIDX 0
226 #define BSP430_RFEM_RF3P10_TIMER_CCIS CCIS_1
227 #define BSP430_RFEM_RF3P11_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT4
228 #define BSP430_RFEM_RF3P11_PORT_BIT BIT0
229 #define BSP430_RFEM_RF3P11_TIMER_PERIPH_HANDLE BSP430_PERIPH_TB2
230 #define BSP430_RFEM_RF3P11_TIMER_CCIDX 0
231 #define BSP430_RFEM_RF3P11_TIMER_CCIS CCIS_1
232 #define BSP430_RFEM_RF3P13_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT4
233 #define BSP430_RFEM_RF3P13_PORT_BIT BIT1
234 #define BSP430_RFEM_RF3P14_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT2
235 #define BSP430_RFEM_RF3P14_PORT_BIT BIT4
236 #define BSP430_RFEM_RF3P14_TIMER_PERIPH_HANDLE BSP430_PERIPH_TA1
237 #define BSP430_RFEM_RF3P14_TIMER_CCIDX 0
238 #define BSP430_RFEM_RF3P14_TIMER_CCIS CCIS_1
239 #define BSP430_RFEM_RF3P15_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
240 #define BSP430_RFEM_RF3P15_PORT_BIT BIT7
241 #define BSP430_RFEM_RF3P15_TIMER_PERIPH_HANDLE BSP430_PERIPH_TB1
242 #define BSP430_RFEM_RF3P15_TIMER_CCIDX 2
243 #define BSP430_RFEM_RF3P15_TIMER_CCIS CCIS_0
244 #define BSP430_RFEM_RF3P16_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT2
245 #define BSP430_RFEM_RF3P16_PORT_BIT BIT2
246 #define BSP430_RFEM_RF3P16_TIMER_PERIPH_HANDLE BSP430_PERIPH_TB2
247 #define BSP430_RFEM_RF3P16_TIMER_CCIDX 2
248 #define BSP430_RFEM_RF3P16_TIMER_CCIS CCIS_0
249 #define BSP430_RFEM_RF3P17_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
250 #define BSP430_RFEM_RF3P17_PORT_BIT BIT3
251 #define BSP430_RFEM_RF3P17_TIMER_PERIPH_HANDLE BSP430_PERIPH_TA1
252 #define BSP430_RFEM_RF3P17_TIMER_CCIDX 2
253 #define BSP430_RFEM_RF3P17_TIMER_CCIS CCIS_0
254 #define BSP430_RFEM_RF3P18_PORT_PERIPH_HANDLE BSP430_PERIPH_PORT1
255 #define BSP430_RFEM_RF3P18_PORT_BIT BIT6
256 #define BSP430_RFEM_RF3P18_TIMER_PERIPH_HANDLE BSP430_PERIPH_TB1
257 #define BSP430_RFEM_RF3P18_TIMER_CCIDX 1
258 #define BSP430_RFEM_RF3P18_TIMER_CCIS CCIS_0