Lines Matching +full:0 +full:x00000020
41 uint8_t _res1[0x010];
43 uint8_t _res2[0x04];
54 uint8_t _res3[0xf8c];
90 #define UARTFR_BUSY 0x00000008
91 #define UARTFR_RXFE 0x00000010
92 #define UARTFR_TXFF 0x00000020
93 #define UARTFR_RXFF 0x00000040
94 #define UARTFR_TXFE 0x00000080
96 #define UARTLCRH_FEN 0x00000010
97 #define UARTLCRH_WLEN 0x00000060
99 #define UARTCTL_UARTEN 0x00000001
100 #define UARTCTL_LBE 0x00000800
101 #define UARTCTL_TXEN 0x00000100
102 #define UARTCTL_RXEN 0x00000200
104 #define UARTTIM_RXIM 0x00000010
105 #define UARTTIM_TXIM 0x00000020
106 #define UARTTIM_RTIM 0x00000040
107 #define UARTTIM_FEIM 0x00000080
108 #define UARTTIM_PEIM 0x00000100
109 #define UARTTIM_BEIM 0x00000200
110 #define UARTTIM_OEIM 0x00000400
112 #define UARTMIS_RXMIS 0x00000010
113 #define UARTMIS_TXMIS 0x00000020
150 config->uart->ibrd = (uint16_t)(brdi & 0xffff); /* 16 bits */ in baudrate_set()
151 config->uart->fbrd = (uint8_t)(brdf & 0x3f); /* 6 bits */ in baudrate_set()
221 * @return 0
237 return 0; in uart_stellaris_init()
247 * @return 0 if ready to transmit, 1 otherwise
262 * @return 0 if a character arrived, -1 if the input buffer if empty.
276 return 0; in uart_stellaris_poll_in()
316 int num_tx = 0U; in uart_stellaris_fifo_fill()
318 while ((len - num_tx > 0) && ((config->uart->fr & UARTFR_TXFF) == 0U)) { in uart_stellaris_fifo_fill()
339 int num_rx = 0U; in uart_stellaris_fifo_read()
341 while ((size - num_rx > 0) && ((config->uart->fr & UARTFR_RXFE) == 0U)) { in uart_stellaris_fifo_read()
371 first_time = 0U; in uart_stellaris_irq_tx_enable()
380 config->uart->fbrd = 0U; in uart_stellaris_irq_tx_enable()
382 config->uart->lcrh = 0U; in uart_stellaris_irq_tx_enable()
384 config->uart->dr = 0U; in uart_stellaris_irq_tx_enable()
417 * @return 1 if a Tx IRQ is pending, 0 otherwise
455 * @return 1 if an IRQ is ready, 0 otherwise
495 * @return 1 if a Tx or Rx IRQ is pending, 0 otherwise
502 return ((config->uart->mis & (UARTMIS_RXMIS | UARTMIS_TXMIS)) ? 1 : 0); in uart_stellaris_irq_is_pending()
583 .uart = (volatile struct _uart *)DT_INST_REG_ADDR(0),
584 .sys_clk_freq = DT_INST_PROP_BY_PHANDLE(0, clocks, clock_frequency),
592 .baud_rate = DT_INST_PROP(0, current_speed),
595 DEVICE_DT_INST_DEFINE(0,
605 IRQ_CONNECT(DT_INST_IRQN(0), in irq_config_func_0()
606 DT_INST_IRQ(0, priority), in irq_config_func_0()
607 uart_stellaris_isr, DEVICE_DT_INST_GET(0), in irq_config_func_0()
608 0); in irq_config_func_0()
609 irq_enable(DT_INST_IRQN(0)); in irq_config_func_0()
647 0); in irq_config_func_1()
686 0); in irq_config_func_2()