以32位的stm32f4为例:
1. uint32_t t_int_k = 239773, t_int_km1 = 4294859707;
则t_int_k - t_int_km1 > 0;
2. uint16_t t_int_k = 50, t_int_km1 = 100;
则t_int_k - t_int_km1= -50;
3. unsigned int pp = 6;
int pq = -20;
pp + pq = 4294967282;
以32位的stm32f4为例:
1. uint32_t t_int_k = 239773, t_int_km1 = 4294859707;
则t_int_k - t_int_km1 > 0;
2. uint16_t t_int_k = 50, t_int_km1 = 100;
则t_int_k - t_int_km1= -50;
3. unsigned int pp = 6;
int pq = -20;
pp + pq = 4294967282;