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

BSP430 HPL macros for signals corresponding to the CC1125, CC1121, CC1120, etc. radio interface. More...

#include <bsp430/rf/rf.h>

Go to the source code of this file.

Macros

#define configBSP430_RF_CC1125EMK   0
 
#define BSP430_RF_CC1125   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_SPI_CTL0_BYTE   BSP430_SERIAL_ADJUST_CTL0_INITIALIZER(UCCKPH | UCMSB | UCMST)
 
#define BSP430_RF_CC1125_SPI_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_SPI_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_CSn_PORT_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_GPIO0_PORT_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_GPIO1_PORT_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_GPIO2_PORT_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_GPIO3_PORT_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_RESETn_PORT_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_CSn_PORT_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_CSn_PORT_BIT   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_GPIO0_PORT_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_GPIO0_TIMER_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_GPIO0_PORT_BIT   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_GPIO0_TIMER_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_GPIO0_TIMER_CCIDX   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_GPIO0_TIMER_CCIS   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_GPIO1_PORT_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_GPIO1_TIMER_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_GPIO1_PORT_BIT   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_GPIO1_TIMER_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_GPIO1_TIMER_CCIDX   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_GPIO1_TIMER_CCIS   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_GPIO2_PORT_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_GPIO2_TIMER_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_GPIO2_PORT_BIT   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_GPIO2_TIMER_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_GPIO2_TIMER_CCIDX   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_GPIO2_TIMER_CCIS   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_GPIO3_PORT_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_GPIO3_TIMER_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_GPIO3_PORT_BIT   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_GPIO3_TIMER_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_GPIO3_TIMER_CCIDX   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_GPIO3_TIMER_CCIS   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_RESETn_PORT_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC1125_RESETn_PORT_BIT   include <bsp430/platform.h>
 

Detailed Description

BSP430 HPL macros for signals corresponding to the CC1125, CC1121, CC1120, etc. radio interface.

The CC1125 and related products (CC1121, CC1175, CC1200) are high performance RF narrowband transceivers. This header provides declarations enabling BSP430 applications to access its resources through platform-specific hardware presentation adaptation.

The hardware presentation is probably identifical for the CC112x/CC117x/CC120x variants of the radio. This module probably supports them all, with differences handled by software drivers.

This interface is different from the previous low-power transceiver line, which is supported by <bsp430/rf/cc110x.h>.

If TI ever cleans up their model numbering, this header may be renamed to be CC120x, parallel to CC110x.

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

Macro Definition Documentation

#define BSP430_RF_CC1125   include <bsp430/platform.h>

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

Note that from the hardware interface perspective there is probably no difference between a CC1120, CC1121, or CC1125.

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

#define BSP430_RF_CC1125_CSn_PORT_BIT   include <bsp430/platform.h>

Port bit on BSP430_RF_CC1125_CSn_PORT_PERIPH_HANDLE for CSn.

This is the bit mask, not a bit position.

#define BSP430_RF_CC1125_CSn_PORT_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC1125_CSn_PORT_PERIPH_HANDLE.

See also
BSP430_PERIPH_CPPID_NONE
#define BSP430_RF_CC1125_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_CC1125_GPIO0_PORT_BIT   include <bsp430/platform.h>

Port bit on BSP430_RF_CC1125_GPIO0_PORT_PERIPH_HANDLE for GPIO0.

This is the bit mask, not a bit position.

#define BSP430_RF_CC1125_GPIO0_PORT_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC1125_GPIO0_PORT_PERIPH_HANDLE.

See also
BSP430_PERIPH_CPPID_NONE
#define BSP430_RF_CC1125_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_CC1125_GPIO0_TIMER_CCIDX   include <bsp430/platform.h>

The capture/compare index on BSP430_RF_CC1125_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_CC1125_GPIO0_TIMER_CCIS
#define BSP430_RF_CC1125_GPIO0_TIMER_CCIS   include <bsp430/platform.h>

The capture/compare input selector necessary to capture any signal changes associated with CC1125 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_CC1125_GPIO0_TIMER_CCIDX
#define BSP430_RF_CC1125_GPIO0_TIMER_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC1125_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_CC1125_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_CC1125_GPIO1_PORT_BIT   include <bsp430/platform.h>

