AvrIO  1.4.5
Bibliothèque C modulaire pour ATMEL AVR
itypes.h
1 
57 #ifndef _ITYPES_H_
58 #define _ITYPES_H_
59 
60 #include <stdint.h>
61 #include <stdbool.h>
62 
67 /* types ==================================================================== */
68 
72 typedef uint8_t U8;
73 
77 typedef uint16_t U16;
78 
82 typedef uint32_t U32;
83 
87 typedef int8_t I8;
88 
92 typedef int16_t I16;
93 
97 typedef int32_t I32;
98 
103 /* constants ================================================================ */
104 #if !defined(__DOXYGEN__)
105 /*
106  * __DOXYGEN__ not defined
107  * Partie ne devant pas être documentée.
108  * =============================================================================
109  */
110 
111 #ifndef NULL
112 # define NULL 0
113 #endif
114 
115 #ifndef F_CPU
116 # define F_CPU 7372800UL // iDwaRF
117 #endif
118 
119 #ifndef fOSC
120 # define fOSC F_CPU
121 #endif
122 
123 #ifndef BAUDRATE
124 # define BAUDRATE 115200 // 115,2 kbps
125 #endif
126 
127 #endif /* __DOXYGEN__ not defined */
128 
129 /* ========================================================================== */
130 #endif /* _ITYPES_H_ */
int32_t I32
Entier de 32 bits signé
Definition: itypes.h:97
int8_t I8
Entier de 8 bits signé (octet)
Definition: itypes.h:87
uint32_t U32
Entier de 32 bits signé
Definition: itypes.h:82
uint8_t U8
Entier de 8 bits non signé (octet)
Definition: itypes.h:72
uint16_t U16
Entier de 16 bits non signé
Definition: itypes.h:77
int16_t I16
Entier de 16 bits signé
Definition: itypes.h:92