1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

[sam] ready for sam3u debug on sam3u-ek

This commit is contained in:
Thibaut VIARD
2011-09-12 18:43:26 +02:00
parent bc253722a6
commit d287bba7d1
6 changed files with 35 additions and 10 deletions

View File

@ -183,6 +183,7 @@ extern uint32_t SPI_IsFinished( Spi* spi )
return ((spi->SPI_SR & SPI_SR_TXEMPTY) != 0) ;
}
#if (defined _SAM3S_) || (defined _SAM3S8_) || (defined _SAM3N_)
/**
* \brief Enable Spi PDC transmit
* \param spi Pointer to an Spi instance.
@ -322,4 +323,5 @@ extern uint32_t SPI_ReadBuffer( Spi* spi, void *pvBuffer, uint32_t dwLength )
return 0 ;
}
#endif /* (defined _SAM3S_) || (defined _SAM3S8_) || (defined _SAM3N_) */