dlbeer / mspdebug

Debugging tool for MSP430 MCUs
GNU General Public License v2.0
187 stars 80 forks source link

simio Timer_B support #68

Closed tgtakaoka closed 6 years ago

tgtakaoka commented 6 years ago

It would be great if we can have Timer_B support in simio_timer.

According to the official documents, x1xxx family 12.1.1 and x2xxx family 13.1.1, Timer_B is identical to Timer_A with the following exceptions.

- The interrupt vector word of TBIFG is different than TAIFG one.
- The length of Timer_B is programable to be 8, 10, 12, or 16 bits.
- Timer_B TBCCRx registers are double-buffered and can be grouped.
- The SCCI bit function is not implemented in Timer_B.

Implementing those differences in simio_timer.c seems not so difficult.

tgtakaoka commented 6 years ago

Uploaded pull request #69 that implements Timer_B.

tgtakaoka commented 6 years ago

Close this since Timer_B has been implemented by pull request #69. Thanks for merging!