Key.h 776 B

123456789101112131415161718192021
  1. /*********************************************************************************************************
  2. * Module : key.h
  3. * Abstract : key modules,key be used to determing modebus address and It content interfaces of scankey to read!
  4. * Version : 1.0.0
  5. * Author : Leopul(COPYRIGHT 2025 - 2027 Leopul. All rights reserved.)
  6. * Complete : 2025-02-16
  7. * Content : None
  8. * Note : None
  9. *********************************************************************************************************/
  10. #ifndef _KEY_H_
  11. #define _KEY_H_
  12. void InitKey(void);
  13. unsigned char ScanKey(unsigned int gpio_periph,unsigned int pin);
  14. unsigned char ReadKeyValue(void);
  15. #endif