Skip to content

Commit 26a576f

Browse files
committed
hal:gd32e10x:add libopt.h from gigadevice demo.
file from `GD32E10x_Demo_Suites_V1.2.0` Signed-off-by: YuLong Yao <[email protected]>
1 parent b395ebe commit 26a576f

File tree

1 file changed

+62
-0
lines changed

1 file changed

+62
-0
lines changed
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
/*!
2+
\file gd32e10x_libopt.h
3+
\brief library optional for gd32e10x
4+
5+
\version 2018-03-26, V1.0.0, demo for GD32E103
6+
\version 2020-09-30, V1.1.0, demo for GD32E103
7+
\version 2020-12-31, V1.2.0, demo for GD32E103
8+
*/
9+
10+
/*
11+
Copyright (c) 2020, GigaDevice Semiconductor Inc.
12+
13+
Redistribution and use in source and binary forms, with or without modification,
14+
are permitted provided that the following conditions are met:
15+
16+
1. Redistributions of source code must retain the above copyright notice, this
17+
list of conditions and the following disclaimer.
18+
2. Redistributions in binary form must reproduce the above copyright notice,
19+
this list of conditions and the following disclaimer in the documentation
20+
and/or other materials provided with the distribution.
21+
3. Neither the name of the copyright holder nor the names of its contributors
22+
may be used to endorse or promote products derived from this software without
23+
specific prior written permission.
24+
25+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
26+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
27+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
28+
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
29+
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
30+
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
31+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
32+
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
33+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
34+
OF SUCH DAMAGE.
35+
*/
36+
37+
#ifndef GD32E10X_LIBOPT_H
38+
#define GD32E10X_LIBOPT_H
39+
40+
#include "gd32e10x_rcu.h"
41+
#include "gd32e10x_adc.h"
42+
#include "gd32e10x_crc.h"
43+
#include "gd32e10x_ctc.h"
44+
#include "gd32e10x_dac.h"
45+
#include "gd32e10x_dbg.h"
46+
#include "gd32e10x_dma.h"
47+
#include "gd32e10x_exti.h"
48+
#include "gd32e10x_fmc.h"
49+
#include "gd32e10x_fwdgt.h"
50+
#include "gd32e10x_gpio.h"
51+
#include "gd32e10x_i2c.h"
52+
#include "gd32e10x_pmu.h"
53+
#include "gd32e10x_bkp.h"
54+
#include "gd32e10x_rtc.h"
55+
#include "gd32e10x_spi.h"
56+
#include "gd32e10x_timer.h"
57+
#include "gd32e10x_usart.h"
58+
#include "gd32e10x_wwdgt.h"
59+
#include "gd32e10x_misc.h"
60+
#include "gd32e10x_exmc.h"
61+
62+
#endif /* GD32E10X_LIBOPT_H */

0 commit comments

Comments
 (0)