C types understood by the gcc-avr compiler Note: The AVR microcontrollers are 8 bit devices, with a small number of 16 bit registers. The compiler will correctly handle 16 bit values, including writing pairs of 8 bit registers in the correct order. However, beware of using 32 bit or larger register definitions - the compiler will probably do the right thing, but the delay and complexity in your code may be prohibitive. Here is a list of C types, defined in the header inttypes.h int8_t 8 bit signed value uint8_t 8 bit unsigned value int16_t 16 bit signed value uint16_t 16 bit unsigned value and the ones to avoid: int32_t 32 bit signed value uint32_t 32 bit unsigned value int64_t 64 bit signed value uint64_t 64 bit unsigned value