I am a student, currently involving in the project where I am developing the software for MCU board. For that I am referring some sample codes to understand the basic structure before I write my own code. I have come across-ed several misunderstood.. those are below
uint8_t uartOutput = 1 ; uint8_t data; static u8 r_count=0 ; //here what is u8 , r_count is a variable, static is the system code #define ELEM_SIZE(array) (sizeof(array) / sizeof(array[0])) #define SEND_CAN_MSG(can_id, msg) send_can_msg(can_id, msg, ELEM_SIZE(msg)) #define LOG(Format, ...) uartOutput && Printf(formt,##__VA_ARGS_)
particularly, I want to know how these codes will work and need explanantion for for each word in each codes. because I am totally unfamiliar with these syntax. Especially, I want to know,, what it is (need explanation) ? and why it is necessary to use ??
Thank you very much for your time
This book looks particularly appropriate to you:
www.amazon.com/.../0764570684