_INST(Serial, 5, serialOpen, device, baud, stop_bits, even, serial_name) \
_INST(Serial, 1, serialClose, serial_name) \
_FUNC(Serial, 2, serialReadByte, variable, serial_name) \
_FUNC(Serial, 3, serialReadByteList, number, variable, serial_name) \
_FUNC(Serial, 5, serialReadString, variable, serial_name, prefix, suffix, interpret_escape) \
_INST(Serial, 2, serialSendByte, value, serial_name) \
_INST(Serial, 2, serialSendInt, value, serial_name) \
_INST(Serial, 2, serialSendLine, str, serial_name) \
_INST(Serial, 2, serialSendString, str, serial_name) \
_INST(Serial, 3, serialSendAllString, is_check, str, serial_name)