PASII/CandeII_1.4/Hardware/key.h

25 lines
659 B
C

/*****************************************************************
;Project: Light
;MCU:
;Date:
;File:
;Function:
******************************************************************/
#ifndef __KEY_H
#define __KEY_H
/*---------------------------------------------------------------*/
#include "ARMCM0.h"
/*---------------------------------------------------------------*/
//º¯ÊýÉùÃ÷
void Key_Init(void);
void Gpio_Init(void);
/*---------------------------------------------------------------*/
//ºê¶¨Òå
#define SHOCK_PIN GPIO_25
#define CHARGE_PIN GPIO_3
#endif
/*---------------------------------------------------------------*/