Timing functions delay_ms, delay_us and delay_ticks now use Timer B.
authorscottlivingston <scottlivingston@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Fri, 25 Jun 2010 17:25:28 +0000 (17:25 +0000)
committerscottlivingston <scottlivingston@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Fri, 25 Jun 2010 17:25:28 +0000 (17:25 +0000)
commitac438c880b976512eb377806fa0f470bf390fdde
tree14c1de7941b29e12697d52624ec50a352f7bfa95
parent89029e6edf48e5f1385f9b25d7cdbed2a4780140
Timing functions delay_ms, delay_us and delay_ticks now use Timer B.

This has been verified with a GF31 board (hence x2274 chip) and
read/write/erase and dev ID extraction on dsPIC33FJ128GP710 and
PIC24FJ64GA002 chips.

Use of Timer B should work as specified on GF1x boards (hence
msp430f161x chips) based on my (cursory) review of the MSP430x1xx
family "user's guide." However note that this has still NOT been
tested on hardware.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@643 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
firmware/include/command.h
firmware/lib/command.c