I don’t know who the brother is. Hehe, after reading your reply, I checked it on Google. uint8_t is defined in
http: //www.cs.colorado.edu/~main/cs1300/include/stdint.h
You can quickly find its definition by checking uint8_t:
typedef unsigned char uint8_t ;
I don’t know where I went wrong, can you clearly point it out?
According to my personal understanding,
uint8_t: u unsigned, int integer ,8 occupies 8 bytes, _t is a general suffix
Together, I don’t think it will be yours
typedef unsigned int uint8_t;
By the way , since you also said uint8_t 8-bit unsigned integer (int), why do you still define it that way? Is that 8-bit?
I understand the above. Friends who have questions can message me. If Who do you offend, Haihan!!
-----------------
typedef unsigned char uint8_t;
This is defined by the compiler and is basically a convention.