Added a timeout value to the TWI_StartTransmission() function, within which the addressed device must respond.

Fixed TWI_StartTransmission() corrupting the contents of the GPIOR0 register.
This commit is contained in:
Dean Camera 2010-02-24 09:49:19 +00:00
parent 14a5a94084
commit c0c982df7a
6 changed files with 56 additions and 30 deletions

View file

@ -15,9 +15,11 @@
* - AVRISP programmer project now has a more robust timeout system, allowing for a doubling of the software USART speed
* for PDI and TPI programming
* - Increased the speed of both software and hardware TPI/PDI programming modes of the AVRISP project
* - Added a timeout value to the TWI_StartTransmission() function, within which the addressed device must respond
*
* <b>Fixed:</b>
* - Fixed software PDI/TPI programming mode in the AVRISP project not correctly toggling just the clock pin
* - Fixed TWI_StartTransmission() corrupting the contents of the GPIOR0 register
*
* \section Sec_ChangeLog100219 Version 100219
*

View file

@ -12,8 +12,11 @@
*
* \section Sec_MigrationXXXXXX Migrating from 100219 to XXXXXX
*
* <b>Non-USB Library Components</b>
* - The \ref TWI_StartTransmission() function now takes in a timeout period, expressed in milliseconds, within which the addressed
* device must respond or the function will abort.
*
* \section Sec_Migration100219 Migrating from 091223 to 100219
* - (None)
*
* <b>Non-USB Library Components</b>
* - Due to some ADC channels not being identical to their ADC MUX selection masks for single-ended conversions on some AVR models,