-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathexti.h
56 lines (29 loc) · 910 Bytes
/
exti.h
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
28
29
30
31
/*
**********************************************************************
*Copyright(c) Lance Zhang
*Identification CHIC
*Describtion Template
*
*Present Version 1.0
*Writer Lance Zhang
*Date 7/08/2019
**********************************************************************
**/
/********************************************************************************
*外部中断封装
*使用时需要包含的库:
* stm32f4xx_gpio.h
* stm32f4xx_syscfg.h
* stm32f4xx_exti.h
*********************************************************************************
*HARDWARE文件:exti.c | exti.h
*对外部中断进行初始化前,请先初始化delay()
********************************************************************************/
#ifndef __EXTI_H
#define __EXIT_H
#include "sys.h"
#include "delay.h"
void EXTIX_Init(void); //外部中断初始化
void LED_Init(void);
void EXIO_Init(void);
#endif