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

RF Support. More...

#include <bsp430/core.h>

Go to the source code of this file.

Macros

#define configBSP430_RF_TIMER   0
 
#define BSP430_RF_TIMER_PERIPH_CPPID   include "bsp430_config.h"
 
#define BSP430_RF_TIMER_PERIPH_HANDLE   platform or application specific
 

Detailed Description

RF Support.

Many MSP430 based systems may include RF components which are accessed through <bsp430/rf/rfem.h> or through hard-wired radios.

Homepage
http://github.com/pabigot/bsp430

Macro Definition Documentation

#define BSP430_RF_TIMER_PERIPH_CPPID   include "bsp430_config.h"

Define to the preprocessor-compatible identifier for a timer that may be used to capture or generate signals on RF module GPIO pins. This timer should run at a speed capable of resolving individual symbols of the RF stream. It may only be active at times when the RF module is enabled.

The define must appear in the BSP430 Configuration subsystem so that functional resource requests are correctly propagated to the underlying resource instances.

Note
This interface assumes there is one timer that is shared among all GPIOs that have capture/compare capability. This can be validated by checking it against specific GPIO timer peripherals, such as BSP430_RF_CC2520_GPIO5_TIMER_PERIPH_CPPID.
Defaulted:
The value here is superseded by previously encountered definitions.
Platform-Based Value:
Undefined here; include <bsp430/platform.h> to obtain the correct value of this macro.
Affects:
BSP430_RF_TIMER_PERIPH_HANDLE
#define BSP430_RF_TIMER_PERIPH_HANDLE   platform or application specific

Defined to the peripheral identifier for a timer that can be used to capture or generate signals on RF module GPIO pins. This derives directly from BSP430_RF_TIMER_PERIPH_CPPID, but is a timer peripheral handle suitable for use in code.

The corresponding HAL and primary ISR features are automatically enabled for this peripheral. CC0 ISR is default included only if there is a GPIO associated with CC0 on this timer.

Dependency:
BSP430_RF_TIMER_PERIPH_CPPID, configBSP430_RF_TIMER
#define configBSP430_RF_TIMER   0

Define to a true value to enable any timer infrastructure associated with RF component GPIOs. A timer that will support this must be identified; see BSP430_RF_TIMER_PERIPH_CPPID.

C Preprocessor Only:
This macro may have a value that restricts its use to C preprocessor conditional directives.
Affects:
BSP430_RF_TIMER_PERIPH_HANDLE
Defaulted:
The value here is superseded by previously encountered definitions.