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>

TypeDescription
int8_tSigned integer of exactly 8 bits width.
int16_tSigned integer of exactly 16 bits width.
int24_tSigned integer of exactly 24 bits width (see Attention note).
int32_tSigned integer of exactly 32 bits width.
int64_tSigned integer of exactly 64 bits width (see Attention note).
uint8_tUnsigned integer of exactly 8 bits width.
uint16_tUnsigned integer of exactly 16 bits width.
uint24_tUnsigned integer of exactly 24 bits width (see Attention note).
uint32_tUnsigned integer of exactly 32 bits width.
uint64_tUnsigned integer of exactly 64 bits width (see Attention note).