181
C-Control Pro Mega Series
© 2008 Conrad Electronic
waits until a byte has been received.
() if you work in serial IRQ mode. Serial_Read() only supports polled
mode.
Parameter
serport interface number (0 = 1st serial port, 1 = 2nd serial port )
Return Parameter
received byte from the serial interface
6.15.7 Serial_ReadExt
Serial Functions
Syntax
word Serial_ReadExt(byte serport);
Sub Serial_ReadExt(serport As Byte) As Word
Description
Reads one byte from the serial interface. In opposite to
immediately even if there is no byte available in the serial port. In this case
256
(
0x100
) is returned.
() if you work in serial IRQ mode. Serial_Read() only supports polled
mode.
Parameter
serport interface number (0 = 1st serial port, 1 = 2nd serial port )
Return Parameter
received byte from the serial interface
256
(
0x100
) if there was no byte available
6.15.8 Serial_Write
Serial Functions
Syntax
void Serial_Write(byte serport, byte val);
Sub Serial_Write(serport As Byte, val As Byte)
Description
Summary of Contents for C-Control Pro Mega Series
Page 1: ... 2008 Conrad Electronic C Control Pro Mega Series ...
Page 9: ...VIII Inhalt 2008 Conrad Electronic ...
Page 10: ...Part 1 ...
Page 17: ...Part 2 ...
Page 23: ...Part 3 ...
Page 41: ...32 Hardware 2008 Conrad Electronic 3 3 5 3 Component Parts Plan ...
Page 57: ...48 Hardware 2008 Conrad Electronic 3 4 5 3 Component Parts Plan ...
Page 58: ...Part 4 ...
Page 91: ...82 IDE 2008 Conrad Electronic ...
Page 92: ...Part 5 ...
Page 135: ...126 Compiler 2008 Conrad Electronic 31 1F US 63 3F 95 5F _ 127 7F DEL ...
Page 136: ...Part 6 ...
Page 231: ...Part 7 ...
Page 240: ......