As we send data from microcontroller to any device or receive data from any device.
I found that read-write naming is used at some places and send receive is used at some places in c code.
For example if I want to send to PC & receive data from PC through Uart protocol
Which function name will you suggest? Read/ Write or Send/Receive or Transfer/ Receive?
I know function names can be anything of choice but I want advice, what do you prefer in your code
I found that read-write naming is used at some places and send receive is used at some places in c code.
For example if I want to send to PC & receive data from PC through Uart protocol
Which function name will you suggest? Read/ Write or Send/Receive or Transfer/ Receive?
I know function names can be anything of choice but I want advice, what do you prefer in your code
Last edited: