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

BSP430 HPL macros for signals corresponding to the CC2520 radio interface. More...

#include <bsp430/rf/rf.h>

Go to the source code of this file.

Macros

#define configBSP430_RF_CC2520EMK   0
 
#define BSP430_RF_CC2520   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_SPI_CTL0_BYTE   BSP430_SERIAL_ADJUST_CTL0_INITIALIZER(UCCKPH | UCMSB | UCMST)
 
#define BSP430_RF_CC2520_SPI_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_SPI_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_CSn_PORT_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO0_PORT_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO1_PORT_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO2_PORT_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO3_PORT_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO4_PORT_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO5_PORT_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_RESETn_PORT_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_SO_PORT_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_CSn_PORT_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_CSn_PORT_BIT   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO0_PORT_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO0_TIMER_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO0_PORT_BIT   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO0_TIMER_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO0_TIMER_CCIDX   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO0_TIMER_CCIS   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO1_PORT_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO1_TIMER_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO1_PORT_BIT   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO1_TIMER_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO1_TIMER_CCIDX   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO1_TIMER_CCIS   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO2_PORT_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO2_TIMER_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO2_PORT_BIT   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO2_TIMER_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO2_TIMER_CCIDX   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO2_TIMER_CCIS   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO3_PORT_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO3_TIMER_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO3_PORT_BIT   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO3_TIMER_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO3_TIMER_CCIDX   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO3_TIMER_CCIS   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO4_PORT_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO4_TIMER_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO4_PORT_BIT   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO4_TIMER_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO4_TIMER_CCIDX   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO4_TIMER_CCIS   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO5_PORT_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO5_TIMER_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO5_PORT_BIT   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO5_TIMER_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO5_TIMER_CCIDX   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_GPIO5_TIMER_CCIS   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_RESETn_PORT_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_RESETn_PORT_BIT   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_SO_PORT_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC2520_SO_PORT_BIT   include <bsp430/platform.h>
 

Detailed Description

BSP430 HPL macros for signals corresponding to the CC2520 radio interface.

The CC2520 is a 2.4GHz RF transceiver supporting ZigBee/IEEE 802.15.4 wireless applications. This header provides declarations enabling BSP430 applications to access its resources through platform-specific hardware presentation adaptation.

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

Macro Definition Documentation

#define BSP430_RF_CC2520   include <bsp430/platform.h>

Defined to a true value if a CC2520 radio is expected to be available to the application.

This may be enabled by configBSP430_RF_CC2520EMK or configBSP430_PLATFORM_RF among other means.

#define BSP430_RF_CC2520_CSn_PORT_BIT   include <bsp430/platform.h>

Port bit on BSP430_RF_CC2520_CSn_PORT_PERIPH_HANDLE for CSn.

This is the bit mask, not a bit position.

#define BSP430_RF_CC2520_CSn_PORT_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC2520_CSn_PORT_PERIPH_HANDLE.

See also
BSP430_PERIPH_CPPID_NONE
#define BSP430_RF_CC2520_CSn_PORT_PERIPH_HANDLE   include <bsp430/platform.h>

BSP430 peripheral handle for port on which CSn is placed.

The CSn signal is ***FILL IN HERE***

#define BSP430_RF_CC2520_GPIO0_PORT_BIT   include <bsp430/platform.h>

Port bit on BSP430_RF_CC2520_GPIO0_PORT_PERIPH_HANDLE for GPIO0.

This is the bit mask, not a bit position.

#define BSP430_RF_CC2520_GPIO0_PORT_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC2520_GPIO0_PORT_PERIPH_HANDLE.

See also
BSP430_PERIPH_CPPID_NONE
#define BSP430_RF_CC2520_GPIO0_PORT_PERIPH_HANDLE   include <bsp430/platform.h>

BSP430 peripheral handle for port on which GPIO0 is placed.

The GPIO0 signal is ***FILL IN HERE***

#define BSP430_RF_CC2520_GPIO0_TIMER_CCIDX   include <bsp430/platform.h>

The capture/compare index on BSP430_RF_CC2520_GPIO0_TIMER_PERIPH_HANDLE corresponding to GPIO0.

This macro is defined only if GPIO0 is connected to a port that supports capture of a timer counter based on signal changes.

See also
BSP430_RF_CC2520_GPIO0_TIMER_CCIS
#define BSP430_RF_CC2520_GPIO0_TIMER_CCIS   include <bsp430/platform.h>

The capture/compare input selector necessary to capture any signal changes associated with CC2520 GPIO0.

