Skip to main content
hs.low9
Associate II
June 16, 2008
Question

TIM_OCMode? which one to use?

  • June 16, 2008
  • 2 replies
  • 1297 views
Posted on June 16, 2008 at 12:43

TIM_OCMode? which one to use?

    This topic has been closed for replies.

    2 replies

    hs.low9
    hs.low9Author
    Associate II
    May 17, 2011
    hs.low9
    hs.low9Author
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 12:37

    hi,

    I am newbie trying with STM32 timer.

    Can any one explain or tell me where can i find information on the different between following timer mode?

    Table 476. TIM_OCMode definition

    TIM_OCMode_Timing: TIM Output Compare Timing mode.

    TIM_OCMode_Active: TIM Output Compare Active mode.

    TIM_OCMode_Inactive: TIM Output Compare Inactive mode.

    TIM_OCMode_Toggle: TIM Output Compare Toggle mode.

    TIM_OCMode_PWM1: TIM Pulse Width Modulation mode1.

    TIM_OCMode_PWM2: TIM Pulse Width Modulation mode2.

    Many Thanks