rt-thread-official/bsp/fujitsu/mb9x/mb9bf568r/drivers/board.h

36 lines
728 B
C
Raw Permalink Normal View History

2014-10-20 10:10:18 +08:00
/*
2021-03-22 00:00:13 +08:00
* Copyright (c) 2006-2021, RT-Thread Development Team
2014-10-20 10:10:18 +08:00
*
2021-03-22 00:00:13 +08:00
* SPDX-License-Identifier: Apache-2.0
2014-10-20 10:10:18 +08:00
*
* Change Logs:
* Date Author Notes
* 2009-09-22 Bernard add board.h to this bsp
* 2011-03-04 lgnq add board.h to FM3 bsp
*/
#ifndef __BOARD_H__
#define __BOARD_H__
#include <system_mb9bf56xr.h>
#include <mb9b560r.h>
#include <base_types.h>
#include "serial.h"
#define FM4_SRAM_SIZE 128
#define FM4_SRAM_END (0x1FFF0000 + FM4_SRAM_SIZE * 1024)
/* RT_USING_UART */
#define RT_USING_UART0
#define RT_UART_RX_BUFFER_SIZE 128
void rt_hw_board_init(void);
rt_uint32_t rt_hw_tick_get_millisecond(void);
rt_uint32_t rt_hw_tick_get_microsecond(void);
#endif