/ definition of common data types em >
-sharpdefine U8 uint8_t based on the context, I guess the following two sentences mean something like this:
-sharpdefine U16 uint16_t
-sharpdefine U32 uint32_t
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned long uint32_t;
typedef unsigned char unit8_t;
-sharpdefine U8 unit8_t;
the next sentence is because unit8_ t is too long to write, so a macro u8 is defined, which is actually the calling unit8_t.
so here comes the problem:
1. Follow the program initialization procedure
-sharpdefine U8 unit8_t;
typedef unsigned char unit8_t;
the code in the figure is first-sharpdefine and then typedef. Is it reversed?
2. Can you simplify the two sentences into one?
typedef unsigned char U8