Searched refs:LCR (Results 1 – 6 of 6) sorted by relevance
86 base->LCR |= MEC_BIT(MEC_UART_LCR_DLAB_Pos); in uart_baud_divider_get()90 base->LCR &= (uint8_t)~MEC_BIT(MEC_UART_LCR_DLAB_Pos); in uart_baud_divider_get()186 reg_val = base->LCR & (MEC_UART_LCR_PARITY_Msk | MEC_UART_LCR_PARITY_SEL_Msk); in mec_hal_uart_parity_get()209 base->LCR = (base->LCR & (uint8_t)~MEC_UART_LCR_WORD_LEN_Msk) | val; in mec_hal_uart_word_len_set()223 temp = base->LCR & MEC_UART_LCR_WORD_LEN_Msk; in mec_hal_uart_word_len_get()247 base->LCR |= MEC_BIT(MEC_UART_LCR_STOP_BITS_Pos); in mec_hal_uart_stop_bits_set()249 base->LCR &= (uint8_t)~MEC_BIT(MEC_UART_LCR_STOP_BITS_Pos); in mec_hal_uart_stop_bits_set()263 if (base->LCR & MEC_BIT(MEC_UART_LCR_STOP_BITS_Pos)) { in mec_hal_uart_stop_bits_get()331 regs->LCR |= (uint8_t)MEC_BIT(MEC_UART_LCR_DLAB_Pos); in prog_baud_rate()334 regs->LCR &= (uint8_t)~MEC_BIT(MEC_UART_LCR_DLAB_Pos); in prog_baud_rate()[all …]
930 this_uart->hw_reg->LCR |= SB_MASK; in MSS_UART_set_break()943 this_uart->hw_reg->LCR &= ~SB_MASK; in MSS_UART_clear_break()1470 this_uart->hw_reg->LCR = line_config; in global_init()1537 this_uart->hw_reg->LCR |= DLAB_MASK; in config_baud_divisors()1546 this_uart->hw_reg->LCR &= ~DLAB_MASK; in config_baud_divisors()1559 this_uart->hw_reg->LCR |= DLAB_MASK; in config_baud_divisors()1568 this_uart->hw_reg->LCR &= ~DLAB_MASK; in config_baud_divisors()
717 volatile uint8_t LCR; member
30 …__IOM uint8_t LCR; /*!< (@ 0x00000003) UART Line control register … member
282 __IOM uint8_t LCR; /*!< (@ 0x0003) UART Line Control(RW) */ member