1) What exactly they mean by saying "at least 8 bits wide" for uint_least8_t & uint_fast8_t. For example, let's take a look of snippet of code
Code:
for(u16 i=0;i<counter;i++)
{
Increment_Counter++;
}
When counter =0xFF; Increment_Counter will work fine by any type of keyword declaration.
Now when counter =0x01FF; what kind of declaration should I choose? uint_least8_t (who guaranteed to be at least 8 bits wide) or unit16 type?
1) How choosing uint_fast8_t affects the code speed.
2) How choosing uint_least8_t consumes lesser data memory than unsigned char.