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

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

#include <timer_d.h>

Data Fields

uint16_t clockSource
 
uint16_t clockSourceDivider
 
uint16_t clockingMode
 
uint16_t timerPeriod
 Is the specified timer period.
 
uint16_t combineCCRRegistersCombination
 
uint16_t compareOutputMode
 
uint16_t dutyCycle1
 Specifies the dutycycle for the generated waveform.
 
uint16_t dutyCycle2
 Specifies the dutycycle for the generated waveform.
 

Detailed Description

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

Field Documentation

uint16_t Timer_D_combineTDCCRToOutputPWMParam::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_combineTDCCRToOutputPWM().

uint16_t Timer_D_combineTDCCRToOutputPWMParam::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_combineTDCCRToOutputPWM().

uint16_t Timer_D_combineTDCCRToOutputPWMParam::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_combineTDCCRToOutputPWM().

uint16_t Timer_D_combineTDCCRToOutputPWMParam::combineCCRRegistersCombination

Selects desired CCR registers to combine
Valid values are:

  • TIMER_D_COMBINE_CCR1_CCR2
  • TIMER_D_COMBINE_CCR3_CCR4 - (available on Timer_D5, Timer_D7)
  • TIMER_D_COMBINE_CCR5_CCR6 - (available only on Timer_D7)

Referenced by Timer_D_combineTDCCRToOutputPWM().

uint16_t Timer_D_combineTDCCRToOutputPWMParam::compareOutputMode

Specifies the output mode.
Valid values are:

  • TIMER_D_OUTPUTMODE_OUTBITVALUE [Default]
  • TIMER_D_OUTPUTMODE_SET
  • TIMER_D_OUTPUTMODE_TOGGLE_RESET
  • TIMER_D_OUTPUTMODE_SET_RESET
  • TIMER_D_OUTPUTMODE_TOGGLE
  • TIMER_D_OUTPUTMODE_RESET
  • TIMER_D_OUTPUTMODE_TOGGLE_SET
  • TIMER_D_OUTPUTMODE_RESET_SET

Referenced by Timer_D_combineTDCCRToOutputPWM().


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

Copyright 2016, Texas Instruments Incorporated