mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 20:20:14 +01:00
* Use R_SCI_UART_BaudCalculate() of fsp/src/r_sci_uart/r_sci_uart.c * Support UART.init(baudrate) Signed-off-by: Takeo Takahashi <takeo.takahashi.xv@renesas.com>
26 lines
629 B
C
26 lines
629 B
C
#ifndef R_SCI_UART_CFG_H_
|
|
#define R_SCI_UART_CFG_H_
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define SCI_UART_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE)
|
|
#define SCI_UART_CFG_FIFO_SUPPORT (0)
|
|
#define SCI_UART_CFG_DTC_SUPPORTED (0)
|
|
#define SCI_UART_CFG_FLOW_CONTROL_SUPPORT (0)
|
|
#define SCI_UART_CFG_RS485_SUPPORT (0)
|
|
|
|
/*
|
|
* Disable r_sci_uart.c's interrupt handlers by defining followings
|
|
* because the renesas-ra has own interrupt handlers for SCI and
|
|
* symbol conflict happens.
|
|
*/
|
|
|
|
#define SCI_UART_CFG_TX_ENABLE (0)
|
|
#define SCI_UART_CFG_RX_ENABLE (0)
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif /* R_SCI_UART_CFG_H_ */
|