Huaqi Fang 4c63055289 [bsp][nuclei] change hbird_eval bsp to nuclei_fpga_eval
we no longer use hbird_eval to stand for board using by
nuclei fpga development boards, we are now using nuclei_fpga_eval
to stand for it.

nowadays the fpga bitstream cpu freq is 16MHz, and uart tx/rx
both works at 115200bps, so we change the baudrate to 115200bps

Signed-off-by: Huaqi Fang <578567190@qq.com>
2021-10-15 17:38:50 +08:00

37 lines
684 B
C

/*
* Copyright (c) 2006-2020, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2020-04-15 hqfang first version
*/
#ifndef __DRV_UART_H__
#define __DRV_UART_H__
#include <rtthread.h>
#include <rtdevice.h>
#include <drv_config.h>
/* config class */
struct hbird_uart_config
{
const char *name;
UART_TypeDef *uart;
IRQn_Type irqn;
};
/* hbird uart dirver class */
struct hbird_uart
{
struct hbird_uart_config *config;
struct rt_serial_device serial;
};
extern int rt_hw_uart_init(void);
#endif /* __DRV_USART_H__ */
/******************* end of file *******************/