5 Replies Latest reply on Jul 15, 2015 5:52 PM by moicci Branched to a new discussion.

    Hardware Timer (hw_timer.h) usage

      I read some similar discussions, but still I have a questions about usage of hw_timer.h .


      1. How can I compile to use this?

      Currently, I added a line above to bottom of makefile.mk .

      APP_PATCHES_AND_LIBS += hw_timer.a

      Is this way is correct?


      2. Is there need some initialization to use this?

      It seems only 3 functions are defined in hw_timer.h to user, but don't have an init func.

      If Q.1 is correct, I can not get an interrupt. Is there need some interrupt settings to use hw_timer?


      Thank you,