Home
last modified time | relevance | path

Searched refs:stop_bits (Results 1 – 2 of 2) sorted by relevance

/hal_microchip-latest/mec5/drivers/
Dmec_uart_api.h88 uint8_t stop_bits; member
158 int mec_hal_uart_stop_bits_set(struct mec_uart_regs *base, uint8_t stop_bits);
159 int mec_hal_uart_stop_bits_get(struct mec_uart_regs *base, uint8_t *stop_bits);
Dmec_uart.c238 int mec_hal_uart_stop_bits_set(struct mec_uart_regs *base, uint8_t stop_bits) in mec_hal_uart_stop_bits_set() argument
242 if (!info || (stop_bits >= MEC_UART_STOP_BITS_MAX)) { in mec_hal_uart_stop_bits_set()
246 if (stop_bits == MEC_UART_STOP_BITS_2) { in mec_hal_uart_stop_bits_set()
255 int mec_hal_uart_stop_bits_get(struct mec_uart_regs *base, uint8_t *stop_bits) in mec_hal_uart_stop_bits_get() argument
259 if (!info || !stop_bits) { in mec_hal_uart_stop_bits_get()
264 *stop_bits = MEC_UART_STOP_BITS_2; in mec_hal_uart_stop_bits_get()
266 *stop_bits |= MEC_UART_STOP_BITS_1; in mec_hal_uart_stop_bits_get()