/********************************************************************************************************* * Module : key.h * Abstract : key modules,key be used to determing modebus address and It content interfaces of scankey to read! * Version : 1.0.0 * Author : Leopul(COPYRIGHT 2025 - 2027 Leopul. All rights reserved.) * Complete : 2025-02-16 * Content : None * Note : None *********************************************************************************************************/ #ifndef _KEY_H_ #define _KEY_H_ void InitKey(void); unsigned char ScanKey(unsigned int gpio_periph,unsigned int pin); unsigned char ReadKeyValue(void); #endif