Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Library_Interface
[AD5940_Library]
Exported_Functions. More...
Functions | |
| void | AD5940_ReadWriteNBytes (unsigned char *pSendBuffer, unsigned char *pRecvBuff, unsigned long length) |
| Using SPI to transmit N bytes and return the received bytes. | |
Detailed Description
Exported_Functions.
The functions user should provide for specific MCU platform
Function Documentation
| void AD5940_ReadWriteNBytes | ( | unsigned char * | pSendBuffer, |
| unsigned char * | pRecvBuff, | ||
| unsigned long | length | ||
| ) |
Using SPI to transmit N bytes and return the received bytes.
This function targets to provide a more efficient way to transmit/receive data.
- Parameters:
-
pSendBuffer :{0 - 0xFFFFFFFF} - Pointer to the data to be sent.
pRecvBuff :{0 - 0xFFFFFFFF} - Pointer to the buffer used to store received data.
length :{0 - 0xFFFFFFFF} - Data length in SendBuffer.
- Returns:
- None.
Definition at line 45 of file ad5940mbedport.cpp.
Generated on Tue Jul 12 2022 21:32:08 by
1.7.2