mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 17:05:58 +08:00
dev/serial: Move zynq_uart_input_clock()
This allows to wrap this function using the linker.
This commit is contained in:
@@ -176,6 +176,11 @@ void zynq_uart_write_char_polled(volatile zynq_uart *regs, char c);
|
||||
*/
|
||||
void zynq_uart_reset_tx_flush(volatile zynq_uart *regs);
|
||||
|
||||
/**
|
||||
* @brief Returns the Zynq UART input clock frequency in Hz.
|
||||
*/
|
||||
uint32_t zynq_uart_input_clock(void);
|
||||
|
||||
/**
|
||||
* @brief Calculates the clock and baud divisor of the best approximation of
|
||||
* the desired baud.
|
||||
|
||||
Reference in New Issue
Block a user