MSP430 DriverLib for MSP430F5xx_6xx Devices  2.80.00.01
 All Data Structures Functions Variables Modules Pages
Timer_D_initUpModeParam Struct Reference

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

#include <timer_d.h>

Data Fields

uint16_t clockSource
 
uint16_t clockSourceDivider
 
uint16_t clockingMode
 
uint16_t timerPeriod
 
uint16_t timerInterruptEnable_TDIE
 
uint16_t captureCompareInterruptEnable_CCR0_CCIE
 
uint16_t timerClear
 

Detailed Description

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

Field Documentation

uint16_t Timer_D_initUpModeParam::captureCompareInterruptEnable_CCR0_CCIE

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

  • TIMER_D_CCIE_CCR0_INTERRUPT_ENABLE
  • TIMER_D_CCIE_CCR0_INTERRUPT_DISABLE [Default]

Referenced by Timer_D_initUpMode().

uint16_t Timer_D_initUpModeParam::clockingMode

Is the selected clock mode register values.
Valid values are:

  • TIMER_D_CLOCKINGMODE_EXTERNAL_CLOCK [Default]
  • TIMER_D_CLOCKINGMODE_HIRES_LOCAL_CLOCK
  • TIMER_D_CLOCKINGMODE_AUXILIARY_CLK

Referenced by Timer_D_initUpMode().

uint16_t Timer_D_initUpModeParam::clockSource

Selects Clock source.
Valid values are:

  • TIMER_D_CLOCKSOURCE_EXTERNAL_TDCLK [Default]
  • TIMER_D_CLOCKSOURCE_ACLK
  • TIMER_D_CLOCKSOURCE_SMCLK
  • TIMER_D_CLOCKSOURCE_INVERTED_EXTERNAL_TDCLK

Referenced by Timer_D_initUpMode().

uint16_t Timer_D_initUpModeParam::clockSourceDivider

Is the divider for clock source.
Valid values are:

  • TIMER_D_CLOCKSOURCE_DIVIDER_1 [Default]
  • TIMER_D_CLOCKSOURCE_DIVIDER_2
  • TIMER_D_CLOCKSOURCE_DIVIDER_3
  • TIMER_D_CLOCKSOURCE_DIVIDER_4
  • TIMER_D_CLOCKSOURCE_DIVIDER_5
  • TIMER_D_CLOCKSOURCE_DIVIDER_6
  • TIMER_D_CLOCKSOURCE_DIVIDER_7
  • TIMER_D_CLOCKSOURCE_DIVIDER_8
  • TIMER_D_CLOCKSOURCE_DIVIDER_10
  • TIMER_D_CLOCKSOURCE_DIVIDER_12
  • TIMER_D_CLOCKSOURCE_DIVIDER_14
  • TIMER_D_CLOCKSOURCE_DIVIDER_16
  • TIMER_D_CLOCKSOURCE_DIVIDER_20
  • TIMER_D_CLOCKSOURCE_DIVIDER_24
  • TIMER_D_CLOCKSOURCE_DIVIDER_28
  • TIMER_D_CLOCKSOURCE_DIVIDER_32
  • TIMER_D_CLOCKSOURCE_DIVIDER_40
  • TIMER_D_CLOCKSOURCE_DIVIDER_48
  • TIMER_D_CLOCKSOURCE_DIVIDER_56
  • TIMER_D_CLOCKSOURCE_DIVIDER_64

Referenced by Timer_D_initUpMode().

uint16_t Timer_D_initUpModeParam::timerClear

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

  • TIMER_D_DO_CLEAR
  • TIMER_D_SKIP_CLEAR [Default]

Referenced by Timer_D_initUpMode().

uint16_t Timer_D_initUpModeParam::timerInterruptEnable_TDIE

Is to enable or disable timer interrupt
Valid values are:

  • TIMER_D_TDIE_INTERRUPT_ENABLE
  • TIMER_D_TDIE_INTERRUPT_DISABLE [Default]

Referenced by Timer_D_initUpMode().

uint16_t Timer_D_initUpModeParam::timerPeriod

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

Referenced by Timer_D_initUpMode().


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

Copyright 2016, Texas Instruments Incorporated