设定指定的UART端口
void uart_setup(int $uart_id, int $baud [, string $ctrl = “N81N”])
none
<?php
include "/lib/sd_340.php";
uart_setup(0, 9600, "E71N"); // set UART0 to 9600 bps, Even parity, 7 data bits, 1 stop bit, No-flowcontrol
uart_setup(1, 115200); // set UART1 to 115200bps
?>