BSP430
20141115
Board Support Package for MSP430 microcontrollers
|
Translate functional resource requests to core resource requests. More...
Go to the source code of this file.
Macros | |
#define | BSP430_WANT_PERIPH_CPPID context specific |
#define | BSP430_WANT_CONFIG_HPL context specific |
#define | BSP430_WANT_CONFIG_HAL context specific |
#define | BSP430_WANT_CONFIG_HAL_ISR context specific |
#define | BSP430_WANT_CONFIG_HAL_CC0_ISR context specific |
Translate functional resource requests to core resource requests.
This header is used to translate requests related to functional resources (like BSP430_UPTIME_TIMER_PERIPH_HANDLE) into requests for the underlying core resource (like configBSP430_HAL_TB0). It is intended to be included multiple times after defining BSP430_WANT_PERIPH_CPPID and other macros in terms of the functional-specific request macros.
See BSP430_PERIPH_CPPID_NONE for an overview of how specific peripherals are identified.
#define BSP430_WANT_CONFIG_HAL context specific |
Request the HAL interface for the wanted peripheral.
#define BSP430_WANT_CONFIG_HAL_CC0_ISR context specific |
Request the HAL CC0 interrupt interface for the wanted peripheral.
This is only meaningful if BSP430_WANT_PERIPH_CPPID identifies a timer peripheral.
#define BSP430_WANT_CONFIG_HAL_ISR context specific |
Request the HAL interrupt interface for the wanted peripheral.
#define BSP430_WANT_CONFIG_HPL context specific |
Request the HPL interface for the wanted peripheral.
#define BSP430_WANT_PERIPH_CPPID context specific |
Identify the core peripheral for which resource requests are needed.
This should be defined to a constant such as BSP430_PERIPH_CPPID_TA0.