summaryrefslogtreecommitdiff
path: root/misc/estic/files/patch-sercom.h
blob: 260735ff12e83d51a2e4a640bd46b4902ed6732c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
--- spunk/sercom.h.orig	Sat Feb 26 18:01:59 2000
+++ spunk/sercom.h	Sat Feb 26 18:02:44 2000
@@ -43,29 +43,29 @@
 
 
 // Constants for accessing the array of error counters
-const ceRXOverflow		= 0;	// Receive buffer overflow
-const ceTXOverflow		= 1;	// Transmit buffer overflow
-const ceOverrun			= 2;	// UART overrun
-const ceBreak			= 3;	// Break received
-const ceFrame			= 4;	// Framing error
-const ceParity			= 5;	// Parity error
+const int ceRXOverflow		= 0;	// Receive buffer overflow
+const int ceTXOverflow		= 1;	// Transmit buffer overflow
+const int ceOverrun		= 2;	// UART overrun
+const int ceBreak		= 3;	// Break received
+const int ceFrame		= 4;	// Framing error
+const int ceParity		= 5;	// Parity error
 
 
 
 // Bitmask constants for evaluating the result of ModemStatus
-const csDeltaCTS		= 0x01; // Delta CTS
-const csDeltaDSR		= 0x02; // Delta DSR
-const csDeltaRI			= 0x04; // Falling edge of RI
-const csDeltaCarrierDetect	= 0x08; // Delta CD
-const csClearToSend		= 0x10; // Clear To Send
-const csDataSetReady		= 0x20; // Data Set Ready
-const csRingIndicator		= 0x40; // Ring Indicator
-const csCarrierDetect		= 0x80; // Carrier Detect
-const csCTS			= csClearToSend;
-const csDSR			= csDataSetReady;
-const csRI			= csRingIndicator;
-const csCD			= csCarrierDetect;
-const csDeltaCD			= csDeltaCarrierDetect;
+const int csDeltaCTS		= 0x01; // Delta CTS
+const int csDeltaDSR		= 0x02; // Delta DSR
+const int csDeltaRI		= 0x04; // Falling edge of RI
+const int csDeltaCarrierDetect	= 0x08; // Delta CD
+const int csClearToSend		= 0x10; // Clear To Send
+const int csDataSetReady	= 0x20; // Data Set Ready
+const int csRingIndicator	= 0x40; // Ring Indicator
+const int csCarrierDetect	= 0x80; // Carrier Detect
+const int csCTS			= csClearToSend;
+const int csDSR			= csDataSetReady;
+const int csRI			= csRingIndicator;
+const int csCD			= csCarrierDetect;
+const int csDeltaCD		= csDeltaCarrierDetect;