Port bit on BSP430_RF_CC1125_GPIO1_PORT_PERIPH_HANDLE for GPIO1.

This is the bit mask, not a bit position.

#define BSP430_RF_CC1125_GPIO1_PORT_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC1125_GPIO1_PORT_PERIPH_HANDLE.

See also
BSP430_PERIPH_CPPID_NONE
#define BSP430_RF_CC1125_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_CC1125_GPIO1_TIMER_CCIDX   include <bsp430/platform.h>

The capture/compare index on BSP430_RF_CC1125_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_CC1125_GPIO1_TIMER_CCIS
#define BSP430_RF_CC1125_GPIO1_TIMER_CCIS   include <bsp430/platform.h>

The capture/compare input selector necessary to capture any signal changes associated with CC1125 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_CC1125_GPIO1_TIMER_CCIDX
#define BSP430_RF_CC1125_GPIO1_TIMER_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC1125_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_CC1125_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_CC1125_GPIO2_PORT_BIT   include <bsp430/platform.h>

Port bit on BSP430_RF_CC1125_GPIO2_PORT_PERIPH_HANDLE for GPIO2.

This is the bit mask, not a bit position.

#define BSP430_RF_CC1125_GPIO2_PORT_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC1125_GPIO2_PORT_PERIPH_HANDLE.

See also
BSP430_PERIPH_CPPID_NONE
#define BSP430_RF_CC1125_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_CC1125_GPIO2_TIMER_CCIDX   include <bsp430/platform.h>

The capture/compare index on BSP430_RF_CC1125_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_CC1125_GPIO2_TIMER_CCIS
#define BSP430_RF_CC1125_GPIO2_TIMER_CCIS   include <bsp430/platform.h>

The capture/compare input selector necessary to capture any signal changes associated with CC1125 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_CC1125_GPIO2_TIMER_CCIDX
#define BSP430_RF_CC1125_GPIO2_TIMER_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC1125_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_CC1125_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_CC1125_GPIO3_PORT_BIT   include <bsp430/platform.h>

Port bit on BSP430_RF_CC1125_GPIO3_PORT_PERIPH_HANDLE for GPIO3.

This is the bit mask, not a bit position.

#define BSP430_RF_CC1125_GPIO3_PORT_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC1125_GPIO3_PORT_PERIPH_HANDLE.

See also
BSP430_PERIPH_CPPID_NONE
#define BSP430_RF_CC1125_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_CC1125_GPIO3_TIMER_CCIDX   include <bsp430/platform.h>

The capture/compare index on BSP430_RF_CC1125_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_CC1125_GPIO3_TIMER_CCIS
#define BSP430_RF_CC1125_GPIO3_TIMER_CCIS   include <bsp430/platform.h>

The capture/compare input selector necessary to capture any signal changes associated with CC1125 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_CC1125_GPIO3_TIMER_CCIDX
#define BSP430_RF_CC1125_GPIO3_TIMER_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC1125_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_CC1125_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_CC1125_RESETn_PORT_BIT   include <bsp430/platform.h>

Port bit on BSP430_RF_CC1125_RESETn_PORT_PERIPH_HANDLE for RESETn.

This is the bit mask, not a bit position.

#define BSP430_RF_CC1125_RESETn_PORT_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC1125_RESETn_PORT_PERIPH_HANDLE.

See also
BSP430_PERIPH_CPPID_NONE
#define BSP430_RF_CC1125_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_CC1125_SPI_CTL0_BYTE   BSP430_SERIAL_ADJUST_CTL0_INITIALIZER(UCCKPH | UCMSB | UCMST)

SPI initialization constant required for CC1125 radio.

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

#define BSP430_RF_CC1125_SPI_PERIPH_CPPID   include <bsp430/platform.h>

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

#define BSP430_RF_CC1125_SPI_PERIPH_HANDLE   include <bsp430/platform.h>

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

#define configBSP430_RF_CC1125EMK   0

Define to a true value to indicate intent to use a CC1125 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/cc1125.h> header.

Platforms that have a CC1125 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_CC1125
Defaulted:
The value here is superseded by previously encountered definitions.