Home
last modified time | relevance | path

Searched refs:mec_uart_regs (Results 1 – 4 of 4) sorted by relevance

/hal_microchip-latest/mec5/drivers/
Dmec_uart_api.h137 struct mec_uart_regs;
139 int mec_hal_uart_init(struct mec_uart_regs *base, uint32_t baud_rate,
142 int mec_hal_uart_activate(struct mec_uart_regs *regs, uint8_t enable);
144 int mec_hal_uart_power_on(struct mec_uart_regs *regs, uint32_t cfg_flags);
146 int mec_hal_uart_girq_ctrl(struct mec_uart_regs *regs, uint8_t enable);
147 int mec_hal_uart_girq_clear(struct mec_uart_regs *regs);
148 bool mec_hal_uart_is_girq_status(struct mec_uart_regs *regs);
149 bool mec_hal_uart_is_girq_result(struct mec_uart_regs *regs);
151 int mec_hal_uart_clock_freq_get(struct mec_uart_regs *base, uint32_t *clock_freq);
153 int mec_hal_uart_baud_rate_set(struct mec_uart_regs *base, uint32_t baud, uint32_t extclk_hz);
[all …]
Dmec_uart.c69 static struct mec_uart_info const *get_uart_info(struct mec_uart_regs *regs) in get_uart_info()
82 static uint32_t uart_baud_divider_get(struct mec_uart_regs *base) in uart_baud_divider_get()
95 static void uart_prog_fifos(struct mec_uart_regs *base, uint8_t fifo_mode) in uart_prog_fifos()
110 int mec_hal_uart_tx_fifo_size(struct mec_uart_regs *base) in mec_hal_uart_tx_fifo_size()
125 int mec_hal_uart_rx_fifo_size(struct mec_uart_regs *base) in mec_hal_uart_rx_fifo_size()
136 int mec_hal_uart_clock_freq_get(struct mec_uart_regs *base, uint32_t *clock_freq) in mec_hal_uart_clock_freq_get()
160 int mec_hal_uart_parity_set(struct mec_uart_regs *base, uint8_t parity) in mec_hal_uart_parity_set()
177 int mec_hal_uart_parity_get(struct mec_uart_regs *base, uint8_t *parity) in mec_hal_uart_parity_get()
198 int mec_hal_uart_word_len_set(struct mec_uart_regs *base, uint8_t word_len) in mec_hal_uart_word_len_set()
214 int mec_hal_uart_word_len_get(struct mec_uart_regs *base, uint8_t *word_len) in mec_hal_uart_word_len_get()
[all …]
/hal_microchip-latest/mec5/devices/common/
Dmec5_uart_v1.h17 typedef struct mec_uart_regs { /*!< (@ 0x400F2400) MEC_UART Structure … struct
Dmec5_uart_v1_5.h17 typedef struct mec_uart_regs { /*!< (@ 0x400F2400) MEC_UART Structure … struct