3.10 Serial Port Configuration
Driver supports configuration of serial port mode for RS232, RS422 and RS485.
The SAMD51 function for configuring serial port mode is DSCSAM_SerialPortConfig.
Step-By-Step Instructions
The serial port will be configured according to the argument mode provided to function DSCSAM_SerialPortConfig(). The serial port will be configured as RS232 if 0 is provided as argument , will be configured as RS422 if 1 is provided as argument and will be configured as RS485 if 2 is given as argument.
Last updated