BSP430  20141115
Board Support Package for MSP430 microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Data Fields
sBSP430hplTIMER Struct Reference

#include <bsp430/periph/timer.h>

Data Fields

unsigned int ctl
 
union {
   unsigned int   cctl [7]
 
   struct {
      unsigned int   cctl0
 
      unsigned int   cctl1
 
      unsigned int   cctl2
 
      unsigned int   cctl3
 
      unsigned int   cctl4
 
      unsigned int   cctl5
 
      unsigned int   cctl6
 
   } 
 
}; 
 
unsigned int r
 
union {
   unsigned int   ccr [7]
 
   struct {
      unsigned int   ccr0
 
      unsigned int   ccr1
 
      unsigned int   ccr2
 
      unsigned int   ccr3
 
      unsigned int   ccr4
 
      unsigned int   ccr5
 
      unsigned int   ccr6
 
   } 
 
}; 
 

Detailed Description

Layout for Timer_A and Timer_B peripherals.

Examples:
bootstrap/clocks/main.c.

Field Documentation

unsigned int sBSP430hplTIMER::ccr[7]

Capture/Compare registers (indexed)

Examples:
periph/timer/alarm/main.c, and sensors/hh10d/main.c.
unsigned int sBSP430hplTIMER::ccr0

Tx::CCR0

unsigned int sBSP430hplTIMER::ccr1

Tx::CCR1

unsigned int sBSP430hplTIMER::ccr2

Tx::CCR2

unsigned int sBSP430hplTIMER::ccr3

Tx::CCR3

unsigned int sBSP430hplTIMER::ccr4

Tx::CCR4

unsigned int sBSP430hplTIMER::ccr5

TB::CCR5

unsigned int sBSP430hplTIMER::ccr6

TB::CCR6

unsigned int sBSP430hplTIMER::cctl[7]

Capture/Compare Control registers (indexed)

Examples:
periph/timer/alarm/main.c, and sensors/hh10d/main.c.
unsigned int sBSP430hplTIMER::cctl0

Tx::CCTL0

unsigned int sBSP430hplTIMER::cctl1

Tx::CCTL1

unsigned int sBSP430hplTIMER::cctl2

Tx::CCTL2

unsigned int sBSP430hplTIMER::cctl3

Tx::CCTL3

unsigned int sBSP430hplTIMER::cctl4

Tx::CCTL4

unsigned int sBSP430hplTIMER::cctl5

TB::CCTL5

unsigned int sBSP430hplTIMER::cctl6

TB::CCTL6

unsigned int sBSP430hplTIMER::ctl

Control register (TA0CTL)

Examples:
bootstrap/clocks/main.c, periph/timer/alarm/main.c, and sensors/hh10d/main.c.
unsigned int sBSP430hplTIMER::r

Raw timer counter (TA0R)


The documentation for this struct was generated from the following file: