Add beginTransaction to HAL SPI (#9019)

This commit is contained in:
revilor
2018-01-03 12:12:25 +01:00
committed by Scott Lahteine
parent fc67c64b8f
commit 959a2d2527
6 changed files with 122 additions and 3 deletions

View File

@ -299,6 +299,13 @@ PinCfg.Portnum = LPC1768_PIN_PORT(MISO_PIN);
// Write from buffer to SPI
void spiSendBlock(uint8_t token, const uint8_t* buf) {
}
/** Begin SPI transaction, set clock, bit order, data mode */
void spiBeginTransaction(uint32_t spiClock, uint8_t bitOrder, uint8_t dataMode) {
// TODO: to be implemented
}
#endif // ENABLED(LPC_SOFTWARE_SPI)
#endif // TARGET_LPC1768