This macro is defined only if GPIO0 is connected to a port that supports capture of a timer counter based on signal changes.

See also
BSP430_RF_CC2520_GPIO0_TIMER_CCIDX
#define BSP430_RF_CC2520_GPIO0_TIMER_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC2520_GPIO0_TIMER_PERIPH_HANDLE.

This macro is defined only if GPIO0 is connected to a port that supports capture of a timer counter based on signal changes.

See also
BSP430_PERIPH_CPPID_NONE
#define BSP430_RF_CC2520_GPIO0_TIMER_PERIPH_HANDLE   include <bsp430/platform.h>

BSP430 peripheral handle for timer connected to GPIO0.

This macro is defined only if GPIO0 is connected to a port that supports capture of a timer counter based on signal changes.

#define BSP430_RF_CC2520_GPIO1_PORT_BIT   include <bsp430/platform.h>

Port bit on BSP430_RF_CC2520_GPIO1_PORT_PERIPH_HANDLE for GPIO1.

This is the bit mask, not a bit position.

#define BSP430_RF_CC2520_GPIO1_PORT_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC2520_GPIO1_PORT_PERIPH_HANDLE.

See also
BSP430_PERIPH_CPPID_NONE
#define BSP430_RF_CC2520_GPIO1_PORT_PERIPH_HANDLE   include <bsp430/platform.h>

BSP430 peripheral handle for port on which GPIO1 is placed.

The GPIO1 signal is ***FILL IN HERE***

#define BSP430_RF_CC2520_GPIO1_TIMER_CCIDX   include <bsp430/platform.h>

The capture/compare index on BSP430_RF_CC2520_GPIO1_TIMER_PERIPH_HANDLE corresponding to GPIO1.

This macro is defined only if GPIO1 is connected to a port that supports capture of a timer counter based on signal changes.

See also
BSP430_RF_CC2520_GPIO1_TIMER_CCIS
#define BSP430_RF_CC2520_GPIO1_TIMER_CCIS   include <bsp430/platform.h>

The capture/compare input selector necessary to capture any signal changes associated with CC2520 GPIO1.

This macro is defined only if GPIO1 is connected to a port that supports capture of a timer counter based on signal changes.

See also
BSP430_RF_CC2520_GPIO1_TIMER_CCIDX
#define BSP430_RF_CC2520_GPIO1_TIMER_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC2520_GPIO1_TIMER_PERIPH_HANDLE.

This macro is defined only if GPIO1 is connected to a port that supports capture of a timer counter based on signal changes.

See also
BSP430_PERIPH_CPPID_NONE
#define BSP430_RF_CC2520_GPIO1_TIMER_PERIPH_HANDLE   include <bsp430/platform.h>

BSP430 peripheral handle for timer connected to GPIO1.

This macro is defined only if GPIO1 is connected to a port that supports capture of a timer counter based on signal changes.

#define BSP430_RF_CC2520_GPIO2_PORT_BIT   include <bsp430/platform.h>

Port bit on BSP430_RF_CC2520_GPIO2_PORT_PERIPH_HANDLE for GPIO2.

This is the bit mask, not a bit position.

#define BSP430_RF_CC2520_GPIO2_PORT_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC2520_GPIO2_PORT_PERIPH_HANDLE.

See also
BSP430_PERIPH_CPPID_NONE
#define BSP430_RF_CC2520_GPIO2_PORT_PERIPH_HANDLE   include <bsp430/platform.h>

BSP430 peripheral handle for port on which GPIO2 is placed.

The GPIO2 signal is ***FILL IN HERE***

#define BSP430_RF_CC2520_GPIO2_TIMER_CCIDX   include <bsp430/platform.h>

The capture/compare index on BSP430_RF_CC2520_GPIO2_TIMER_PERIPH_HANDLE corresponding to GPIO2.

This macro is defined only if GPIO2 is connected to a port that supports capture of a timer counter based on signal changes.

See also
BSP430_RF_CC2520_GPIO2_TIMER_CCIS
#define BSP430_RF_CC2520_GPIO2_TIMER_CCIS   include <bsp430/platform.h>

The capture/compare input selector necessary to capture any signal changes associated with CC2520 GPIO2.

This macro is defined only if GPIO2 is connected to a port that supports capture of a timer counter based on signal changes.

See also
BSP430_RF_CC2520_GPIO2_TIMER_CCIDX
#define BSP430_RF_CC2520_GPIO2_TIMER_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC2520_GPIO2_TIMER_PERIPH_HANDLE.

This macro is defined only if GPIO2 is connected to a port that supports capture of a timer counter based on signal changes.

