6.17.1 Fixed-Width Integer Types
Typedef names that designate signed and unsigned integer types with an exact width.
Attention: The types for 24-bit objects are only
supported when using PIC devices and MPLAB XC8. The types for 64-bit objects are not
supported when using 8-bit AVR, Baseline, or non-enhanced Mid-range PIC devices with
MPLAB XC8.
Include
<stdint.h>
Type | Description |
---|---|
int8_t | Signed integer of exactly 8 bits width. |
int16_t | Signed integer of exactly 16 bits width. |
int24_t | Signed integer of exactly 24 bits width (see Attention note). |
int32_t | Signed integer of exactly 32 bits width. |
int64_t | Signed integer of exactly 64 bits width (see Attention note). |
uint8_t | Unsigned integer of exactly 8 bits width. |
uint16_t | Unsigned integer of exactly 16 bits width. |
uint24_t | Unsigned integer of exactly 24 bits width (see Attention note). |
uint32_t | Unsigned integer of exactly 32 bits width. |
uint64_t | Unsigned integer of exactly 64 bits width (see Attention note). |