Introduction - If you have any usage issues, please Google them yourself
I have a SPI example, through the realization of the two SPI communication using interrupt realize full-duplex communication. In this case two MEGA8515 realize, connect to: MISO MISO MOSI MOSI SCK SCK/SS/SS will have to send the data loaded into the send buffer fill_tx_buffer function and from the receive buffer读出数据function read_rx_buffer not given in accordance with their respective demand the completion of your own.
Packet : 29782188avrspi.rar filelist
AVRspi.txt