DSCSAM_SerialPortConfig

This function configures the serial port mode.

BYTE DSCSAM_SerialPortConfig(BYTE Mode, BYTE Port);

Name

Description

Applicable Boards

Mode

0 – RS232,

1 – RS422,

2 – RS485

Elton, Stevie and Jethro

Port

0 – Serial Port Pair 1 and 2

Elton, Stevie and Jethro

1 – Serial Port Pair 3 and 4

Elton and Stevie

Return Value

Error code or 0.

Last updated