STM32CubeMX-Keil_uVision5/exp8-Capture/Core/Inc/MatrixKey.h
2024-12-15 20:39:48 +08:00

23 lines
287 B
C

#ifndef __MATRIXKEY_H
#define __MATRIXKEY_H
#include<stdint.h>
#include "directkey.h"
// enum {State0=0, State1, State2};
#define NO_KEY 0xFF
#ifdef __cplusplus
extern "C" {
#endif
uint8_t MatrixKeyScan(void);
extern uint8_t const KeyTable[16];
#ifdef __cplusplus
}
#endif
#endif