148 #ifndef BSP430_PLATFORM_BSP430_CONFIG_H
149 #define BSP430_PLATFORM_BSP430_CONFIG_H
155 #if defined(__MSP430_HAS_UCS__) || defined(__MSP430_HAS_UCS_RF__)
156 #ifndef configBSP430_UCS_TRIM_DCOCLKDIV
157 #define configBSP430_UCS_TRIM_DCOCLKDIV 1
158 #ifndef configBSP430_TIMER_CCACLK
159 #define configBSP430_TIMER_CCACLK 1
165 #if (configBSP430_BC2_TRIM_TO_MCLK - 0)
166 #ifndef configBSP430_TIMER_CCACLK
167 #define configBSP430_TIMER_CCACLK 1
174 #if (BSP430_PLATFORM_EXP430F5438 - 0)
178 #if (BSP430_PLATFORM_EXP430F5529 - 0)
182 #if (BSP430_PLATFORM_EXP430F5529LP - 0)
186 #if (BSP430_PLATFORM_EXP430FR5739 - 0)
190 #if (BSP430_PLATFORM_EXP430FR5969 - 0)
194 #if (BSP430_PLATFORM_EXP430FR4133 - 0)
198 #if (BSP430_PLATFORM_EXP430FG4618 - 0)
202 #if (BSP430_PLATFORM_EXP430G2 - 0)
206 #if (BSP430_PLATFORM_EM430 - 0)
210 #if (BSP430_PLATFORM_RF2500T - 0)
214 #if (BSP430_PLATFORM_WOLVERINE - 0)
218 #if (BSP430_PLATFORM_TRXEB - 0)
222 #if (BSP430_PLATFORM_SURF - 0)
229 #if (BSP430_PLATFORM_CUSTOM - 0)
230 #include <bsp430/platform/custom/bsp430_config.h>
238 #if (configBSP430_UPTIME - 0)
240 #ifndef BSP430_UPTIME_TIMER_PERIPH_CPPID
241 #define BSP430_UPTIME_TIMER_PERIPH_CPPID BSP430_PERIPH_CPPID_TA0
246 #define BSP430_WANT_PERIPH_CPPID BSP430_UPTIME_TIMER_PERIPH_CPPID
247 #define BSP430_WANT_CONFIG_HPL 1
248 #define BSP430_WANT_CONFIG_HAL 1
249 #define BSP430_WANT_CONFIG_HAL_ISR 1
250 #ifdef configBSP430_UPTIME_TIMER_HAL_CC0_ISR
251 #define BSP430_WANT_CONFIG_HAL_CC0_ISR (configBSP430_UPTIME_TIMER_HAL_CC0_ISR - 0)
254 #undef BSP430_WANT_CONFIG_HAL_CC0_ISR
255 #undef BSP430_WANT_CONFIG_HAL_ISR
256 #undef BSP430_WANT_CONFIG_HAL
257 #undef BSP430_WANT_CONFIG_HPL
258 #undef BSP430_WANT_PERIPH_CPPID
261 #if (configBSP430_CONSOLE - 0)
263 #ifndef BSP430_CONSOLE_SERIAL_PERIPH_CPPID
264 #define BSP430_CONSOLE_SERIAL_PERIPH_CPPID BSP430_PERIPH_CPPID_NONE
271 #elif BSP430_CONSOLE_SERIAL_PERIPH_CPPID == BSP430_PERIPH_CPPID_USCI_A0
272 #define BSP430_CONSOLE_SERIAL_PERIPH_HANDLE BSP430_PERIPH_USCI_A0
274 #elif BSP430_CONSOLE_SERIAL_PERIPH_CPPID == BSP430_PERIPH_CPPID_USCI_A1
275 #define BSP430_CONSOLE_SERIAL_PERIPH_HANDLE BSP430_PERIPH_USCI_A1
277 #elif BSP430_CONSOLE_SERIAL_PERIPH_CPPID == BSP430_PERIPH_CPPID_USCI_B0
278 #define BSP430_CONSOLE_SERIAL_PERIPH_HANDLE BSP430_PERIPH_USCI_B0
280 #elif BSP430_CONSOLE_SERIAL_PERIPH_CPPID == BSP430_PERIPH_CPPID_USCI_B1
281 #define BSP430_CONSOLE_SERIAL_PERIPH_HANDLE BSP430_PERIPH_USCI_B1
283 #elif BSP430_CONSOLE_SERIAL_PERIPH_CPPID == BSP430_PERIPH_CPPID_USCI5_A0
284 #define BSP430_CONSOLE_SERIAL_PERIPH_HANDLE BSP430_PERIPH_USCI5_A0
286 #elif BSP430_CONSOLE_SERIAL_PERIPH_CPPID == BSP430_PERIPH_CPPID_USCI5_A1
287 #define BSP430_CONSOLE_SERIAL_PERIPH_HANDLE BSP430_PERIPH_USCI5_A1
289 #elif BSP430_CONSOLE_SERIAL_PERIPH_CPPID == BSP430_PERIPH_CPPID_USCI5_A2
290 #define BSP430_CONSOLE_SERIAL_PERIPH_HANDLE BSP430_PERIPH_USCI5_A2
292 #elif BSP430_CONSOLE_SERIAL_PERIPH_CPPID == BSP430_PERIPH_CPPID_USCI5_A3
293 #define BSP430_CONSOLE_SERIAL_PERIPH_HANDLE BSP430_PERIPH_USCI5_A3
295 #elif BSP430_CONSOLE_SERIAL_PERIPH_CPPID == BSP430_PERIPH_CPPID_USCI5_B0
296 #define BSP430_CONSOLE_SERIAL_PERIPH_HANDLE BSP430_PERIPH_USCI5_B0
298 #elif BSP430_CONSOLE_SERIAL_PERIPH_CPPID == BSP430_PERIPH_CPPID_USCI5_B1
299 #define BSP430_CONSOLE_SERIAL_PERIPH_HANDLE BSP430_PERIPH_USCI5_B1
301 #elif BSP430_CONSOLE_SERIAL_PERIPH_CPPID == BSP430_PERIPH_CPPID_USCI5_B2
302 #define BSP430_CONSOLE_SERIAL_PERIPH_HANDLE BSP430_PERIPH_USCI5_B2
304 #elif BSP430_CONSOLE_SERIAL_PERIPH_CPPID == BSP430_PERIPH_CPPID_USCI5_B3
305 #define BSP430_CONSOLE_SERIAL_PERIPH_HANDLE BSP430_PERIPH_USCI5_B3
307 #elif BSP430_CONSOLE_SERIAL_PERIPH_CPPID == BSP430_PERIPH_CPPID_EUSCI_A0
308 #define BSP430_CONSOLE_SERIAL_PERIPH_HANDLE BSP430_PERIPH_EUSCI_A0
310 #elif BSP430_CONSOLE_SERIAL_PERIPH_CPPID == BSP430_PERIPH_CPPID_EUSCI_A1
311 #define BSP430_CONSOLE_SERIAL_PERIPH_HANDLE BSP430_PERIPH_EUSCI_A1
313 #elif BSP430_CONSOLE_SERIAL_PERIPH_CPPID == BSP430_PERIPH_CPPID_EUSCI_A2
314 #define BSP430_CONSOLE_SERIAL_PERIPH_HANDLE BSP430_PERIPH_EUSCI_A2
316 #elif BSP430_CONSOLE_SERIAL_PERIPH_CPPID == BSP430_PERIPH_CPPID_EUSCI_B0
317 #define BSP430_CONSOLE_SERIAL_PERIPH_HANDLE BSP430_PERIPH_EUSCI_B0
323 #define BSP430_WANT_PERIPH_CPPID BSP430_CONSOLE_SERIAL_PERIPH_CPPID
324 #define BSP430_WANT_CONFIG_HPL 1
325 #define BSP430_WANT_CONFIG_HAL 1
326 #define BSP430_WANT_CONFIG_HAL_ISR 1
328 #undef BSP430_WANT_CONFIG_HAL_ISR
329 #undef BSP430_WANT_CONFIG_HAL
330 #undef BSP430_WANT_CONFIG_HPL
331 #undef BSP430_WANT_PERIPH_CPPID
334 #if (configBSP430_TIMER_CCACLK - 0)
336 #ifndef BSP430_TIMER_CCACLK_PERIPH_CPPID
337 #define BSP430_TIMER_CCACLK_PERIPH_CPPID BSP430_PERIPH_CPPID_NONE
341 #define BSP430_WANT_PERIPH_CPPID BSP430_TIMER_CCACLK_PERIPH_CPPID
342 #define BSP430_WANT_CONFIG_HPL 1
343 #ifdef configBSP430_TIMER_CCACLK_HAL
344 #define BSP430_WANT_CONFIG_HAL (configBSP430_TIMER_CCACLK_HAL - 0)
346 #ifdef configBSP430_TIMER_CCACLK_HAL_ISR
347 #define BSP430_WANT_CONFIG_HAL_ISR (configBSP430_TIMER_CCACLK_HAL_ISR - 0)
349 #ifdef configBSP430_TIMER_CCACLK_HAL_CC0_ISR
350 #define BSP430_WANT_CONFIG_HAL_CC0_ISR (configBSP430_TIMER_CCACLK_HAL_CC0_ISR - 0)
353 #undef BSP430_WANT_CONFIG_HAL_CC0_ISR
354 #undef BSP430_WANT_CONFIG_HAL_ISR
355 #undef BSP430_WANT_CONFIG_HAL
356 #undef BSP430_WANT_CONFIG_HPL
357 #undef BSP430_WANT_PERIPH_CPPID
359 #if (configBSP430_TIMER_CCACLK_CLK_PORT - 0)
361 #ifndef BSP430_TIMER_CCACLK_CLK_PORT_PERIPH_CPPID
362 #define BSP430_TIMER_CCACLK_CLK_PORT_PERIPH_CPPID BSP430_PERIPH_CPPID_NONE
366 #define BSP430_WANT_PERIPH_CPPID BSP430_TIMER_CCACLK_CLK_PORT_PERIPH_CPPID
367 #define BSP430_WANT_CONFIG_HPL 1
368 #ifdef configBSP430_TIMER_CCACLK_CLK_PORT_HAL
369 #define BSP430_WANT_CONFIG_HAL (configBSP430_TIMER_CCACLK_CLK_PORT_HAL - 0)
372 #undef BSP430_WANT_CONFIG_HPL
373 #undef BSP430_WANT_CONFIG_HAL
374 #undef BSP430_WANT_PERIPH_CPPID
377 #if (configBSP430_TIMER_CCACLK_CC0_PORT - 0)
378 #ifndef BSP430_TIMER_CCACLK_CC0_PORT_PERIPH_CPPID
379 #define BSP430_TIMER_CCACLK_CC0_PORT_PERIPH_CPPID BSP430_PERIPH_CPPID_NONE
383 #define BSP430_WANT_PERIPH_CPPID BSP430_TIMER_CCACLK_CC0_PORT_PERIPH_CPPID
384 #define BSP430_WANT_CONFIG_HPL 1
385 #ifdef configBSP430_TIMER_CCACLK_CC0_PORT_HAL
386 #define BSP430_WANT_CONFIG_HAL (configBSP430_TIMER_CCACLK_CC0_PORT_HAL - 0)
389 #undef BSP430_WANT_CONFIG_HPL
390 #undef BSP430_WANT_CONFIG_HAL
391 #undef BSP430_WANT_PERIPH_CPPID
394 #if (configBSP430_TIMER_CCACLK_CC1_PORT - 0)
395 #ifndef BSP430_TIMER_CCACLK_CC1_PORT_PERIPH_CPPID
396 #define BSP430_TIMER_CCACLK_CC1_PORT_PERIPH_CPPID BSP430_PERIPH_CPPID_NONE
400 #define BSP430_WANT_PERIPH_CPPID BSP430_TIMER_CCACLK_CC1_PORT_PERIPH_CPPID
401 #define BSP430_WANT_CONFIG_HPL 1
402 #ifdef configBSP430_TIMER_CCACLK_CC1_PORT_HAL
403 #define BSP430_WANT_CONFIG_HAL (configBSP430_TIMER_CCACLK_CC1_PORT_HAL - 0)
406 #undef BSP430_WANT_CONFIG_HPL
407 #undef BSP430_WANT_CONFIG_HAL
408 #undef BSP430_WANT_PERIPH_CPPID
415 #ifndef configBSP430_RFEM
416 #define configBSP430_RFEM (configBSP430_RFEM_CCEM - 0)
420 #if (configBSP430_RFEM - 0)
Stripped header supporting Doxygen links.
Translate functional resource requests to core resource requests.
Platform-specific BSP430 configuration directives for MSP-EXP430F5438
Platform-specific BSP430 configuration directives for MSP-TRXEB
Platform-specific BSP430 configuration directives for MSP-EXP430FR4133
Platform-specific BSP430 configuration directives for MSP-EXP430G2 ("LaunchPad")
BSP430 RFEM to EMK configuration directive mapping.
Platform-specific BSP430 configuration directives for EM430
Platform-specific BSP430 configuration directives for MSP-EXP430F5529
Platform-specific BSP430 configuration directives for MSP-EXP430F5529 USB LaunchPad ...
Platform-specific BSP430 configuration directives for MSP-EXP430FR5969 ("Wolverine LaunchPad") ...
Platform-specific BSP430 configuration directives for EM430
Platform-specific BSP430 configuration directives for MSP-EXP430FR5739 ("Fraunchpad") ...
Platform-specific BSP430 configuration directives for MSP-EXP430FG4618
Platform-specific BSP430 configuration directives for Wolverine.
Platform-specific BSP430 configuration directives for EZ430-RF2500T