MSP430 DriverLib for MSP430FR5xx_6xx Devices  2.10.00.09
 All Data Structures Functions Variables Modules Pages
Timer_A_initUpModeParam Struct Reference

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

#include <timer_a.h>

Data Fields

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

Detailed Description

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

Field Documentation

uint16_t Timer_A_initUpModeParam::captureCompareInterruptEnable_CCR0_CCIE

Is to enable or disable Timer_A CCR0 captureComapre interrupt.
Valid values are:

  • TIMER_A_CCIE_CCR0_INTERRUPT_ENABLE
  • TIMER_A_CCIE_CCR0_INTERRUPT_DISABLE [Default]

Referenced by Timer_A_initUpMode().

uint16_t Timer_A_initUpModeParam::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_initUpMode().

uint16_t Timer_A_initUpModeParam::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_3
  • TIMER_A_CLOCKSOURCE_DIVIDER_4
  • TIMER_A_CLOCKSOURCE_DIVIDER_5
  • TIMER_A_CLOCKSOURCE_DIVIDER_6
  • TIMER_A_CLOCKSOURCE_DIVIDER_7
  • TIMER_A_CLOCKSOURCE_DIVIDER_8
  • TIMER_A_CLOCKSOURCE_DIVIDER_10
  • TIMER_A_CLOCKSOURCE_DIVIDER_12
  • TIMER_A_CLOCKSOURCE_DIVIDER_14
  • TIMER_A_CLOCKSOURCE_DIVIDER_16
  • TIMER_A_CLOCKSOURCE_DIVIDER_20
  • TIMER_A_CLOCKSOURCE_DIVIDER_24
  • TIMER_A_CLOCKSOURCE_DIVIDER_28
  • TIMER_A_CLOCKSOURCE_DIVIDER_32
  • TIMER_A_CLOCKSOURCE_DIVIDER_40
  • TIMER_A_CLOCKSOURCE_DIVIDER_48
  • TIMER_A_CLOCKSOURCE_DIVIDER_56
  • TIMER_A_CLOCKSOURCE_DIVIDER_64

Referenced by Timer_A_initUpMode().

uint16_t Timer_A_initUpModeParam::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_initUpMode().

uint16_t Timer_A_initUpModeParam::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_initUpMode().

uint16_t Timer_A_initUpModeParam::timerPeriod

Is the specified Timer_A period. This is the value that gets written into the CCR0. Limited to 16 bits[uint16_t]

Referenced by Timer_A_initUpMode().


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

Copyright 2015, Texas Instruments Incorporated