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

fix reset issue with I2C #60

Closed pabigot closed 11 years ago

pabigot commented 11 years ago

For SPI and UART setting SWRST clears all the error conditions and aborts in-progress activity. For I2C doing so does not clear the request to transmit NACK, STT, or STP. Update the code to make this consistent without putting single-master--specific behavior into vBSP430serialSetReset_ni(). Coordinate with #59.