From c14aaba7a13796311682972f060fd7611d093654 Mon Sep 17 00:00:00 2001 From: "joey.zhou" <2775152163@qq.com> Date: Sat, 15 Mar 2025 10:36:11 +0800 Subject: [PATCH 1/3] uart_adc_Chinese --- zh/peripherals/machine.UART.md | 1674 ++++++++++++++++++++++++-------- 1 file changed, 1273 insertions(+), 401 deletions(-) diff --git a/zh/peripherals/machine.UART.md b/zh/peripherals/machine.UART.md index 22ee3fd..4a6410a 100644 --- a/zh/peripherals/machine.UART.md +++ b/zh/peripherals/machine.UART.md @@ -6,25 +6,482 @@ ### `machine.UART` -```python -class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl) -``` +
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT UART4 - STDOUT PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
/EC600U系列支持2400、4800、9600、14400、19200、28800、33600、38400、57600、115200、230400、460800、921600、1000000。
databits - 数据位[5 ~ 8],int类型,EC600U仅支持8位。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT UART4 - STDOUT PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
EC200U系列支持2400、4800、9600、14400、19200、28800、33600、38400、57600、115200、230400、460800、921600、1000000。
databits - 数据位[5 ~ 8],int类型,仅支持8位。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
databits - 数据位[5 ~ 8],int类型。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
databits - 数据位[5 ~ 8],int类型。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
databits - 数据位[5 ~ 8],int类型。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
databits - 数据位[5 ~ 8],int类型。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
databits - 数据位[5 ~ 8],int类型。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
databits - 数据位[5 ~ 8],int类型。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
databits - 数据位[5 ~ 8],int类型。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT (不支持BG95M3)
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
databits - 数据位[5 ~ 8],int类型。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
databits - 数据位[5 ~ 8],int类型。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT UART4 - STDOUT PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
EG915U系列支持2400、4800、9600、14400、19200、28800、33600、38400、57600、115200、230400、460800、921600、1000000。
databits - 数据位[5 ~ 8],int类型,仅支持8位。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
databits - 数据位[5 ~ 8],int类型。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
databits - 数据位[5 ~ 8],int类型。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
databits - 数据位[5 ~ 8],int类型。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
databits - 数据位[5 ~ 8],int类型。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
databits - 数据位[5 ~ 8],int类型。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
databits - 数据位[5 ~ 8],int类型。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
databits - 数据位[5 ~ 8],int类型。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
EG912U系列支持2400、4800、9600、14400、19200、28800、33600、38400、57600、115200、230400、460800、921600、1000000。
databits - 数据位[5 ~ 8],int类型。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
databits - 数据位[5 ~ 8],int类型。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
databits - 数据位[5 ~ 8],int类型。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
databits - 数据位[5 ~ 8],int类型。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
databits - 数据位[5 ~ 8],int类型。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
databits - 数据位[5 ~ 8],int类型。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
databits - 数据位[5 ~ 8],int类型。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
databits - 数据位[5 ~ 8],int类型。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
databits - 数据位[5 ~ 8],int类型。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT uart4 - STDOUT PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
databits - 数据位[5 ~ 8],int类型。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+参数描述:
+UARTn - UART编号,int类型,UARTn说明如下:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - 波特率,int类型,支持常用波特率,如4800、9600、19200、38400、57600、115200、230400等;
databits - 数据位[5 ~ 8],int类型。
parity - 奇偶校验(0 – NONE,1 – EVEN,2 – ODD),int类型。
stopbits - 停止位[1 ~ 2],int类型。
flowctl - 硬件控制流(0 – FC_NONE, 1 – FC_HW),int类型。
1、BG95系列使用UART4需要先调用modem.main_uart_enable_set(1)使能UART4,重启生效,如下
+import modem
modem.main_uart_enable_get()
#获取Main_UART使能状态 1-使能,0-不使能
modem.main_uart_enable_set(1)
#设置Main_UART使能状态 1-使能,0-不使能,重启生效
+
+
+1、EC600M 的uart1在flowctl = 1时,仅将uart1映射到不同的引脚,未开启流控功能。
+1、EC800M 的uart1在flowctl = 1时,仅将uart1映射到不同的引脚,未开启流控功能。
+1、EG810M 的uart1在flowctl = 1时,仅将uart1映射到不同的引脚,未开启流控功能。
+1、EG912N 的uart1在flowctl = 1时,仅将uart1映射到不同的引脚,未开启流控功能。
+1、EC600K 的uart1在flowctl = 1时,仅将uart1映射到不同的引脚,未开启流控功能。
+1、EC800K 的uart1在flowctl = 1时,仅将uart1映射到不同的引脚,未开启流控功能。
+1、FCM360W UART2被初始化后交互口将无法使用,需要在代码中执行uart2.close()或者重启模组才可继续使用交互口。
+1、FCM362K UART1被初始化后交互口将无法使用,需要在代码中执行uart1.close()或者重启模组才可继续使用交互口。
+uart.control_485(UART.GPIOn, direction)
+
+该方法用于控制485通信方向,串口发送数据之前和之后进行拉高拉低指定GPIO,用来指示485通信的方向。
+参数描述:
+GPIOn - 需要控制的GPIO引脚号,参照[Pin模块](machine.Pin.md)的引脚定义,int类型。
direction - 引脚电平变化,int类型,说明如下:1表示引脚电平变化为:串口发送数据之前由低拉高、发送数据之后再由高拉低0表示引脚电平变化为:串口发送数据之前由高拉低、发送数据之后再由低拉高
返回值描述:
+成功返回整型值0,失败返回整型值-1。
uart.control_485(UART.GPIOn, direction)
+
+该方法用于控制485通信方向,串口发送数据之前和之后进行拉高拉低指定GPIO,用来指示485通信的方向。
+参数描述:
+GPIOn - 需要控制的GPIO引脚号,参照[Pin模块](machine.Pin.md)的引脚定义,int类型。
direction - 引脚电平变化,int类型,说明如下:1表示引脚电平变化为:串口发送数据之前由低拉高、发送数据之后再由高拉低0表示引脚电平变化为:串口发送数据之前由高拉低、发送数据之后再由低拉高
返回值描述:
+成功返回整型值0,失败返回整型值-1。
uart.control_485(UART.GPIOn, direction)
+
+该方法用于控制485通信方向,串口发送数据之前和之后进行拉高拉低指定GPIO,用来指示485通信的方向。
+参数描述:
+GPIOn - 需要控制的GPIO引脚号,参照[Pin模块](machine.Pin.md)的引脚定义,int类型。
direction - 引脚电平变化,int类型,说明如下:1表示引脚电平变化为:串口发送数据之前由低拉高、发送数据之后再由高拉低0表示引脚电平变化为:串口发送数据之前由高拉低、发送数据之后再由低拉高
返回值描述:
+成功返回整型值0,失败返回整型值-1。
uart.control_485(UART.GPIOn, direction)
+
+该方法用于控制485通信方向,串口发送数据之前和之后进行拉高拉低指定GPIO,用来指示485通信的方向。
+参数描述:
+GPIOn - 需要控制的GPIO引脚号,参照[Pin模块](machine.Pin.md)的引脚定义,int类型。
direction - 引脚电平变化,int类型,说明如下:1表示引脚电平变化为:串口发送数据之前由低拉高、发送数据之后再由高拉低0表示引脚电平变化为:串口发送数据之前由高拉低、发送数据之后再由低拉高
返回值描述:
+成功返回整型值0,失败返回整型值-1。
uart.control_485(UART.GPIOn, direction)
+
+该方法用于控制485通信方向,串口发送数据之前和之后进行拉高拉低指定GPIO,用来指示485通信的方向。
+参数描述:
+GPIOn - 需要控制的GPIO引脚号,参照[Pin模块](machine.Pin.md)的引脚定义,int类型。
direction - 引脚电平变化,int类型,说明如下:1表示引脚电平变化为:串口发送数据之前由低拉高、发送数据之后再由高拉低0表示引脚电平变化为:串口发送数据之前由高拉低、发送数据之后再由低拉高
返回值描述:
+成功返回整型值0,失败返回整型值-1。
uart.control_485(UART.GPIOn, direction)
+
+该方法用于控制485通信方向,串口发送数据之前和之后进行拉高拉低指定GPIO,用来指示485通信的方向。
+参数描述:
+GPIOn - 需要控制的GPIO引脚号,参照[Pin模块](machine.Pin.md)的引脚定义,int类型。
direction - 引脚电平变化,int类型,说明如下:1表示引脚电平变化为:串口发送数据之前由低拉高、发送数据之后再由高拉低0表示引脚电平变化为:串口发送数据之前由高拉低、发送数据之后再由低拉高
返回值描述:
+成功返回整型值0,失败返回整型值-1。
uart.control_485(UART.GPIOn, direction)
+
+该方法用于控制485通信方向,串口发送数据之前和之后进行拉高拉低指定GPIO,用来指示485通信的方向。
+参数描述:
+GPIOn - 需要控制的GPIO引脚号,参照[Pin模块](machine.Pin.md)的引脚定义,int类型。
direction - 引脚电平变化,int类型,说明如下:1表示引脚电平变化为:串口发送数据之前由低拉高、发送数据之后再由高拉低0表示引脚电平变化为:串口发送数据之前由高拉低、发送数据之后再由低拉高
返回值描述:
+成功返回整型值0,失败返回整型值-1。
uart.control_485(UART.GPIOn, direction)
+
+该方法用于控制485通信方向,串口发送数据之前和之后进行拉高拉低指定GPIO,用来指示485通信的方向。
+参数描述:
+GPIOn - 需要控制的GPIO引脚号,参照[Pin模块](machine.Pin.md)的引脚定义,int类型。
direction - 引脚电平变化,int类型,说明如下:1表示引脚电平变化为:串口发送数据之前由低拉高、发送数据之后再由高拉低0表示引脚电平变化为:串口发送数据之前由高拉低、发送数据之后再由低拉高
返回值描述:
+成功返回整型值0,失败返回整型值-1。
uart.control_485(UART.GPIOn, direction)
+
+该方法用于控制485通信方向,串口发送数据之前和之后进行拉高拉低指定GPIO,用来指示485通信的方向。
+参数描述:
+GPIOn - 需要控制的GPIO引脚号,参照[Pin模块](machine.Pin.md)的引脚定义,int类型。
direction - 引脚电平变化,int类型,说明如下:1表示引脚电平变化为:串口发送数据之前由低拉高、发送数据之后再由高拉低0表示引脚电平变化为:串口发送数据之前由高拉低、发送数据之后再由低拉高
返回值描述:
+成功返回整型值0,失败返回整型值-1。
uart.control_485(UART.GPIOn, direction)
+
+该方法用于控制485通信方向,串口发送数据之前和之后进行拉高拉低指定GPIO,用来指示485通信的方向。
+参数描述:
+GPIOn - 需要控制的GPIO引脚号,参照[Pin模块](machine.Pin.md)的引脚定义,int类型。
direction - 引脚电平变化,int类型,说明如下:1表示引脚电平变化为:串口发送数据之前由低拉高、发送数据之后再由高拉低0表示引脚电平变化为:串口发送数据之前由高拉低、发送数据之后再由低拉高
返回值描述:
+成功返回整型值0,失败返回整型值-1。
uart.control_485(UART.GPIOn, direction)
+
+该方法用于控制485通信方向,串口发送数据之前和之后进行拉高拉低指定GPIO,用来指示485通信的方向。
+参数描述:
+GPIOn - 需要控制的GPIO引脚号,参照[Pin模块](machine.Pin.md)的引脚定义,int类型。
direction - 引脚电平变化,int类型,说明如下:1表示引脚电平变化为:串口发送数据之前由低拉高、发送数据之后再由高拉低0表示引脚电平变化为:串口发送数据之前由高拉低、发送数据之后再由低拉高
返回值描述:
+成功返回整型值0,失败返回整型值-1。
uart.control_485(UART.GPIOn, direction)
+
+该方法用于控制485通信方向,串口发送数据之前和之后进行拉高拉低指定GPIO,用来指示485通信的方向。
+参数描述:
+GPIOn - 需要控制的GPIO引脚号,参照[Pin模块](machine.Pin.md)的引脚定义,int类型。
direction - 引脚电平变化,int类型,说明如下:1表示引脚电平变化为:串口发送数据之前由低拉高、发送数据之后再由高拉低0表示引脚电平变化为:串口发送数据之前由高拉低、发送数据之后再由低拉高
返回值描述:
+成功返回整型值0,失败返回整型值-1。
uart.control_485(UART.GPIOn, direction)
+
+该方法用于控制485通信方向,串口发送数据之前和之后进行拉高拉低指定GPIO,用来指示485通信的方向。
+参数描述:
+GPIOn - 需要控制的GPIO引脚号,参照[Pin模块](machine.Pin.md)的引脚定义,int类型。
direction - 引脚电平变化,int类型,说明如下:1表示引脚电平变化为:串口发送数据之前由低拉高、发送数据之后再由高拉低0表示引脚电平变化为:串口发送数据之前由高拉低、发送数据之后再由低拉高
返回值描述:
+成功返回整型值0,失败返回整型值-1。
uart.control_485(UART.GPIOn, direction)
+
+该方法用于控制485通信方向,串口发送数据之前和之后进行拉高拉低指定GPIO,用来指示485通信的方向。
+参数描述:
+GPIOn - 需要控制的GPIO引脚号,参照[Pin模块](machine.Pin.md)的引脚定义,int类型。
direction - 引脚电平变化,int类型,说明如下:1表示引脚电平变化为:串口发送数据之前由低拉高、发送数据之后再由高拉低0表示引脚电平变化为:串口发送数据之前由高拉低、发送数据之后再由低拉高
返回值描述:
+成功返回整型值0,失败返回整型值-1。
uart.control_485(UART.GPIOn, direction)
+
+该方法用于控制485通信方向,串口发送数据之前和之后进行拉高拉低指定GPIO,用来指示485通信的方向。
+参数描述:
+GPIOn - 需要控制的GPIO引脚号,参照[Pin模块](machine.Pin.md)的引脚定义,int类型。
direction - 引脚电平变化,int类型,说明如下:1表示引脚电平变化为:串口发送数据之前由低拉高、发送数据之后再由高拉低0表示引脚电平变化为:串口发送数据之前由高拉低、发送数据之后再由低拉高
返回值描述:
+成功返回整型值0,失败返回整型值-1。
uart.control_485(UART.GPIOn, direction)
+
+该方法用于控制485通信方向,串口发送数据之前和之后进行拉高拉低指定GPIO,用来指示485通信的方向。
+参数描述:
+GPIOn - 需要控制的GPIO引脚号,参照[Pin模块](machine.Pin.md)的引脚定义,int类型。
direction - 引脚电平变化,int类型,说明如下:1表示引脚电平变化为:串口发送数据之前由低拉高、发送数据之后再由高拉低0表示引脚电平变化为:串口发送数据之前由高拉低、发送数据之后再由低拉高
返回值描述:
+成功返回整型值0,失败返回整型值-1。
uart.control_485(UART.GPIOn, direction)
+
+该方法用于控制485通信方向,串口发送数据之前和之后进行拉高拉低指定GPIO,用来指示485通信的方向。
+参数描述:
+GPIOn - 需要控制的GPIO引脚号,参照[Pin模块](machine.Pin.md)的引脚定义,int类型。
direction - 引脚电平变化,int类型,说明如下:1表示引脚电平变化为:串口发送数据之前由低拉高、发送数据之后再由高拉低0表示引脚电平变化为:串口发送数据之前由高拉低、发送数据之后再由低拉高
返回值描述:
+成功返回整型值0,失败返回整型值-1。
uart.control_485(UART.GPIOn, direction)
+
+该方法用于控制485通信方向,串口发送数据之前和之后进行拉高拉低指定GPIO,用来指示485通信的方向。
+参数描述:
+GPIOn - 需要控制的GPIO引脚号,参照[Pin模块](machine.Pin.md)的引脚定义,int类型。
direction - 引脚电平变化,int类型,说明如下:1表示引脚电平变化为:串口发送数据之前由低拉高、发送数据之后再由高拉低0表示引脚电平变化为:串口发送数据之前由高拉低、发送数据之后再由低拉高
返回值描述:
+成功返回整型值0,失败返回整型值-1。
uart.control_485(UART.GPIOn, direction)
+
+该方法用于控制485通信方向,串口发送数据之前和之后进行拉高拉低指定GPIO,用来指示485通信的方向。
+参数描述:
+GPIOn - 需要控制的GPIO引脚号,参照[Pin模块](machine.Pin.md)的引脚定义,int类型。
direction - 引脚电平变化,int类型,说明如下:1表示引脚电平变化为:串口发送数据之前由低拉高、发送数据之后再由高拉低0表示引脚电平变化为:串口发送数据之前由高拉低、发送数据之后再由低拉高
返回值描述:
+成功返回整型值0,失败返回整型值-1。
uart.control_485(UART.GPIOn, direction)
+
+该方法用于控制485通信方向,串口发送数据之前和之后进行拉高拉低指定GPIO,用来指示485通信的方向。
+参数描述:
+GPIOn - 需要控制的GPIO引脚号,参照[Pin模块](machine.Pin.md)的引脚定义,int类型。
direction - 引脚电平变化,int类型,说明如下:1表示引脚电平变化为:串口发送数据之前由低拉高、发送数据之后再由高拉低0表示引脚电平变化为:串口发送数据之前由高拉低、发送数据之后再由低拉高
返回值描述:
+成功返回整型值0,失败返回整型值-1。
uart.control_485(UART.GPIOn, direction)
+
+该方法用于控制485通信方向,串口发送数据之前和之后进行拉高拉低指定GPIO,用来指示485通信的方向。
+参数描述:
+GPIOn - 需要控制的GPIO引脚号,参照[Pin模块](machine.Pin.md)的引脚定义,int类型。
direction - 引脚电平变化,int类型,说明如下:1表示引脚电平变化为:串口发送数据之前由低拉高、发送数据之后再由高拉低0表示引脚电平变化为:串口发送数据之前由高拉低、发送数据之后再由低拉高
返回值描述:
+成功返回整型值0,失败返回整型值-1。
uart.control_485(UART.GPIOn, direction)
+
+该方法用于控制485通信方向,串口发送数据之前和之后进行拉高拉低指定GPIO,用来指示485通信的方向。
+参数描述:
+GPIOn - 需要控制的GPIO引脚号,参照[Pin模块](machine.Pin.md)的引脚定义,int类型。
direction - 引脚电平变化,int类型,说明如下:1表示引脚电平变化为:串口发送数据之前由低拉高、发送数据之后再由高拉低0表示引脚电平变化为:串口发送数据之前由高拉低、发送数据之后再由低拉高
返回值描述:
+成功返回整型值0,失败返回整型值-1。
uart.control_485(UART.GPIOn, direction)
+
+该方法用于控制485通信方向,串口发送数据之前和之后进行拉高拉低指定GPIO,用来指示485通信的方向。
+参数描述:
+GPIOn - 需要控制的GPIO引脚号,参照[Pin模块](machine.Pin.md)的引脚定义,int类型。
direction - 引脚电平变化,int类型,说明如下:1表示引脚电平变化为:串口发送数据之前由低拉高、发送数据之后再由高拉低0表示引脚电平变化为:串口发送数据之前由高拉低、发送数据之后再由低拉高
返回值描述:
+成功返回整型值0,失败返回整型值-1。
uart.control_485(UART.GPIOn, direction)
+
+该方法用于控制485通信方向,串口发送数据之前和之后进行拉高拉低指定GPIO,用来指示485通信的方向。
+参数描述:
+GPIOn - 需要控制的GPIO引脚号,参照[Pin模块](machine.Pin.md)的引脚定义,int类型。
direction - 引脚电平变化,int类型,说明如下:1表示引脚电平变化为:串口发送数据之前由低拉高、发送数据之后再由高拉低0表示引脚电平变化为:串口发送数据之前由高拉低、发送数据之后再由低拉高
返回值描述:
+成功返回整型值0,失败返回整型值-1。
uart.control_485(UART.GPIOn, direction)
+
+该方法用于控制485通信方向,串口发送数据之前和之后进行拉高拉低指定GPIO,用来指示485通信的方向。
+参数描述:
+GPIOn - 需要控制的GPIO引脚号,参照[Pin模块](machine.Pin.md)的引脚定义,int类型。
direction - 引脚电平变化,int类型,说明如下:1表示引脚电平变化为:串口发送数据之前由低拉高、发送数据之后再由高拉低0表示引脚电平变化为:串口发送数据之前由高拉低、发送数据之后再由低拉高
返回值描述:
+成功返回整型值0,失败返回整型值-1。
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT UART4 - STDOUT PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
/EC600Useries support2400、4800、9600、14400、19200、28800、33600、38400、57600、115200、230400、460800、921600、1000000.
databits - Data bit [5 ~ 8], int type, EC600U only supports 8 bits.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT UART4 - STDOUT PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
EC200Useries support2400、4800、9600、14400、19200、28800、33600、38400、57600、115200、230400、460800、921600、1000000.
databits - Data bits [5 ~ 8], int type, only 8 bits supported.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT ( is not supportedBG95M3)
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT UART4 - STDOUT PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
EG915Useries support2400、4800、9600、14400、19200、28800、33600、38400、57600、115200、230400、460800、921600、1000000.
databits - Data bits [5 ~ 8], int type, only 8 bits supported.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
EG912Useries support2400、4800、9600、14400、19200、28800、33600、38400、57600、115200、230400、460800、921600、1000000.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT uart4 - STDOUT PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
+
+Parametric Description
+UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
| UART number | +TX pin | +RX pin | +RTS pin | +CTS pin | + + + +
|---|---|---|---|---|
| uart1 | +pin124 | +pin123 | ++ | + |
| uart2 | +pin32 | +pin31 | +pin34 | +pin33 | +
| uart4 | +pin103 | +pin104 | ++ | + |
| UART number | +TX pin | +RX pin | +RTS pin | +CTS pin | + + + +
|---|---|---|---|---|
| uart1 | +pin138 | +pin137 | ++ | + |
| uart2 | +pin67 | +pin68 | +pin65 | +pin64 | +
| uart4 | +pin82(EC200UXXAA is not supported.) | +pin81 | ++ | + |
| UART number | +TX pin | +RX pin | +Attention | + + + +
|---|---|---|---|
| uart0(It is recommended to utilize other UART interfaces.) | +pin12 | +pin11 | ++ |
| uart1 | +pin63(EC200ACN_LA: pin26) | +pin66(EC200ACN_LA: pin27) | ++ |
| uart2 | +pin67 | +pin68 | +EC200ACN LA module uart1pin is different from other models. | +
| UART number | +TX pin | +RX pin | +Attention | + + + +
|---|---|---|---|
| uart0(It is recommended to utilize other UART interfaces.) | +pin12 | +pin11 | ++ |
| uart1 | +pin63(EC200ACN_LA: pin26) | +pin66(EC200ACN_LA: pin27) | +EC200ACN LA module uart1 pin is different from other models. | +
| uart2 | +pin67 | +pin68 | ++ |
| UART number | +TX pin | +RX pin | + + + +
|---|---|---|
| uart0 | +pin71 | +pin72 | +
| uart1 | +pin3 | +pin2 | +
| uart2 | +pin32 | +pin31 | +
| UART number | +TX pin | +RX pin | + + + +
|---|---|---|
| uart0 | +pin71 | +pin72 | +
| uart1 | +pin3 | +pin2 | +
| uart2 | +pin32 | +pin31 | +
| UART number | +TX pin | +RX pin | + + + +
|---|---|---|
| uart0 | +pin21 | +pin20 | +
| uart1 | +pin27 | +pin28 | +
| uart2 | +pin50 | +pin49 | +
| UART number | +TX pin | +RX pin | + + + +
|---|---|---|
| uart0 | +pin39 | +pin38 | +
| uart1 | +pin50 | +pin51 | +
| uart2 | +pin18 | +pin17 | +
| UART number | +TX pin | +RX pin | + + + +
|---|---|---|
| uart1 | +pin29 | +pin28 | +
| UART number | +TX pin | +RX pin | + + + +
|---|---|---|
| uart0 | +pin23 | +pin22 | +
| uart1 | +pin27 | +pin28 | +
| uart2 | +pin64 | +pin65 | +
| uart4 | +pin35 | +pin34 | +
| UART number | +TX pin | +RX pin | + + + +
|---|---|---|
| uart0 | +pin71 | +pin72 | +
| uart1(flowctl = 0) | +pin3 | +pin2 | +
| uart1(flowctl = 1) | +pin33 | +pin34 | +
| uart2 | +pin32 | +pin31 | +
| UART number | +TX pin | +RX pin | +RTS pin | +CTS pin | + + + +
|---|---|---|---|---|
| uart1 | +pin27 | +pin28 | ++ | + |
| uart2 | +pin35 | +pin34 | +pin37 | +pin36 | +
| uart4 | +pin19 | +pin18 | ++ | + |
| UART number | +TX pin | +RX pin | +Attention | + + + +
|---|---|---|---|
| uart0 | +pin39 | +pin38 | ++ |
| uart1(flowctl = 0) | +pin50 | +pin51 | +UART1 is unavailable for EC800MCNGA、CNGD / EG810MCNGA module. | +
| uart1(flowctl = 1) | +pin22 | +pin23 | ++ |
| uart2 | +pin18 | +pin17 | ++ |
| uart4 | +pin29 | +pin28 | ++ |
| UART number | +TX pin | +RX pin | +Attention | + + + +
|---|---|---|---|
| uart0 | +pin39 | +pin38 | ++ |
| uart1(flowctl = 0) | +pin50 | +pin51 | +UART1 is unavailable for EC800MCNGA、CNGD / EG810MCNGA module. | +
| uart1(flowctl = 1) | +pin22 | +pin23 | ++ |
| uart2 | +pin18 | +pin17 | ++ |
| uart4 | +pin29 | +pin28 | ++ |
| UART number | +TX pin | +RX pin | + + + +
|---|---|---|
| uart0 | +pin23 | +pin22 | +
| uart1(flowctl = 0) | +pin27 | +pin28 | +
| uart1(flowctl = 1) | +pin36 | +pin37 | +
| uart2 | +pin35 | +pin34 | +
| UART number | +TX pin | +RX pin | + + + +
|---|---|---|
| uart0 | +pin71 | +pin72 | +
| uart1(EC600ECN_LE&LQ is not available.) | +pin70 | +pin69 | +
| uart2 | +pin32 | +pin31 | +
| UART number | +TX pin | +RX pin | + + + +
|---|---|---|
| uart0 | +pin39 | +pin38 | +
| uart1 | +pin29 | +pin28 | +
| uart2 | +pin18 | +pin17 | +
| UART number | +TX pin | +RX pin | +RTS pin | +CTS pin | + + + +
|---|---|---|---|---|
| uart0 | +pin124 | +pin123 | ++ | + |
| uart2 | +pin32 | +pin31 | +pin34 | +pin33 | +
| uart4 | +pin116 | +pin9 | ++ | + |
| uart5 | +pin125 | +pin126 | ++ | + |
| uart6 | +pin106 | +pin105 | ++ | + |
| UART number | +TX pin | +RX pin | + + + +
|---|---|---|
| uart1 | +pin29 | +pin28 | +
| uart2 | +pin18 | +pin17 | +
| uart5 | +pin23 | +pin22 | +
| uart6 | +pin86 | +pin83 | +
| UART number | +TX pin | +RX pin | +RTS pin | +CTS pin | + + + +
|---|---|---|---|---|
| uart1 | +pin27 | +pin28 | ++ | + |
| uart2 | +pin35 | +pin34 | +pin37 | +pin36 | +
| uart4(EG912UGL_AA is not available.) | +pin19 | +pin18 | ++ | + |
| UART number | +TX pin | +RX pin | + + + +
|---|---|---|
| uart0 | +pin71 | +pin72 | +
| uart1(flowctl = 0) | +pin3 | +pin2 | +
| uart1(flowctl = 1) | +pin33 | +pin34 | +
| uart2 | +pin32 | +pin31 | +
| UART number | +TX pin | +RX pin | +Attention | + + + +
|---|---|---|---|
| uart0 | +pin39 | +pin38 | ++ |
| uart1(flowctl = 0) | +pin50 | +pin51 | +EG800KCN is not available. | +
| uart1(flowctl = 1) | +pin22 | +pin23 | +EG800KCN is not available. | +
| uart2 | +pin18 | +pin17 | ++ |
| UART number | +TX pin | +RX pin | +Attention | + + + +
|---|---|---|---|
| uart0 | +pin39 | +pin38 | ++ |
| uart1(flowctl = 0) | +pin50 | +pin51 | +EG800KCN is not available. | +
| uart1(flowctl = 1) | +pin22 | +pin23 | +EG800KCN is not available. | +
| uart2 | +pin18 | +pin17 | ++ |
| UART number | +TX pin | +RX pin | +RTS pin | +CTS pin | + + + +
|---|---|---|---|---|
| uart0 | +pin39 | +pin38 | ++ | + |
| uart1 | +pin22 | +pin23 | ++ | + |
| uart2 | +pin18 | +pin17 | +pin23 | +pin22 | +
| uart3 | +pin29 | +pin28 | ++ | + |
| UART number | +TX pin | +RX pin | + + + +
|---|---|---|
| uart1 | +pin27 | +pin26 | +
| uart2 | +pin20 | +pin19 | +
| UART number | +TX pin | +RX pin | + + + +
|---|---|---|
| uart1 | +pin35 | +pin34 | +
| uart2 | +pin28 | +pin27 | +
| UART number | +TX pin | +RX pin | + + + +
|---|---|---|
| uart0 | +pin21 | +pin22 | +
| UART number | +TX pin | +RX pin | + + + +
|---|---|---|
| uart0 | +pin22 | +pin21 | +
| UART number | +TX pin | +RX pin | +RTS pin | +CTS pin | + + + +
|---|---|---|---|---|
| uart0 | +pin23 | +pin22 | ++ | + |
| uart1 | +pin27 | +pin28 | ++ | + |
| uart2 | +pin35 | +pin34 | +pin36 | +pin37 | +
| uart4(EG915NEU_AG is not supported.) | +pin36 | +pin37 | ++ | + |
| UART number | +TX pin | +RX pin | + + + +
|---|---|---|
| uart0 | +pin39 | +pin38 | +
| uart1 | +pin29 | +pin28 | +
| uart2 | +pin18 | +pin17 | +
| ADC number | +Pin correspondence | +
|---|---|
| ADC0 | +Pin number19 | +
| ADC number | +Pin correspondence | +
|---|---|
| ADC0 | +Pin number19 | +
| ADC1 | +Pin number20 | +
| ADC number | +Pin correspondence | +
|---|---|
| ADC0 | +Pin number9 | +
| ADC number | +Pin correspondence | +
|---|---|
| ADC0 | +Pin number19 | +
| ADC1 | +Pin number20 | +
| ADC2 | +Pin number113 | +
| ADC3 | +Pin number114 | +
| ADC number | +Pin correspondence | +
|---|---|
| ADC0 | +Pin number45 | +
| ADC1 | +Pin number44 | +
| ADC2 | +Pin number43 | +
| ADC number | +Pin correspondence | +
|---|---|
| ADC0 | +Pin number45 | +
| ADC1 | +Pin number44 | +
| ADC number | +Pin correspondence | +
|---|---|
| ADC0 | +Pin number45 | +
| ADC1 | +Pin number44 | +
| ADC number | +Pin correspondence | +
|---|---|
| ADC0 | +Pin number24 | +
| ADC number | +Pin correspondence | +
|---|---|
| ADC0 | +Pin number24 | +
| ADC1 | +Pin number2 | +
| ADC number | +Pin correspondence | +
|---|---|
| ADC0 | +Pin number9 | +
| ADC1 | +Pin number96 | +
| ADC number | +Pin correspondence | +
|---|---|
| ADC0 | +Pin number9 | +
| ADC1 | +Pin number96 | +
| ADC number | +Pin correspondence | +
|---|---|
| ADC0 | +Pin number24 | +
| ADC1 | +Pin number2 | +
| ADC number | +Pin correspondence | +
|---|---|
| ADC0 | +Pin number19 | +
| ADC1 | +Pin number20 | +
| ADC number | +Pin correspondence | +
|---|---|
| ADC0 | +Pin number9 | +
| ADC1 | +Pin number96 | +
| ADC number | +Pin correspondence | +
|---|---|
| ADC0 | +Pin number19 | +
| ADC1 | +Pin number20 | +
| ADC2 | +Pin number113 | +
| ADC3 | +Pin number114 | +
| ADC number | +Pin correspondence | +
|---|---|
| ADC0 | +Pin number9 | +
| ADC1 | +Pin number96 | +
| ADC number | +Pin correspondence | +
|---|---|
| ADC0 | +Pin number24 | +
| ADC1 | +Pin number2 | +
| ADC number | +Pin correspondence | +
|---|---|
| ADC0 | +Pin number19 | +
| ADC1 | +Pin number20 | +
| ADC number | +Pin correspondence | +
|---|---|
| ADC0 | +Pin number9 | +
| ADC1 | +Pin number96 | +
| ADC number | +Pin correspondence | +
|---|---|
| ADC0 | +Pin number9 | +
| ADC1 | +Pin number96 | +
| ADC number | +Pin correspondence | +
|---|---|
| ADC0 | +Pin number8 | +
| ADC1 | +Pin number7 | +
| ADC2 | +Pin number6 | +
| ADC number | +Pin correspondence | +
|---|---|
| ADC0 | +Pin number2 | +
| ADC number | +Pin correspondence | +
|---|---|
| ADC0 | +Pin number2 | +
| ADC number | +Pin correspondence | +
|---|---|
| ADC0 | +Pin number24 | +
| ADC1 | +Pin number2 | +
| ADC number | +Pin correspondence | +
|---|---|
| ADC0 | +Pin number9 | +
| ADC1 | +Pin number96 | +
| Constant | +Description | +
|---|---|
| ADC.ADC0 | +ADC channel 0 | +
| Constant | +Description | +
|---|---|
| ADC.ADC0 | +ADC channel 0 | +
| Constant | +Description | +
|---|---|
| ADC.ADC0 | +ADC channel 0 | +
| Constant | +Description | +
|---|---|
| ADC.ADC0 | +ADC channel 0 | +
| ADC.ADC1 | +ADC channel 1 | +
| ADC.ADC2 | +ADC channel 2 | +
| ADC.ADC3 | +ADC channel 3 | +
| Constant | +Description | +
|---|---|
| ADC.ADC0 | +ADC channel 0 | +
| ADC.ADC1 | +ADC channel 1 | +
| ADC.ADC2 | +ADC channel 2 | +
| Constant | +Description | +
|---|---|
| ADC.ADC0 | +ADC channel 0 | +
| Constant | +Description | +
|---|---|
| ADC.ADC0 | +ADC channel 0 | +
| Constant | +Description | +
|---|---|
| ADC.ADC0 | +ADC channel 0 | +
| Constant | +Description | +
|---|---|
| ADC.ADC0 | +ADC channel 0 | +
| ADC.ADC1 | +ADC channel 1 | +
| Constant | +Description | +
|---|---|
| ADC.ADC0 | +ADC channel 0 | +
| ADC.ADC1 | +ADC channel 1 | +
| Constant | +Description | +
|---|---|
| ADC.ADC0 | +ADC channel 0 | +
| ADC.ADC1 | +ADC channel 1 | +
| Constant | +Description | +
|---|---|
| ADC.ADC0 | +ADC channel 0 | +
| ADC.ADC1 | +ADC channel 1 | +
| Constant | +Description | +
|---|---|
| ADC.ADC0 | +ADC channel 0 | +
| ADC.ADC1 | +ADC channel 1 | +
| Constant | +Description | +
|---|---|
| ADC.ADC0 | +ADC channel 0 | +
| ADC.ADC1 | +ADC channel 1 | +
| Constant | +Description | +
|---|---|
| ADC.ADC0 | +ADC channel 0 | +
| ADC.ADC1 | +ADC channel 1 | +
| Constant | +Description | +
|---|---|
| ADC.ADC0 | +ADC channel 0 | +
| ADC.ADC1 | +ADC channel 1 | +
| Constant | +Description | +
|---|---|
| ADC.ADC0 | +ADC channel 0 | +
| ADC.ADC1 | +ADC channel 1 | +
| Constant | +Description | +
|---|---|
| ADC.ADC0 | +ADC channel 0 | +
| ADC.ADC1 | +ADC channel 1 | +
| Constant | +Description | +
|---|---|
| ADC.ADC0 | +ADC channel 0 | +
| ADC.ADC1 | +ADC channel 1 | +
| Constant | +Description | +
|---|---|
| ADC.ADC0 | +ADC channel 0 | +
| ADC.ADC1 | +ADC channel 1 | +
| Constant | +Description | +
|---|---|
| ADC.ADC0 | +ADC channel 0 | +
| ADC.ADC1 | +ADC channel 1 | +
| ADC.ADC2 | +ADC channel 2 | +
| Constant | +Description | +
|---|---|
| ADC.ADC0 | +ADC channel 0 | +
| Constant | +Description | +
|---|---|
| ADC.ADC0 | +ADC channel 0 | +
| Constant | +Description | +
|---|---|
| ADC.ADC0 | +ADC channel 0 | +
| ADC.ADC1 | +ADC channel 1 | +
| Constant | +Description | +
|---|---|
| ADC.ADC0 | +ADC channel 0 | +
| ADC.ADC1 | +ADC channel 1 | +
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT UART4 - STDOUT PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
/EC600Useries support2400、4800、9600、14400、19200、28800、33600、38400、57600、115200、230400、460800、921600、1000000.
databits - Data bit [5 ~ 8], int type, EC600U only supports 8 bits.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT UART4 - STDOUT PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
EC200Useries support2400、4800、9600、14400、19200、28800、33600、38400、57600、115200、230400、460800、921600、1000000.
databits - Data bits [5 ~ 8], int type, only 8 bits supported.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT ( is not supportedBG95M3)
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT UART4 - STDOUT PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
EG915Useries support2400、4800、9600、14400、19200、28800、33600、38400、57600、115200、230400、460800、921600、1000000.
databits - Data bits [5 ~ 8], int type, only 8 bits supported.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
EG912Useries support2400、4800、9600、14400、19200、28800、33600、38400、57600、115200、230400、460800、921600、1000000.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT uart4 - STDOUT PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
class machine.UART(UART.UARTn, baudrate, databits, parity, stopbits, flowctl)
-
-Parametric Description
-UARTn - UART number, int type, UARTn description as follows:UART0 - DEBUG PORT UART1 - BT PORT UART2 - MAIN PORT UART3 - USB CDC PORT
baudratec - Baud rate, int type, supports common baud rates such as4800、9600、19200、38400、57600、115200、230400.
databits - Data bits [5-8], int type.
parity - Parity (0-None, 1-even, 2-odd), int type.
stopbits - Stop bit [1 ~ 2], int type.
flowctl - Hardware control flow (0-FC_NONE, 1-FC_HW), int type.
| UART number | -TX pin | -RX pin | -RTS pin | -CTS pin | - - - -
|---|---|---|---|---|
| uart1 | -pin124 | -pin123 | -- | - |
| uart2 | -pin32 | -pin31 | -pin34 | -pin33 | -
| uart4 | -pin103 | -pin104 | -- | - |
| UART number | -TX pin | -RX pin | -RTS pin | -CTS pin | - - - -
|---|---|---|---|---|
| uart1 | -pin138 | -pin137 | -- | - |
| uart2 | -pin67 | -pin68 | -pin65 | -pin64 | -
| uart4 | -pin82(EC200UXXAA is not supported.) | -pin81 | -- | - |
| UART number | -TX pin | -RX pin | -Attention | - - - -
|---|---|---|---|
| uart0(It is recommended to utilize other UART interfaces.) | -pin12 | -pin11 | -- |
| uart1 | -pin63(EC200ACN_LA: pin26) | -pin66(EC200ACN_LA: pin27) | -- |
| uart2 | -pin67 | -pin68 | -EC200ACN LA module uart1pin is different from other models. | -
| UART number | -TX pin | -RX pin | -Attention | - - - -
|---|---|---|---|
| uart0(It is recommended to utilize other UART interfaces.) | -pin12 | -pin11 | -- |
| uart1 | -pin63(EC200ACN_LA: pin26) | -pin66(EC200ACN_LA: pin27) | -EC200ACN LA module uart1 pin is different from other models. | -
| uart2 | -pin67 | -pin68 | -- |
| UART number | -TX pin | -RX pin | - - - -
|---|---|---|
| uart0 | -pin71 | -pin72 | -
| uart1 | -pin3 | -pin2 | -
| uart2 | -pin32 | -pin31 | -
| UART number | -TX pin | -RX pin | - - - -
|---|---|---|
| uart0 | -pin71 | -pin72 | -
| uart1 | -pin3 | -pin2 | -
| uart2 | -pin32 | -pin31 | -
| UART number | -TX pin | -RX pin | - - - -
|---|---|---|
| uart0 | -pin21 | -pin20 | -
| uart1 | -pin27 | -pin28 | -
| uart2 | -pin50 | -pin49 | -
| UART number | -TX pin | -RX pin | - - - -
|---|---|---|
| uart0 | -pin39 | -pin38 | -
| uart1 | -pin50 | -pin51 | -
| uart2 | -pin18 | -pin17 | -
| UART number | -TX pin | -RX pin | - - - -
|---|---|---|
| uart1 | -pin29 | -pin28 | -
| UART number | -TX pin | -RX pin | - - - -
|---|---|---|
| uart0 | -pin23 | -pin22 | -
| uart1 | -pin27 | -pin28 | -
| uart2 | -pin64 | -pin65 | -
| uart4 | -pin35 | -pin34 | -
| UART number | -TX pin | -RX pin | - - - -
|---|---|---|
| uart0 | -pin71 | -pin72 | -
| uart1(flowctl = 0) | -pin3 | -pin2 | -
| uart1(flowctl = 1) | -pin33 | -pin34 | -
| uart2 | -pin32 | -pin31 | -
| UART number | -TX pin | -RX pin | -RTS pin | -CTS pin | - - - -
|---|---|---|---|---|
| uart1 | -pin27 | -pin28 | -- | - |
| uart2 | -pin35 | -pin34 | -pin37 | -pin36 | -
| uart4 | -pin19 | -pin18 | -- | - |
| UART number | -TX pin | -RX pin | -Attention | - - - -
|---|---|---|---|
| uart0 | -pin39 | -pin38 | -- |
| uart1(flowctl = 0) | -pin50 | -pin51 | -UART1 is unavailable for EC800MCNGA、CNGD / EG810MCNGA module. | -
| uart1(flowctl = 1) | -pin22 | -pin23 | -- |
| uart2 | -pin18 | -pin17 | -- |
| uart4 | -pin29 | -pin28 | -- |
| UART number | -TX pin | -RX pin | -Attention | - - - -
|---|---|---|---|
| uart0 | -pin39 | -pin38 | -- |
| uart1(flowctl = 0) | -pin50 | -pin51 | -UART1 is unavailable for EC800MCNGA、CNGD / EG810MCNGA module. | -
| uart1(flowctl = 1) | -pin22 | -pin23 | -- |
| uart2 | -pin18 | -pin17 | -- |
| uart4 | -pin29 | -pin28 | -- |
| UART number | -TX pin | -RX pin | - - - -
|---|---|---|
| uart0 | -pin23 | -pin22 | -
| uart1(flowctl = 0) | -pin27 | -pin28 | -
| uart1(flowctl = 1) | -pin36 | -pin37 | -
| uart2 | -pin35 | -pin34 | -
| UART number | -TX pin | -RX pin | - - - -
|---|---|---|
| uart0 | -pin71 | -pin72 | -
| uart1(EC600ECN_LE&LQ is not available.) | -pin70 | -pin69 | -
| uart2 | -pin32 | -pin31 | -
| UART number | -TX pin | -RX pin | - - - -
|---|---|---|
| uart0 | -pin39 | -pin38 | -
| uart1 | -pin29 | -pin28 | -
| uart2 | -pin18 | -pin17 | -
| UART number | -TX pin | -RX pin | -RTS pin | -CTS pin | - - - -
|---|---|---|---|---|
| uart0 | -pin124 | -pin123 | -- | - |
| uart2 | -pin32 | -pin31 | -pin34 | -pin33 | -
| uart4 | -pin116 | -pin9 | -- | - |
| uart5 | -pin125 | -pin126 | -- | - |
| uart6 | -pin106 | -pin105 | -- | - |
| UART number | -TX pin | -RX pin | - - - -
|---|---|---|
| uart1 | -pin29 | -pin28 | -
| uart2 | -pin18 | -pin17 | -
| uart5 | -pin23 | -pin22 | -
| uart6 | -pin86 | -pin83 | -
| UART number | -TX pin | -RX pin | -RTS pin | -CTS pin | - - - -
|---|---|---|---|---|
| uart1 | -pin27 | -pin28 | -- | - |
| uart2 | -pin35 | -pin34 | -pin37 | -pin36 | -
| uart4(EG912UGL_AA is not available.) | -pin19 | -pin18 | -- | - |
| UART number | -TX pin | -RX pin | - - - -
|---|---|---|
| uart0 | -pin71 | -pin72 | -
| uart1(flowctl = 0) | -pin3 | -pin2 | -
| uart1(flowctl = 1) | -pin33 | -pin34 | -
| uart2 | -pin32 | -pin31 | -
| UART number | -TX pin | -RX pin | -Attention | - - - -
|---|---|---|---|
| uart0 | -pin39 | -pin38 | -- |
| uart1(flowctl = 0) | -pin50 | -pin51 | -EG800KCN is not available. | -
| uart1(flowctl = 1) | -pin22 | -pin23 | -EG800KCN is not available. | -
| uart2 | -pin18 | -pin17 | -- |
| UART number | -TX pin | -RX pin | -Attention | - - - -
|---|---|---|---|
| uart0 | -pin39 | -pin38 | -- |
| uart1(flowctl = 0) | -pin50 | -pin51 | -EG800KCN is not available. | -
| uart1(flowctl = 1) | -pin22 | -pin23 | -EG800KCN is not available. | -
| uart2 | -pin18 | -pin17 | -- |
| UART number | -TX pin | -RX pin | -RTS pin | -CTS pin | - - - -
|---|---|---|---|---|
| uart0 | -pin39 | -pin38 | -- | - |
| uart1 | -pin22 | -pin23 | -- | - |
| uart2 | -pin18 | -pin17 | -pin23 | -pin22 | -
| uart3 | -pin29 | -pin28 | -- | - |
| UART number | -TX pin | -RX pin | - - - -
|---|---|---|
| uart1 | -pin27 | -pin26 | -
| uart2 | -pin20 | -pin19 | -
| UART number | -TX pin | -RX pin | - - - -
|---|---|---|
| uart1 | -pin35 | -pin34 | -
| uart2 | -pin28 | -pin27 | -
| UART number | -TX pin | -RX pin | - - - -
|---|---|---|
| uart0 | -pin21 | -pin22 | -
| UART number | -TX pin | -RX pin | - - - -
|---|---|---|
| uart0 | -pin22 | -pin21 | -
| UART number | -TX pin | -RX pin | -RTS pin | -CTS pin | - - - -
|---|---|---|---|---|
| uart0 | -pin23 | -pin22 | -- | - |
| uart1 | -pin27 | -pin28 | -- | - |
| uart2 | -pin35 | -pin34 | -pin36 | -pin37 | -
| uart4(EG915NEU_AG is not supported.) | -pin36 | -pin37 | -- | - |
| UART number | -TX pin | -RX pin | - - - -
|---|---|---|
| uart0 | -pin39 | -pin38 | -
| uart1 | -pin29 | -pin28 | -
| uart2 | -pin18 | -pin17 | -