Please note that User Registration has been temporarily disabled due to a recent increase in automated registrations. If anyone needs an account, please request one here: RequestAccount. Thanks for your patience!--Wmat (talk)
Please email User:Wmat if you experience any issues with the Request Account form.

JuiceBox Code Lcd Std Int

From eLinux.org
Jump to: navigation, search

(file stdint.h)

#ifndef __STDINT_H
#define __STDINT_H

typedef unsigned long int uint32_t;
typedef unsigned short int uint16_t;
typedef unsigned char uint8_t;

typedef long int int32_t;
typedef short int int16_t;
typedef char int8_t;

union
{     
      char     int8_t_incorrect[(sizeof(int8_t)==1)?1:-1];     
      char     uint8_t_incorrect[(sizeof(uint8_t)==1)?1:-1];     

      char     int16_t_incorrect[(sizeof(int16_t)==2)?1:-1];     
      char     uint16_t_incorrect[(sizeof(uint16_t)==2)?1:-1];     

      char     int32_t_incorrect[(sizeof(int32_t)==4)?1:-1];     
      char     uint32_t_incorrect[(sizeof(uint32_t)==4)?1:-1];     
} s;

#endif