Electricity.h 690 B

1234567891011121314151617181920212223242526272829303132
  1. /*********************************************************************************************************
  2. * Module : Electricity.h
  3. * Abstract : Electricity modules.
  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 __ELECTRICITY_H
  11. #define __ELECTRICITY_H
  12. #include "stdint.h"
  13. typedef struct {
  14. float voltage;
  15. float current;
  16. float power;
  17. float consumer;
  18. float freq;
  19. float factor;
  20. }electricity_t;
  21. void electricity_init();
  22. #endif