Enumarated Types for the Communication Library
ComSerialLineMode_t
The enumeration type ComSerialLineMode_t defines the type of used serial hardware for different hardware dependent function blocks of the serial communication library.
TYPE ComSerialLineMode_t :
(
SERIALLINEMODE_DEFAULT,
SERIALLINEMODE_KL6_3B_ALTERNATIVE,
SERIALLINEMODE_KL6_5B_STANDARD,
SERIALLINEMODE_KL6_22B_STANDARD,
SERIALLINEMODE_PC_COM_PORT,
SERIALLINEMODE_EL6_22B,
SERIALLINEMODE_IE6_11B
);
END_TYPE
ComHandshake_t
TYPE ComHandshake_t :
(
HANDSHAKE_NONE,
HANDSHAKE_RTSCTS,
HANDSHAKE_XONXOFF,
RS485_FULLDUPLEX,
RS485_HALFDUPLEX,
RS485_FULLDUPLEX_XONXOFF,
RS485_HALFDUPLEX_XONXOFF
);
END_TYPE
ComParity_t
TYPE ComParity_t :
(
PARITY_NONE,
PARITY_EVEN,
PARITY_ODD,
PARITY_MARK, (* only available with SerialLineControlADS *)
PARITY_SPACE (* only available with SerialLineControlADS *)
);
END_TYPE
ComStopBits_t
TYPE ComStopBits_t :
(
STOPBITS_ONE := 1,
STOPBITS_TWO := 2,
STOPBITS_ONE5 := 3
);
END_TYPE
ComDTRCtrl_t
TYPE ComDTRCtrl_t :
(
DTR_CTRL_DISABLE,
DTR_CTRL_ENABLE,
DTR_CTRL_HANDSHAKE
);
END_TYPE
ComRTSCtrl_t
TYPE ComRTSCtrl_t :
(
RTS_CTRL_DISABLE,
RTS_CTRL_ENABLE,
RTS_CTRL_HANDSHAKE,
RTS_CTRL_TOGGLE
);
END_TYPE