Defines uint16_t conversion