/AliOS-Things-master/components/mbmaster/src/physical/ |
A D | serial.c | 18 uint8_t data_width, mb_parity_t parity) in mb_serial_init() argument 42 uart_dev.config.parity = parity; in mb_serial_init()
|
A D | serial.h | 12 …t(mb_handler_t *handler, uint8_t port, uint32_t baud_rate, uint8_t data_width, mb_parity_t parity);
|
/AliOS-Things-master/components/py_engine/tests/wipy/ |
A D | uart.py | 34 uart.init(baudrate=9600, stop=2, parity=UART.EVEN, pins=uart_pins[uart_id][1]) 35 uart.init(baudrate=115200, parity=UART.ODD, stop=0, pins=uart_pins[uart_id][0]) 120 UART(0, 9600, parity=None, pins=("GP12", "GP13", "GP7")) 125 UART(0, 9600, parity=UART.ODD, pins=("GP12", "GP7"))
|
/AliOS-Things-master/components/py_engine/adapter/haas/ |
A D | machine_uart.c | 66 _parity_name[self->dev.config.parity], self->dev.config.stop_bits, in machine_uart_print() 163 dev->config.parity = NO_PARITY; in machine_uart_init_helper() 165 mp_int_t parity = mp_obj_get_int(args[ARG_parity].u_obj); in machine_uart_init_helper() local 166 if (parity & 1) { in machine_uart_init_helper() 167 dev->config.parity = ODD_PARITY; in machine_uart_init_helper() 169 dev->config.parity = EVEN_PARITY; in machine_uart_init_helper() 225 self->dev.config.parity = NO_PARITY; in machine_uart_make_new()
|
/AliOS-Things-master/components/py_engine/adapter/haas510/ |
A D | machine_uart.c | 85 _parity_name[self->dev.config.parity], self->dev.config.stop_bits, in machine_uart_print() 166 dev->config.parity = NO_PARITY; in machine_uart_init_helper() 168 mp_int_t parity = mp_obj_get_int(args[ARG_parity].u_obj); in machine_uart_init_helper() local 169 if (parity & 1) { in machine_uart_init_helper() 170 dev->config.parity = ODD_PARITY; in machine_uart_init_helper() 172 dev->config.parity = EVEN_PARITY; in machine_uart_init_helper() 225 self->dev.config.parity = NO_PARITY; in machine_uart_make_new()
|
/AliOS-Things-master/components/py_engine/adapter/haas600/ |
A D | machine_uart.c | 85 _parity_name[self->dev.config.parity], self->dev.config.stop_bits, in machine_uart_print() 166 dev->config.parity = NO_PARITY; in machine_uart_init_helper() 168 mp_int_t parity = mp_obj_get_int(args[ARG_parity].u_obj); in machine_uart_init_helper() local 169 if (parity & 1) { in machine_uart_init_helper() 170 dev->config.parity = ODD_PARITY; in machine_uart_init_helper() 172 dev->config.parity = EVEN_PARITY; in machine_uart_init_helper() 225 self->dev.config.parity = NO_PARITY; in machine_uart_make_new()
|
/AliOS-Things-master/components/mbmaster/src/api/ |
A D | mbm.c | 11 …mb_handler_t **req_handler, uint8_t port, uint32_t baud_rate, mb_parity_t parity, uint32_t timeout) in mbmaster_rtu_init() argument 21 status = mb_serial_init(handler, port, baud_rate, 8, parity); in mbmaster_rtu_init()
|
/AliOS-Things-master/components/py_engine/modules/modbus/ |
A D | modbus.c | 31 mb_parity_t parity = MB_PAR_NONE; in mp_modbus_init() local 42 parity = mp_obj_get_int(args[2]); in mp_modbus_init() 46 parity = mp_obj_get_int(args[2]); in mp_modbus_init() 55 if (parity != MB_PAR_NONE && parity != MB_PAR_ODD && parity != MB_PAR_EVEN) { in mp_modbus_init() 60 mp_int_t status = mbmaster_rtu_init(&mb_handler, port, baud_rate, parity, timeout); in mp_modbus_init()
|
/AliOS-Things-master/components/drivers/peripheral/uart/include/aos/ |
A D | uart.h | 58 …s_uart_get_with_attr(aos_uart_ref_t *ref, uint32_t id, uint32_t baudrate, aos_uart_parity_t parity) in aos_uart_get_with_attr() argument 84 switch (parity) { in aos_uart_get_with_attr()
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/ |
A D | log_uart_api.h | 70 int32_t log_uart_init(log_uart_t *obj, int baudrate, int data_bits, SerialParity parity, int stop_b… 104 void log_uart_format(log_uart_t *obj, int data_bits, SerialParity parity, int stop_bits);
|
/AliOS-Things-master/components/py_engine/engine/extmod/btstack/ |
A D | btstack_hci_uart.c | 106 STATIC int btstack_uart_set_parity(int parity) { in btstack_uart_set_parity() argument 107 (void)parity; in btstack_uart_set_parity()
|
/AliOS-Things-master/components/ble_host/bt_host/host/ |
A D | rfcomm_internal.h | 116 #define BT_RFCOMM_SET_LINE_SETTINGS(data, stop, parity) ((data & 0x3) | \ argument 118 ((parity & 0x7) << 3))
|
/AliOS-Things-master/components/drivers/peripheral/uart/src/ |
A D | tty_csi.c | 19 csi_uart_parity_t parity; in set_format() local 46 parity = (mode & PARODD) ? UART_PARITY_ODD : UART_PARITY_EVEN; in set_format() 48 parity = UART_PARITY_NONE; in set_format() 50 r = csi_uart_format(&tty_csi->csi_uart, data_bits, parity, stop_bits); in set_format()
|
/AliOS-Things-master/hardware/board/haas200/startup/ |
A D | board.c | 17 uart_0.config.parity = NO_PARITY; in board_stduart_init()
|
/AliOS-Things-master/components/py_engine/engine/extmod/nimble/hal/ |
A D | hal_uart.h | 41 int hal_uart_config(uint32_t port, uint32_t baud, uint32_t bits, uint32_t stop, uint32_t parity, ui…
|
A D | hal_uart.c | 55 int hal_uart_config(uint32_t port, uint32_t baudrate, uint32_t bits, uint32_t stop, uint32_t parity… in hal_uart_config() argument
|
/AliOS-Things-master/components/py_engine/tests/pyb/ |
A D | uart.py | 13 uart = UART(1, 9600, bits=8, parity=None, stop=1)
|
/AliOS-Things-master/hardware/chip/smarth_rv64/include/ |
A D | drv_usart.h | 218 usart_parity_e parity, 333 int32_t csi_usart_config_parity(usart_handle_t handle, usart_parity_e parity);
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/common/src/ |
A D | bt_uart_bridge.c | 329 void bt_uart_bridge_set(uint32_t baudrate_0, uint32_t baudrate_1, uint8_t parity, uint8_t debug) in bt_uart_bridge_set() argument 335 uart_parity = parity; in bt_uart_bridge_set()
|
/AliOS-Things-master/components/csi/csi1/include/drv/ |
A D | spu_usart.h | 218 usart_parity_e parity, 333 int32_t drv_spu_usart_config_parity(usart_handle_t handle, usart_parity_e parity);
|
A D | usart.h | 218 usart_parity_e parity, 333 int32_t csi_usart_config_parity(usart_handle_t handle, usart_parity_e parity);
|
A D | usi_usart.h | 218 usart_parity_e parity, 333 int32_t drv_usi_usart_config_parity(usart_handle_t handle, usart_parity_e parity);
|
/AliOS-Things-master/hardware/chip/haas1000/csi/ |
A D | uart.c | 148 cfg.parity = HAL_UART_PARITY_ODD; in tty_uart_startup() 150 cfg.parity = HAL_UART_PARITY_EVEN; in tty_uart_startup() 152 cfg.parity = HAL_UART_PARITY_NONE; in tty_uart_startup()
|
/AliOS-Things-master/hardware/chip/rtl872xd/hal/ |
A D | uart.c | 234 if(uart->config.parity ==NO_PARITY){ in hal_uart_init() 236 }else if(uart->config.parity == ODD_PARITY){ in hal_uart_init() 239 }else if(uart->config.parity == EVEN_PARITY){ in hal_uart_init()
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/mbed/hal/ |
A D | serial_api.h | 122 void serial_format(serial_t *obj, int data_bits, SerialParity parity, int stop_bits);
|