BSP430  20141115
Board Support Package for MSP430 microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Macros
want_.h File Reference

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
 

Detailed Description

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.

Macro Definition Documentation

#define BSP430_WANT_CONFIG_HAL   context specific

Request the HAL interface for the wanted peripheral.

C Preprocessor Only:
This macro may have a value that restricts its use to C preprocessor conditional directives.
#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.

C Preprocessor Only:
This macro may have a value that restricts its use to C preprocessor conditional directives.
#define BSP430_WANT_CONFIG_HAL_ISR   context specific

Request the HAL interrupt interface for the wanted peripheral.

C Preprocessor Only:
This macro may have a value that restricts its use to C preprocessor conditional directives.
#define BSP430_WANT_CONFIG_HPL   context specific

Request the HPL interface for the wanted peripheral.

C Preprocessor Only:
This macro may have a value that restricts its use to C preprocessor conditional directives.
#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.

See also
BSP430_PERIPH_CPPID_NONE