MSP430 DriverLib for MSP430i2xx Devices  2.10.00.09
 All Data Structures Functions Variables Modules Pages
Timer_A_initContinuousModeParam Struct Reference

Used in the Timer_A_initContinuousMode() function as the param parameter. More...

#include <timer_a.h>

Data Fields

uint16_t clockSource
 
uint16_t clockSourceDivider
 
uint16_t timerInterruptEnable_TAIE
 
uint16_t timerClear
 
bool startTimer
 Whether to start the timer immediately.
 

Detailed Description

Used in the Timer_A_initContinuousMode() function as the param parameter.

Field Documentation

uint16_t Timer_A_initContinuousModeParam::clockSource

Selects Clock source.
Valid values are:

  • TIMER_A_CLOCKSOURCE_EXTERNAL_TXCLK [Default]
  • TIMER_A_CLOCKSOURCE_ACLK
  • TIMER_A_CLOCKSOURCE_SMCLK
  • TIMER_A_CLOCKSOURCE_INVERTED_EXTERNAL_TXCLK

Referenced by Timer_A_initContinuousMode().

uint16_t Timer_A_initContinuousModeParam::clockSourceDivider

Is the desired divider for the clock source
Valid values are:

  • TIMER_A_CLOCKSOURCE_DIVIDER_1 [Default]
  • TIMER_A_CLOCKSOURCE_DIVIDER_2
  • TIMER_A_CLOCKSOURCE_DIVIDER_4
  • TIMER_A_CLOCKSOURCE_DIVIDER_8

Referenced by Timer_A_initContinuousMode().

uint16_t Timer_A_initContinuousModeParam::timerClear

Decides if Timer_A clock divider, count direction, count need to be reset.
Valid values are:

  • TIMER_A_DO_CLEAR
  • TIMER_A_SKIP_CLEAR [Default]

Referenced by Timer_A_initContinuousMode().

uint16_t Timer_A_initContinuousModeParam::timerInterruptEnable_TAIE

Is to enable or disable Timer_A interrupt
Valid values are:

  • TIMER_A_TAIE_INTERRUPT_ENABLE
  • TIMER_A_TAIE_INTERRUPT_DISABLE [Default]

Referenced by Timer_A_initContinuousMode().


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

Copyright 2015, Texas Instruments Incorporated