See also
BSP430_PERIPH_CPPID_NONE
#define BSP430_RF_CC2520_GPIO2_TIMER_PERIPH_HANDLE   include <bsp430/platform.h>

BSP430 peripheral handle for timer connected to GPIO2.

This macro is defined only if GPIO2 is connected to a port that supports capture of a timer counter based on signal changes.

#define BSP430_RF_CC2520_GPIO3_PORT_BIT   include <bsp430/platform.h>

Port bit on BSP430_RF_CC2520_GPIO3_PORT_PERIPH_HANDLE for GPIO3.

This is the bit mask, not a bit position.

#define BSP430_RF_CC2520_GPIO3_PORT_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC2520_GPIO3_PORT_PERIPH_HANDLE.

See also
BSP430_PERIPH_CPPID_NONE
#define BSP430_RF_CC2520_GPIO3_PORT_PERIPH_HANDLE   include <bsp430/platform.h>

BSP430 peripheral handle for port on which GPIO3 is placed.

The GPIO3 signal is ***FILL IN HERE***

#define BSP430_RF_CC2520_GPIO3_TIMER_CCIDX   include <bsp430/platform.h>

The capture/compare index on BSP430_RF_CC2520_GPIO3_TIMER_PERIPH_HANDLE corresponding to GPIO3.

This macro is defined only if GPIO3 is connected to a port that supports capture of a timer counter based on signal changes.

See also
BSP430_RF_CC2520_GPIO3_TIMER_CCIS
#define BSP430_RF_CC2520_GPIO3_TIMER_CCIS   include <bsp430/platform.h>

The capture/compare input selector necessary to capture any signal changes associated with CC2520 GPIO3.

This macro is defined only if GPIO3 is connected to a port that supports capture of a timer counter based on signal changes.

See also
BSP430_RF_CC2520_GPIO3_TIMER_CCIDX
#define BSP430_RF_CC2520_GPIO3_TIMER_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC2520_GPIO3_TIMER_PERIPH_HANDLE.

This macro is defined only if GPIO3 is connected to a port that supports capture of a timer counter based on signal changes.

See also
BSP430_PERIPH_CPPID_NONE
#define BSP430_RF_CC2520_GPIO3_TIMER_PERIPH_HANDLE   include <bsp430/platform.h>

BSP430 peripheral handle for timer connected to GPIO3.

This macro is defined only if GPIO3 is connected to a port that supports capture of a timer counter based on signal changes.

#define BSP430_RF_CC2520_GPIO4_PORT_BIT   include <bsp430/platform.h>

Port bit on BSP430_RF_CC2520_GPIO4_PORT_PERIPH_HANDLE for GPIO4.

This is the bit mask, not a bit position.

#define BSP430_RF_CC2520_GPIO4_PORT_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC2520_GPIO4_PORT_PERIPH_HANDLE.

See also
BSP430_PERIPH_CPPID_NONE
#define BSP430_RF_CC2520_GPIO4_PORT_PERIPH_HANDLE   include <bsp430/platform.h>

BSP430 peripheral handle for port on which GPIO4 is placed.

The GPIO4 signal is ***FILL IN HERE***

#define BSP430_RF_CC2520_GPIO4_TIMER_CCIDX   include <bsp430/platform.h>

The capture/compare index on BSP430_RF_CC2520_GPIO4_TIMER_PERIPH_HANDLE corresponding to GPIO4.

This macro is defined only if GPIO4 is connected to a port that supports capture of a timer counter based on signal changes.

See also
BSP430_RF_CC2520_GPIO4_TIMER_CCIS
#define BSP430_RF_CC2520_GPIO4_TIMER_CCIS   include <bsp430/platform.h>

The capture/compare input selector necessary to capture any signal changes associated with CC2520 GPIO4.

This macro is defined only if GPIO4 is connected to a port that supports capture of a timer counter based on signal changes.

See also
BSP430_RF_CC2520_GPIO4_TIMER_CCIDX
#define BSP430_RF_CC2520_GPIO4_TIMER_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC2520_GPIO4_TIMER_PERIPH_HANDLE.

This macro is defined only if GPIO4 is connected to a port that supports capture of a timer counter based on signal changes.

See also
BSP430_PERIPH_CPPID_NONE
#define BSP430_RF_CC2520_GPIO4_TIMER_PERIPH_HANDLE   include <bsp430/platform.h>

BSP430 peripheral handle for timer connected to GPIO4.

This macro is defined only if GPIO4 is connected to a port that supports capture of a timer counter based on signal changes.

