/AliOS-Things-master/components/py_engine/tests/wipy/ |
A D | uart.py | 31 uart = UART(uart_id, 38400) variable 36 uart = UART(baudrate=1000000) variable 39 uart = UART(baudrate=1000000) variable 40 uart = UART() variable 42 uart = UART(baudrate=38400, pins=("GP12", "GP13")) variable 44 uart = UART(pins=("GP12", "GP13")) variable 46 uart = UART(pins=(None, "GP17")) variable 48 uart = UART(baudrate=57600, pins=("GP16", "GP17")) variable 157 uart = UART(uart_id, 1000000) variable
|
/AliOS-Things-master/components/py_engine/tests/pyb/ |
A D | uart.py | 11 uart = UART(1) variable 12 uart = UART(1, 9600) variable 13 uart = UART(1, 9600, bits=8, parity=None, stop=1) variable 28 uart = UART(1, 9600, timeout=0) variable
|
/AliOS-Things-master/components/amp_adapter/platform/aos/peripheral/ |
A D | aos_hal_uart.c | 24 int32_t aos_hal_uart_init(uart_dev_t *uart) in aos_hal_uart_init() 29 int32_t aos_hal_uart_send(uart_dev_t *uart, const void *data, uint32_t size, uint32_t timeout) in aos_hal_uart_send() 34 int32_t aos_hal_uart_recv(uart_dev_t *uart, void *data, in aos_hal_uart_recv() 41 int32_t aos_hal_uart_recv_poll(uart_dev_t *uart, void *data, uint32_t expect_size, uint32_t *recv_s… in aos_hal_uart_recv_poll() 46 int32_t aos_hal_uart_recv_II(uart_dev_t *uart, void *data, uint32_t expect_size, in aos_hal_uart_recv_II() 73 uart_dev_t *uart; member 86 uart_dev_t *uart; in uart_recv_handler() local 119 int32_t aos_hal_uart_callback(uart_dev_t *uart, void (*cb)(int, void *, uint16_t, void *), void *ar… in aos_hal_uart_callback() 153 int32_t aos_hal_uart_finalize(uart_dev_t *uart) in aos_hal_uart_finalize()
|
/AliOS-Things-master/hardware/chip/rtl872xd/csi_driver/uart/ |
A D | uart.c | 77 csi_uart_t *uart = (csi_uart_t *)data; in uart_irqhandler() local 161 csi_error_t csi_uart_init(csi_uart_t *uart, uint32_t idx) in csi_uart_init() 206 void csi_uart_uninit(csi_uart_t *uart) in csi_uart_uninit() 224 csi_error_t csi_uart_baud(csi_uart_t *uart, uint32_t baud) in csi_uart_baud() 302 void csi_uart_detach_callback(csi_uart_t *uart) in csi_uart_detach_callback() 586 UART_TypeDef *uart = UART_DEV_TABLE[tty->dev.id].UARTx; in uart_rx_irq_handler() local 605 UART_TypeDef *uart = UART_DEV_TABLE[tty->dev.id].UARTx; in uart_irq_handler() local 675 UART_TypeDef *uart = UART_DEV_TABLE[tty->dev.id].UARTx; in uart_startup() local 717 UART_TypeDef *uart = UART_DEV_TABLE[tty->dev.id].UARTx; in uart_shutdown() local 728 UART_TypeDef *uart = UART_DEV_TABLE[tty->dev.id].UARTx; in uart_set_attr() local [all …]
|
/AliOS-Things-master/hardware/chip/haas1000/csi/ |
A D | uart.c | 46 tty_uart_t *uart = aos_container_of(tty, tty_uart_t, tty); in tty_uart_startup() local 210 tty_uart_t *uart = aos_container_of(tty, tty_uart_t, tty); in tty_uart_shutdown() local 223 static void start_rx_dma(tty_uart_t *uart) in start_rx_dma() 241 tty_uart_t *uart = aos_container_of(tty, tty_uart_t, tty); in tty_uart_enable_rx() local 252 tty_uart_t *uart = aos_container_of(tty, tty_uart_t, tty); in tty_uart_disable_rx() local 264 tty_uart_t *uart = aos_container_of(tty, tty_uart_t, tty); in tty_uart_start_tx() local 278 tty_uart_t *uart = aos_container_of(tty, tty_uart_t, tty); in tty_uart_stop_tx() local 305 static void tty_uart_rx_handler(tty_uart_t *uart, size_t rx_count) in tty_uart_rx_handler() 333 static void tty_uart_tx_handler(tty_uart_t *uart) in tty_uart_tx_handler()
|
/AliOS-Things-master/components/amp_adapter/platform/linux/peripheral/ |
A D | aos_hal_uart.c | 21 int32_t aos_hal_uart_callback(uart_dev_t *uart, void (*cb)(int, void *, uint16_t, void *), void *ar… in aos_hal_uart_callback() 43 uint8_t uart; member 62 int32_t aos_hal_uart_init(uart_dev_t *uart) in aos_hal_uart_init() 89 int32_t aos_hal_uart_finalize(uart_dev_t *uart) in aos_hal_uart_finalize() 99 int32_t aos_hal_uart_send(uart_dev_t *uart, const void *data, uint32_t size, uint32_t timeout) in aos_hal_uart_send() 116 int32_t aos_hal_uart_recv_poll(uart_dev_t *uart, void *data, uint32_t expect_size, uint32_t *recv_s… in aos_hal_uart_recv_poll() 141 int32_t aos_hal_uart_recv_II(uart_dev_t *uart, void *data, uint32_t expect_size, uint32_t *recv_siz… in aos_hal_uart_recv_II()
|
/AliOS-Things-master/components/drivers/peripheral/uart/src/ |
A D | uart_dev.c | 42 __weak int32_t hal_uart_recv_cb_reg(uart_dev_t *uart, uart_rx_cb cb) { in hal_uart_recv_cb_reg() 50 uart_dev_t *uart = NULL; in uart_device_read() local 83 uart_dev_t *uart = NULL; in uart_device_write() local 288 uart_dev_t *uart = NULL; in uart_device_ioctl() local 339 uart_dev_t *uart = NULL; in uart_device_open() local 375 uart_dev_t *uart = NULL; in uart_device_close() local 409 int uart_rx_notify (uart_dev_t *uart) { in uart_rx_notify() 453 uart_dev_t *uart = NULL; in uart_device_poll() local
|
/AliOS-Things-master/components/ble_host/ble_profiles/ |
A D | uart_server.c | 103 ble_uart_server_t *uart = g_uart_dev; in event_char_ccc_change() local 120 ble_uart_server_t *uart = g_uart_dev; in event_char_write() local 134 ble_uart_server_t *uart = (ble_uart_server_t *)handle; in uart_server_disconn() local 186 ble_uart_server_t *uart = (ble_uart_server_t *)handle; in uart_server_send() local 288 ble_uart_server_t *uart = (ble_uart_server_t *)handle; in uart_server_conn_param_update() local
|
A D | uart_client.c | 314 ble_uart_client_t *uart = g_uart_dev; in service_discovery() local 373 ble_uart_client_t *uart = g_uart_dev; in event_notify() local 456 ble_uart_client_t *uart = handle; in uart_client_send() local 520 ble_uart_client_t *uart = handle; in uart_client_disconn() local 563 ble_uart_client_t *uart = (ble_uart_client_t *)handle; in uart_client_conn_param_update() local
|
/AliOS-Things-master/hardware/chip/smarth_rv64/hal/ |
A D | uart.c | 26 int32_t hal_uart_init(uart_dev_t *uart) in hal_uart_init() 48 int32_t hal_uart_recv_II(uart_dev_t *uart, void *data, uint32_t expect_size, in hal_uart_recv_II() 90 int32_t hal_uart_send(uart_dev_t *uart, const void *data, uint32_t size, uint32_t timeout) in hal_uart_send()
|
/AliOS-Things-master/hardware/chip/rtl872xd/hal/ |
A D | uart.c | 125 uart_dev_t* uart = (uart_dev_t*) data; in uart_irq() local 181 int32_t hal_uart_init(uart_dev_t *uart) in hal_uart_init() 305 int32_t hal_uart_send(uart_dev_t *uart, const void *data, uint32_t size, uint32_t timeout) in hal_uart_send() 341 int32_t hal_uart_recv_II(uart_dev_t *uart, void *data, uint32_t expect_size, in hal_uart_recv_II() 401 int32_t hal_uart_finalize(uart_dev_t *uart) in hal_uart_finalize()
|
/AliOS-Things-master/hardware/chip/haas1000/hal/ |
A D | uart.c | 293 int32_t hal_uart_init(uart_dev_t *uart) in hal_uart_init() 426 int32_t hal_uart_send(uart_dev_t *uart, const void *data, uint32_t size, uint32_t timeout) in hal_uart_send() 475 int32_t hal_uart_recv(uart_dev_t *uart, void *data, uint32_t expect_size, uint32_t timeout) in hal_uart_recv() 501 int32_t hal_uart_recv_II(uart_dev_t *uart, void *data, uint32_t expect_size, in hal_uart_recv_II() 606 int32_t hal_uart_finalize(uart_dev_t *uart) in hal_uart_finalize() 650 int32_t hal_uart_recv_cb_reg(uart_dev_t *uart, uart_rx_cb cb) in hal_uart_recv_cb_reg()
|
/AliOS-Things-master/components/py_engine/tests/haas/HaaS100/python-apps/driver/uart/ |
A D | main.py | 9 uart = UART(); variable
|
/AliOS-Things-master/components/py_engine/tests/haas/HaaSEdu/python-apps/driver/uart/ |
A D | main.py | 9 uart = UART(); variable
|
/AliOS-Things-master/components/amp/example-js/ |
A D | uart.js | 1 var uart = require('uart'); variable
|
/AliOS-Things-master/hardware/board/haas100/drivers/ |
A D | rs485.c | 73 int32_t haas_rs485_deinit(uart_dev_t *uart) in haas_rs485_deinit()
|
/AliOS-Things-master/components/py_engine/adapter/haas/ |
A D | mpstdinport.c | 59 uart_dev_t uart = s_repl_uart; in uart_recv_mainloop() local
|
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/hardware/uart/ |
A D | module_uart.c | 20 uart_dev_t *uart; member 105 static int uart_add_recv(uart_dev_t *uart, uint32_t item_handle, int js_cb_ref) in uart_add_recv()
|
/AliOS-Things-master/components/amp/libjs/ |
A D | generator.js | 26 uart: 'JSE_HW_ADDON_UART', property in macro4libjs
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/hardware/uart/ |
A D | module_uart.c | 30 uart_dev_t *uart; member 122 static int uart_add_recv(uart_dev_t *uart, uint32_t item_handle, JSValue js_cb_ref) in uart_add_recv()
|
/AliOS-Things-master/components/py_engine/modules/driver/ |
A D | board_mgr.c | 208 static int8_t board_parse_uart(cJSON *uart, char *id) in board_parse_uart()
|
/AliOS-Things-master/components/amp/services/board_mgr/ |
A D | board_mgr.c | 232 static int8_t board_parse_uart(cJSON *uart, char *id) in board_parse_uart()
|