Data Fields | |
uint16_t | v16 |
The value as 16 bit unsigned. | |
uint8_t | v8 [2] |
The values as 8 bit unsigned. | |
uint16_t | val |
The (full) value (16 bit unsigned) |
A medium (16 bit) value in different resolutions.
This type is for any (non negative) counting or other 16 bit value.
It features 8 and 16 bit resolution as well as direct access to the high and low byte.
uint8_t v8[2] |
The values as 8 bit unsigned.
v8
[0] would be the 8 bit counter value — in architecture (Atmel little) endianess. And v8
[1] would be the high byte.
If v16
is used to hold a network (wrong, big) endian value that would be the other way round, of course.