-def sendWord(word):
- sendByte(word & 0xFF)
- sendByte((word >> 8) & 0xFF)
-
-def sendDWord(dword):
- sendByte(dword & 0xFF)
- sendByte((dword >> 8) & 0xFF)
- sendByte((dword >> 16) & 0xFF)
- sendByte((dword >> 24) & 0xFF)
-
-def recvByte():
+def sendword(word):
+ """
+ send a word to the TTY-device
+ """
+ sendbyte(word & 0xFF)
+ sendbyte((word >> 8) & 0xFF)
+
+def senddword(dword):
+ """
+ send a dword to the TTY-device
+ """
+ sendbyte(dword & 0xFF)
+ sendbyte((dword >> 8) & 0xFF)
+ sendbyte((dword >> 16) & 0xFF)
+ sendbyte((dword >> 24) & 0xFF)
+
+def recvbyte():
+ """
+ receive a byte from the TTY-device
+ """