pabigot / bsp430

Board Support Package for MSP430 microcontrollers
http://pabigot.github.com/bsp430
BSD 3-Clause "New" or "Revised" License
38 stars 11 forks source link

support setting timer counters #41

Closed pabigot closed 11 years ago

pabigot commented 11 years ago

Contiki wants to be able to set the epoch for a timer (the clock_set_seconds() function). To avoid problems when the counter wraps this needs to be done in the HAL timer structure.