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

BSP430 HPL macros for signals corresponding to the CC1100, CC1101, CC110L, etc. radio interface. More...

#include <bsp430/rf/rf.h>

Go to the source code of this file.

Macros

#define configBSP430_RF_CC110XEMK   0
 
#define configBSP430_RF_ANAREN_CC110L   0
 
#define BSP430_RF_CC110X   include <bsp430/platform.h>
 
#define BSP430_RF_CC110X_SPI_CTL0_BYTE   BSP430_SERIAL_ADJUST_CTL0_INITIALIZER(UCCKPH | UCMSB | UCMST)
 
#define BSP430_RF_CC110X_SPI_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC110X_SPI_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC110X_CSn_PORT_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC110X_GDO0_PORT_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC110X_GDO1_PORT_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC110X_GDO2_PORT_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC110X_CSn_PORT_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC110X_CSn_PORT_BIT   include <bsp430/platform.h>
 
#define BSP430_RF_CC110X_GDO0_PORT_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC110X_GDO0_TIMER_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC110X_GDO0_PORT_BIT   include <bsp430/platform.h>
 
#define BSP430_RF_CC110X_GDO0_TIMER_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC110X_GDO0_TIMER_CCIDX   include <bsp430/platform.h>
 
#define BSP430_RF_CC110X_GDO0_TIMER_CCIS   include <bsp430/platform.h>
 
#define BSP430_RF_CC110X_GDO1_PORT_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC110X_GDO1_TIMER_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC110X_GDO1_PORT_BIT   include <bsp430/platform.h>
 
#define BSP430_RF_CC110X_GDO1_TIMER_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC110X_GDO1_TIMER_CCIDX   include <bsp430/platform.h>
 
#define BSP430_RF_CC110X_GDO1_TIMER_CCIS   include <bsp430/platform.h>
 
#define BSP430_RF_CC110X_GDO2_PORT_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC110X_GDO2_TIMER_PERIPH_CPPID   include <bsp430/platform.h>
 
#define BSP430_RF_CC110X_GDO2_PORT_BIT   include <bsp430/platform.h>
 
#define BSP430_RF_CC110X_GDO2_TIMER_PERIPH_HANDLE   include <bsp430/platform.h>
 
#define BSP430_RF_CC110X_GDO2_TIMER_CCIDX   include <bsp430/platform.h>
 
#define BSP430_RF_CC110X_GDO2_TIMER_CCIS   include <bsp430/platform.h>
 

Detailed Description

BSP430 HPL macros for signals corresponding to the CC1100, CC1101, CC110L, etc. radio interface.

The CC1101 and related products are sub-1GHz RF transceivers designed for low-power wireless applications. This header provides declarations enabling BSP430 applications to access its resources through platform-specific hardware presentation adaptation.

The hardware presentation is identifical for the 433 MHz, 868-915 MHz, 950MHz, and other variants of the radio. This module supports them all, with differences handled by software drivers.

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

Macro Definition Documentation

#define BSP430_RF_CC110X   include <bsp430/platform.h>

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

Note that from the hardware interface perspective there is no difference between a CC1100, CC1101, or CC110L.

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

#define BSP430_RF_CC110X_CSn_PORT_BIT   include <bsp430/platform.h>

Port bit on BSP430_RF_CC110X_CSn_PORT_PERIPH_HANDLE for CSn.

This is the bit mask, not a bit position.

Examples:
rf/cc110x/main.c.
#define BSP430_RF_CC110X_CSn_PORT_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC110X_CSn_PORT_PERIPH_HANDLE.

See also
BSP430_PERIPH_CPPID_NONE
#define BSP430_RF_CC110X_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***

Examples:
rf/cc110x/main.c.
#define BSP430_RF_CC110X_GDO0_PORT_BIT   include <bsp430/platform.h>

Port bit on BSP430_RF_CC110X_GDO0_PORT_PERIPH_HANDLE for GDO0.

This is the bit mask, not a bit position.

Examples:
rf/cc110x/main.c.
#define BSP430_RF_CC110X_GDO0_PORT_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC110X_GDO0_PORT_PERIPH_HANDLE.

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

BSP430 peripheral handle for port on which GDO0 is placed.

The GDO0 signal is ***FILL IN HERE***

