Revision 21eea8bd

View differences:

templates/periphAL.h
310 310
 */
311 311
apalExitStatus_t apalSPITransmit(apalSPIDriver_t* spid, const uint8_t* const data, const size_t length);
312 312

  
313
/**
314
 * @brief Transmit data to SPI and receive data afterwards without releasing the bus in between
315
 *
316
 * @param   spid        The SPI driver to use.
317
 * @param   txData      Transmit data buffer.
318
 * @param   rxData      Receive data buffer.
319
 * @param   txLength    Number of bytes to send.
320
 * @param   rxLength    Number of bytes to receive.
321
 *
322
 * @return The status indicates whether the function call was succesful.
323
 */
324
static inline apalExitStatus_t apalSPITransmitAndReceive(apalSPIDriver_t* spid, const uint8_t* const txData , uint8_t* const rxData, const size_t txLength, const size_t rxLength);
325

  
313 326
#ifdef __cplusplus
314 327
}
315 328
#endif

Also available in: Unified diff