dlbeer / mspdebug

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

Timer capture/compare control register should be TACCTLx #67

Closed tgtakaoka closed 6 years ago

tgtakaoka commented 6 years ago

simio info <timer> command reports timer capture/compare control register as TACTL, but it should be TACCTL. TACTL is for Timer A control register.

$ mspdebug sim
...
(mspdebug) simio add timer TA3
Added new device "TA3" of type "timer".
(mspdebug) simio info TA3
Base address: 0x0160
IV address:   0x012e
IRQ0:         9
IRQ1:         8

TACTL:        0x0000
TAR:          0x0000
TAIV:         0x00

Channel  0, TACTL = 0x0000, TACCR = 0x0000
Channel  1, TACTL = 0x0000, TACCR = 0x0000
Channel  2, TACTL = 0x0000, TACCR = 0x0000
(mspdebug) 
tgtakaoka commented 6 years ago

This issue should be fixed by #62.

tgtakaoka commented 6 years ago

Fixed.