Examples:
rf/cc110x/main.c.
#define BSP430_RF_CC110X_GDO0_TIMER_CCIDX   include <bsp430/platform.h>

The capture/compare index on BSP430_RF_CC110X_GDO0_TIMER_PERIPH_HANDLE corresponding to GDO0.

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

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

The capture/compare input selector necessary to capture any signal changes associated with CC110X GDO0.

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

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

Preprocessor-compatible identifier corresponding to BSP430_RF_CC110X_GDO0_TIMER_PERIPH_HANDLE.

This macro is defined only if GDO0 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_CC110X_GDO0_TIMER_PERIPH_HANDLE   include <bsp430/platform.h>

BSP430 peripheral handle for timer connected to GDO0.

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

#define BSP430_RF_CC110X_GDO1_PORT_BIT   include <bsp430/platform.h>

Port bit on BSP430_RF_CC110X_GDO1_PORT_PERIPH_HANDLE for GDO1.

This is the bit mask, not a bit position.

Examples:
rf/cc110x/main.c.
#define BSP430_RF_CC110X_GDO1_PORT_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC110X_GDO1_PORT_PERIPH_HANDLE.

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

BSP430 peripheral handle for port on which GDO1 is placed.

The GDO1 signal is ***FILL IN HERE***

Examples:
rf/cc110x/main.c.
#define BSP430_RF_CC110X_GDO1_TIMER_CCIDX   include <bsp430/platform.h>

The capture/compare index on BSP430_RF_CC110X_GDO1_TIMER_PERIPH_HANDLE corresponding to GDO1.

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

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

The capture/compare input selector necessary to capture any signal changes associated with CC110X GDO1.

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

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

Preprocessor-compatible identifier corresponding to BSP430_RF_CC110X_GDO1_TIMER_PERIPH_HANDLE.

This macro is defined only if GDO1 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_CC110X_GDO1_TIMER_PERIPH_HANDLE   include <bsp430/platform.h>

BSP430 peripheral handle for timer connected to GDO1.

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

#define BSP430_RF_CC110X_GDO2_PORT_BIT   include <bsp430/platform.h>

Port bit on BSP430_RF_CC110X_GDO2_PORT_PERIPH_HANDLE for GDO2.

This is the bit mask, not a bit position.

Examples:
rf/cc110x/main.c.
#define BSP430_RF_CC110X_GDO2_PORT_PERIPH_CPPID   include <bsp430/platform.h>

Preprocessor-compatible identifier corresponding to BSP430_RF_CC110X_GDO2_PORT_PERIPH_HANDLE.

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

BSP430 peripheral handle for port on which GDO2 is placed.

The GDO2 signal is ***FILL IN HERE***

Examples:
rf/cc110x/main.c.
#define BSP430_RF_CC110X_GDO2_TIMER_CCIDX   include <bsp430/platform.h>

The capture/compare index on BSP430_RF_CC110X_GDO2_TIMER_PERIPH_HANDLE corresponding to GDO2.

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

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

The capture/compare input selector necessary to capture any signal changes associated with CC110X GDO2.

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

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

Preprocessor-compatible identifier corresponding to BSP430_RF_CC110X_GDO2_TIMER_PERIPH_HANDLE.

This macro is defined only if GDO2 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_CC110X_GDO2_TIMER_PERIPH_HANDLE   include <bsp430/platform.h>

BSP430 peripheral handle for timer connected to GDO2.

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

#define BSP430_RF_CC110X_SPI_CTL0_BYTE   BSP430_SERIAL_ADJUST_CTL0_INITIALIZER(UCCKPH | UCMSB | UCMST)

SPI initialization constant required for CC110X radio.

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

Examples:
rf/cc110x/main.c.
#define BSP430_RF_CC110X_SPI_PERIPH_CPPID   include <bsp430/platform.h>

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

#define BSP430_RF_CC110X_SPI_PERIPH_HANDLE   include <bsp430/platform.h>

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

Examples:
rf/cc110x/main.c.
#define configBSP430_RF_ANAREN_CC110L   0

Define to a true value to indicate intent to use a Anaren AIR BoosterPack.

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/cc110x.h> header.

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

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

Platforms that have a CC110X radio hard-wired may instead request this functionality through configBSP430_PLATFORM_RF. It may also be requested through configBSP430_RF_ANAREN_CC110L.

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