summaryrefslogtreecommitdiff
path: root/bsp/ESP/libraries/drivers/board.h
blob: d9a6655dc81f1cd9fdcdae04fb3b0f6441879de6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * Copyright (c) 2021-2024 RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-06-02     supperthomas first version
 * 2024-12-08     wumingzi     support rt_hw_us_delay
 */

#ifndef __BOARD_H__
#define __BOARD_H__

#include <rtconfig.h>
#include "rttypes.h"

#ifdef __cplusplus
extern "C" {
#endif
void rt_hw_board_init(void);
void rt_hw_us_delay(rt_uint32_t us);

#ifdef __cplusplus
}
#endif
#endif