Home
last modified time | relevance | path

Searched defs:uart_num (Results 1 – 13 of 13) sorted by relevance

/device/soc/esp/esp32/components/driver/
Duart.c84 #define UART_CONTEX_INIT_DEF(uart_num) {\ argument
91 #define RTC_ENABLED(uart_num) (BIT(uart_num)) argument
111 uart_port_t uart_num; /*!< UART port number*/ member
173 static void rtc_clk_enable(uart_port_t uart_num) in rtc_clk_enable()
183 static void rtc_clk_disable(uart_port_t uart_num) in rtc_clk_disable()
196 static void uart_module_enable(uart_port_t uart_num) in uart_module_enable()
218 static void uart_module_disable(uart_port_t uart_num) in uart_module_disable()
230 esp_err_t uart_set_word_length(uart_port_t uart_num, uart_word_length_t data_bit) in uart_set_word_length()
240 esp_err_t uart_get_word_length(uart_port_t uart_num, uart_word_length_t* data_bit) in uart_get_word_length()
247 esp_err_t uart_set_stop_bits(uart_port_t uart_num, uart_stop_bits_t stop_bit) in uart_set_stop_bits()
[all …]
Di2c.c88 #define I2C_CONTEX_INIT_DEF(uart_num) {\ argument
/device/soc/telink/b91/b91_ble_sdk/drivers/B91/
Duart.h39 #define uart_rtx_pin_tx_trig(uart_num) uart_clr_tx_done(uart_num) argument
195 static inline unsigned char uart_get_rxfifo_num(uart_num_e uart_num) in uart_get_rxfifo_num()
205 static inline unsigned char uart_get_txfifo_num(uart_num_e uart_num) in uart_get_txfifo_num()
215 static inline void uart_reset(uart_num_e uart_num) in uart_reset()
226 static inline void uart_clk_en(uart_num_e uart_num) in uart_clk_en()
291 static inline void uart_rx_irq_trig_level(uart_num_e uart_num, unsigned char rx_level) in uart_rx_irq_trig_level()
302 static inline void uart_tx_irq_trig_level(uart_num_e uart_num, unsigned char tx_level) in uart_tx_irq_trig_level()
441 static inline void uart_set_irq_mask(uart_num_e uart_num, uart_irq_mask_e mask) in uart_set_irq_mask()
461 static inline void uart_clr_irq_mask(uart_num_e uart_num, uart_irq_mask_e mask) in uart_clr_irq_mask()
480 static inline unsigned int uart_get_irq_status(uart_num_e uart_num, uart_irq_status_get_e status) in uart_get_irq_status()
[all …]
Duart.c148 void uart_init(uart_num_e uart_num, unsigned short div, unsigned char bwpc, uart_parity_e parity, in uart_init()
252 void uart_set_dma_rx_timeout(uart_num_e uart_num, unsigned char bwpc, unsigned char bit_cnt, uart_t… in uart_set_dma_rx_timeout()
266 void uart_send_byte(uart_num_e uart_num, unsigned char tx_data) in uart_send_byte()
282 unsigned char uart_read_byte(uart_num_e uart_num) in uart_read_byte()
296 unsigned char uart_tx_is_busy(uart_num_e uart_num) in uart_tx_is_busy()
307 void uart_send_hword(uart_num_e uart_num, unsigned short data) in uart_send_hword()
325 void uart_send_word(uart_num_e uart_num, unsigned int data) in uart_send_word()
339 void uart_set_rts_level(uart_num_e uart_num, unsigned char polarity) in uart_set_rts_level()
474 unsigned char uart_send(uart_num_e uart_num, unsigned char *addr, unsigned char len) in uart_send()
491 unsigned char uart_send_dma(uart_num_e uart_num, unsigned char *addr, unsigned int len) in uart_send_dma()
[all …]
Ds7816.c90 void s7816_init(uart_num_e uart_num, s7816_clock_e clock, int f, int d) in s7816_init()
183 void s7816_send_byte(uart_num_e uart_num, unsigned char tx_data) in s7816_send_byte()
Ds7816.h25 #define s7816_en(uart_num) uart_rtx_en(uart_num) argument
/device/board/hisilicon/hispark_aries/liteos_a/board/include/hisoc/
Duart.h43 #define uart_pin_mux_cfg(uart_num) ({ \ argument
58 #define uart_clk_cfg(uart_num, flag) ({ \ argument
67 #define get_uart_dma_peri(uart_num) ({ \ argument
/device/board/hisilicon/hispark_taurus/liteos_a/board/include/hisoc/
Duart.h46 #define uart_pin_mux_cfg(uart_num) ({ \ argument
61 #define uart_clk_cfg(uart_num, flag) ({ \ argument
70 #define get_uart_dma_peri(uart_num) ({ \ argument
/device/soc/esp/esp32/components/bootloader_support/src/
Dbootloader_console.c47 const int uart_num = CONFIG_ESP_CONSOLE_UART_NUM; in bootloader_console_init() local
/device/qemu/arm_virt/liteos_a/board/include/soc/
Duart.h47 #define uart_clk_cfg(uart_num, flag) ({ \ argument
/device/soc/esp/esp32/components/hal/esp32/include/hal/
Duart_ll.h905 FORCE_INLINE_ATTR void uart_ll_force_xoff(uart_port_t uart_num) in uart_ll_force_xoff()
918 FORCE_INLINE_ATTR void uart_ll_force_xon(uart_port_t uart_num) in uart_ll_force_xon()
932 FORCE_INLINE_ATTR uint32_t uart_ll_get_fsm_status(uart_port_t uart_num) in uart_ll_get_fsm_status()
/device/soc/esp/esp32/components/hal/
Duart_hal.c138 void uart_hal_init(uart_hal_context_t *hal, int uart_num) in uart_hal_init()
/device/soc/esp/esp32/components/esp_system/
Dsleep_modes.c1151 esp_err_t esp_sleep_enable_uart_wakeup(int uart_num) in esp_sleep_enable_uart_wakeup()