This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to use TIMER_CFG_A_ACT_TOGGLE in TimerConfigure function

hi

Can I toggle a pin using  TIMER_CFG_A_ACT_TOGGLE in TimerConfigure function? if so, how to? can someone give me a sample code for my better understanding...

Thanks you

  • Hello Anathan,

    Yes, that is possible. There is no ready to use code but you may refer to the timer based PWM code for IO configuration and then add the TimerConfigure parameter to the periodic configuration example. Both these are available in TivaWare

    D:\ti\TivaWare_C_Series-2.1.1.71\examples\peripherals\timer

    Regards
    Amit