AvrIO  1.4.5
Bibliothèque C modulaire pour ATMEL AVR
tc.h
1 
18 #ifndef _AVRIO_TC_H_
19 #define _AVRIO_TC_H_
20 
21 #include <avrio/defs.h>
22 __BEGIN_C_DECLS
23 /* ========================================================================== */
24 #include <avr/interrupt.h>
25 #include <avrio/file.h>
26 #include <avrio/serialios.h>
27 
50 /* constants ================================================================ */
51 
56 typedef enum {
57  eTcRxParityError = 0x0001,
58  eTcRxFormatError = 0x0002,
59  eTcRxOverflowError = 0x0004,
60  eTcTxOverflowError = 0x0008,
61  eTcParityUnknown = 0x0010,
62  eTcDataBitsUnknown = 0x0020,
63  eTcStopBitsUnknown = 0x0040,
64  eTcFlowCtlUnknown = 0x0080,
65 } eTcError;
66 
67 /* constants ================================================================ */
68 #define TC_FLAVOUR_POLL 0x01
69 #define TC_FLAVOUR_IRQ 0x02
70 
76 /* ========================================================================== */
77 __END_C_DECLS
78 #endif /* _AVRIO_TC_H_ */
eTcError
Codes d&#39;erreur.
Definition: tc.h:56