Buffercmp8() is only used within USART_SyncCommunication_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:590

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:590
uint8_t Buffercmp8(uint8_t* pBuffer1, uint8_t* pBuffer2, uint8_t BufferLength)
main.c:71
uint8_t Buffercmp8(uint8_t* pBuffer1, uint8_t* pBuffer2, uint8_t BufferLength);
main.c:564WaitAndCheckEndOfTransfer()
if(Buffercmp8((uint8_t*)aUSART1TxBuffer, (uint8_t*)aSPI1RxBuffer, ubUSART1NbDataToTransmit))
main.c:570WaitAndCheckEndOfTransfer()
else if(Buffercmp8((uint8_t*)aSPI1TxBuffer, (uint8_t*)aUSART1RxBuffer, ubSPI1NbDataToTransmit))

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