sam3n spi: revert to "end of transmit" interrupt instead of "tx buffer empty",
authoraleph <aleph@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 22 Oct 2010 13:06:52 +0000 (13:06 +0000)
committeraleph <aleph@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 22 Oct 2010 13:06:52 +0000 (13:06 +0000)
commit98a8fd716b70d7bca58463785ee287f48c0783e8
treefed80da2c52922b75eb018cec3f0a74d30540196
parent5937daac4bb4083928e6913a7e606d8c7d7ad15b
sam3n spi: revert to "end of transmit" interrupt instead of "tx buffer empty",
it's slower but with the latter method it's necessary to handle both interrupt
to make flush work correctly.
Remove board specific stuff (chip select handling).  Don't allow SPI hardware
to drive chip select, better handled by the app as PIO.

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