BigSmall Byte
Table of Contents
BigSmall Byte
The BigSmall byte stores one of two units in a single byte (for example: minutes or hours). The most significant bit (MSB) tells you which unit the remaining 7 bits represent.
How it works
-
MSB = 0 - interpret the value as small units (for example: minutes).
-
MSB = 1 - interpret the value as big units (for example: hours).
Examples
-
00000001 - MSB is 0, so this is 1 minute (small units).
-
10000001 - MSB is 1, so this is 1 hour (big units).