Both_Way_Comm_SY8833/TP3310_Demo.si4project/Backup/hall(3671).h

46 lines
821 B
C

/*
******************************************************************************
*
* @file hall.h
* @brief hall module
*
*
* @version 1.0
* @date 2023/05/12 09:59:40
* @author Alex Xu
*
* Copyright (c) 2013-2099,Tkplusemi Technology Co.,Ltd.
* All Rights Reserved
*
* History:
* Revision Date Author Desc
* 1.0.0 2023/07/12 Alex build this file
******************************************************************************
*/
#ifndef __HALL_H__
#define __HALL_H__
#include "define.h"
#if KEY_HALL_ENABLE
typedef enum{
CLOSE = 0,
OPEN = !CLOSE
} CoverStatus_E;
extern CoverStatus_E CoverStatus;
extern bit CoverEvent_Flg;
extern void Hall_Init(void);
extern void Hall_Handler(void);
#endif
#endif