sam3 i2c: change stop function name, and read before set is not needed.
authoraleph <aleph@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 9 Jun 2011 15:51:49 +0000 (15:51 +0000)
committeraleph <aleph@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 9 Jun 2011 15:51:49 +0000 (15:51 +0000)
commit0d83749922dea610ff1a422bc3904d4c54754831
tree130b3181bb38fc1d80444e2b8b7234e31565987f
parente6aee3618f11f859e2f11814cee8f7a652897775
sam3 i2c: change stop function name, and read before set is not needed.
Move set stop bit before reading a byte, and wait transfer bit complete
when reading last byte.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4944 38d2e660-2303-0410-9eaa-f027e97ec537
bertos/cpu/cortex-m3/drv/i2c_sam3.c