A small USV for ALIX boards with i2c support
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
248B

  1. #ifndef _USVDEVICE_H_
  2. #define _USVDEVICE_H_
  3. struct usvdev_status {
  4. int state;
  5. int ibat;
  6. int ubat;
  7. int uin;
  8. };
  9. int usvdev_getstatus(struct usvdev_status *status);
  10. int usvdev_setstate(int state);
  11. int usvdev_init(void);
  12. #endif // _USVDEVICE_H_