Buffercmp8() is only used within SPI_TwoBoards_FullDuplex_DMA.
 
Symbols
loading...
Files
loading...

Buffercmp8() function

Compares two 8-bit buffers and returns the comparison result.

Syntax

uint8_t Buffercmp8(uint8_t* pBuffer1,     uint8_t* pBuffer2,     uint8_t BufferLength);
Implemented in main.c:393

Arguments

pBuffer1

pointer to the source buffer to be compared to.

pBuffer2

pointer to the second source buffer to be compared to the first.

BufferLength

buffer's length.

Return value

0: Comparison is OK (the two Buffers are identical) Value different from 0: Comparison is NOK (Buffers are different)

References

LocationReferrerText
main.c:393
uint8_t Buffercmp8(uint8_t* pBuffer1, uint8_t* pBuffer2, uint8_t BufferLength)
main.c:66
uint8_t Buffercmp8(uint8_t* pBuffer1, uint8_t* pBuffer2, uint8_t BufferLength);
main.c:373WaitAndCheckEndOfTransfer()
if(Buffercmp8((uint8_t*)aTxBuffer, (uint8_t*)aRxBuffer, ubNbDataToTransmit))

Call Tree

Functions calling Buffercmp8()
all items filtered out
Buffercmp8()
Data read by Buffercmp8()
Data written by Buffercmp8()
Buffercmp8()
Type of Buffercmp8()
Buffercmp8()
uint8_t
all items filtered out