#define BSP430_RF_CC2520_GPIO5_PORT_BIT   include <bsp430/platform.h>

Port bit on BSP430_RF_CC2520_GPIO5_PORT_PERIPH_HANDLE for GPIO5.

This is the bit mask, not a bit position.

#define BSP430_RF_CC2520_GPIO5_PORT_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC2520_GPIO5_PORT_PERIPH_HANDLE.

See also
BSP430_PERIPH_CPPID_NONE
#define BSP430_RF_CC2520_GPIO5_PORT_PERIPH_HANDLE   include <bsp430/platform.h>

BSP430 peripheral handle for port on which GPIO5 is placed.

The GPIO5 signal is ***FILL IN HERE***

#define BSP430_RF_CC2520_GPIO5_TIMER_CCIDX   include <bsp430/platform.h>

The capture/compare index on BSP430_RF_CC2520_GPIO5_TIMER_PERIPH_HANDLE corresponding to GPIO5.

This macro is defined only if GPIO5 is connected to a port that supports capture of a timer counter based on signal changes.

See also
BSP430_RF_CC2520_GPIO5_TIMER_CCIS
#define BSP430_RF_CC2520_GPIO5_TIMER_CCIS   include <bsp430/platform.h>

The capture/compare input selector necessary to capture any signal changes associated with CC2520 GPIO5.

This macro is defined only if GPIO5 is connected to a port that supports capture of a timer counter based on signal changes.

See also
BSP430_RF_CC2520_GPIO5_TIMER_CCIDX
#define BSP430_RF_CC2520_GPIO5_TIMER_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC2520_GPIO5_TIMER_PERIPH_HANDLE.

This macro is defined only if GPIO5 is connected to a port that supports capture of a timer counter based on signal changes.

See also
BSP430_PERIPH_CPPID_NONE
#define BSP430_RF_CC2520_GPIO5_TIMER_PERIPH_HANDLE   include <bsp430/platform.h>

BSP430 peripheral handle for timer connected to GPIO5.

This macro is defined only if GPIO5 is connected to a port that supports capture of a timer counter based on signal changes.

#define BSP430_RF_CC2520_RESETn_PORT_BIT   include <bsp430/platform.h>

Port bit on BSP430_RF_CC2520_RESETn_PORT_PERIPH_HANDLE for RESETn.

This is the bit mask, not a bit position.

#define BSP430_RF_CC2520_RESETn_PORT_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC2520_RESETn_PORT_PERIPH_HANDLE.

See also
BSP430_PERIPH_CPPID_NONE
#define BSP430_RF_CC2520_RESETn_PORT_PERIPH_HANDLE   include <bsp430/platform.h>

BSP430 peripheral handle for port on which RESETn is placed.

The RESETn signal is ***FILL IN HERE***

#define BSP430_RF_CC2520_SO_PORT_BIT   include <bsp430/platform.h>

Port bit on BSP430_RF_CC2520_SO_PORT_PERIPH_HANDLE for SO.

This is the bit mask, not a bit position.

#define BSP430_RF_CC2520_SO_PORT_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC2520_SO_PORT_PERIPH_HANDLE.

See also
BSP430_PERIPH_CPPID_NONE
#define BSP430_RF_CC2520_SO_PORT_PERIPH_HANDLE   include <bsp430/platform.h>

BSP430 peripheral handle for port on which SO is placed.

The SO signal is ***FILL IN HERE***

#define BSP430_RF_CC2520_SPI_CTL0_BYTE   BSP430_SERIAL_ADJUST_CTL0_INITIALIZER(UCCKPH | UCMSB | UCMST)

SPI initialization constant required for CC2520 radio.

This value should be provided as the argument for ctl0_byte to hBSP430serialOpenSPI() when configuring SPI for a CC2520 radio.

#define BSP430_RF_CC2520_SPI_PERIPH_CPPID   include <bsp430/platform.h>

The CPPID associated with the serial device serving as the SPI interface to the CC2520 radio.

#define BSP430_RF_CC2520_SPI_PERIPH_HANDLE   include <bsp430/platform.h>

The serial peripheral serving as the SPI interface to the CC2520 radio.

#define configBSP430_RF_CC2520EMK   0

Define to a true value to indicate intent to use a CC2520 RF Evaluation Module accessed through the RFEM header.

A true value requests that <bsp430/platform.h> map platform-specific RFEM resources as described in <bsp430/rf/rfem.h> into the standard names described in the <bsp430/rf/cc2520.h> header.

Platforms that have a CC2520 radio hard-wired may instead request this functionality through configBSP430_PLATFORM_RF.

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