8051-ELL库
beta 1.1.6
8051-ELL library API Document Center
PerList.h
浏览该文件的文档.
1
/*-----------------------------------------------------------------------
2
| FILE DESCRIPTION |
3
-----------------------------------------------------------------------*/
4
/*----------------------------------------------------------------------
5
- File name : PerList.h
6
- Author : zeweni
7
- Update date : 2021.07.25
8
- Copyright(c) : 2020-2021 zeweni. All rights reserved.
9
-----------------------------------------------------------------------*/
10
/*------------------------------------------------------------------------
11
| COPYRIGHT NOTICE |
12
------------------------------------------------------------------------*/
13
/*
14
* Copyright (C) 2021, zeweni (17870070675@163.com)
15
16
* This file is part of 8051 ELL low-layer libraries.
17
18
* 8051 ELL low-layer libraries is free software: you can redistribute
19
* it and/or modify it under the terms of the Apache-2.0 License.
20
21
* 8051 ELL low-layer libraries is distributed in the hope that it will
22
* be useful,but WITHOUT ANY WARRANTY; without even the implied warranty
23
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24
* Apache-2.0 License for more details.
25
26
* You should have received a copy of the Apache-2.0 License.8051 ELL
27
* low-layer libraries. If not, see <http://www.apache.org/licenses/>.
28
**/
29
/*-----------------------------------------------------------------------
30
| INCLUDES |
31
-----------------------------------------------------------------------*/
32
#ifndef __PerList_H_
33
#define __PerList_H_
34
35
/*--------------------------------------------------------
36
| @Description: STC8x core |
37
--------------------------------------------------------*/
38
#include "ELL_CORE.h"
39
40
/*--------------------------------------------------------
41
| @Description: STC8x MCU Register |
42
--------------------------------------------------------*/
43
44
#ifndef PER_LIB_MCU_MUODEL
45
#define PER_LIB_MCU_MUODEL STC8Ax
46
#endif
47
48
#if (PER_LIB_MCU_MUODEL == STC8Ax)
49
#include "
STC8Ax_REG.h
"
50
#elif (PER_LIB_MCU_MUODEL == STC8Cx)
51
#include "
STC8Cx_REG.h
"
52
#elif (PER_LIB_MCU_MUODEL == STC8Fx)
53
#include "
STC8Fx_REG.h
"
54
#elif (PER_LIB_MCU_MUODEL == STC8Gx)
55
#include "
STC8Gx_REG.h
"
56
#elif (PER_LIB_MCU_MUODEL == STC8Hx)
57
#include "
STC8Hx_REG.h
"
58
#endif
59
60
/*--------------------------------------------------------
61
| @Description: STC8x MCU peripheral |
62
--------------------------------------------------------*/
63
64
#if (PER_LIB_MCU_MUODEL == STC8Ax || PER_LIB_MCU_MUODEL == STC8Cx || \
65
PER_LIB_MCU_MUODEL == STC8Fx || PER_LIB_MCU_MUODEL == STC8Gx || \
66
PER_LIB_MCU_MUODEL == STC8Hx)
67
68
#include "
STC8x_SYSCLK.h
"
69
#include "
STC8x_GPIO.h
"
70
#include "
STC8x_WDT.h
"
71
#include "
STC8x_POWER.h
"
72
#include "
STC8x_TIMER.h
"
73
#include "
STC8x_UART.h
"
74
#include "
STC8x_RST.h
"
75
#include "
STC8x_SPI.h
"
76
#include "
STC8x_I2C.h
"
77
#include "
STC8x_EEPROM.h
"
78
#include "
STC8x_COMP.h
"
79
#include "
STC8x_DELAY.h
"
80
81
#endif
82
83
#if (PER_LIB_MCU_MUODEL == STC8Ax || PER_LIB_MCU_MUODEL == STC8Gx)
84
85
#include "
STC8x_PCA.h
"
86
87
#endif
88
89
#if (PER_LIB_MCU_MUODEL == STC8Ax)
90
91
#include "
STC8x_PWM.h
"
92
93
#endif
94
95
#if (PER_LIB_MCU_MUODEL == STC8Gx)
96
97
#include "
STC8x_MPWM.h
"
98
99
#endif
100
101
#if (PER_LIB_MCU_MUODEL == STC8Ax || PER_LIB_MCU_MUODEL == STC8Gx || \
102
PER_LIB_MCU_MUODEL == STC8Hx)
103
104
#include "
STC8x_ADC.h
"
105
106
#endif
107
108
#if (PER_LIB_MCU_MUODEL == STC8Cx || PER_LIB_MCU_MUODEL == STC8Hx)
109
110
#include "
STC8x_MDU16.h
"
111
#include "
STC8x_HPWM.h
"
112
113
#endif
114
115
#endif
116
117
/*-----------------------------------------------------------------------
118
| END OF FLIE. (C) COPYRIGHT zeweni |
119
-----------------------------------------------------------------------*/
120
STC8Ax_REG.h
STC8Cx_REG.h
STC8Fx_REG.h
STC8Gx_REG.h
STC8Hx_REG.h
STC8x_ADC.h
STC8x_COMP.h
STC8x_DELAY.h
STC8x_EEPROM.h
STC8x_GPIO.h
STC8x_HPWM.h
STC8x_I2C.h
STC8x_MDU16.h
STC8x_MPWM.h
STC8x_PCA.h
STC8x_POWER.h
STC8x_PWM.h
STC8x_RST.h
STC8x_SPI.h
STC8x_SYSCLK.h
STC8x_TIMER.h
STC8x_UART.h
STC8x_WDT.h
open-ell-code
libraries
peripherals
PerList.h
生成于 2021年 七月 25日 星期日 20:17:37 , 为 8051-ELL库使用
1.9.1