21#ifndef __ARCH_ARM_INCLUDE_CXD56XX_BATTERY_IOCTL_H
22#define __ARCH_ARM_INCLUDE_CXD56XX_BATTERY_IOCTL_H
28#include <nuttx/fs/ioctl.h>
36#define BATIOC_GET_CHGVOLTAGE _BATIOC(0x0020)
37#define BATIOC_GET_CHGCURRENT _BATIOC(0x0021)
38#define BATIOC_GET_RECHARGEVOL _BATIOC(0x0022)
39#define BATIOC_SET_RECHARGEVOL _BATIOC(0x0023)
40#define BATIOC_GET_COMPCURRENT _BATIOC(0x0024)
41#define BATIOC_SET_COMPCURRENT _BATIOC(0x0025)
42#define BATIOC_GET_TEMPTABLE _BATIOC(0x0026)
43#define BATIOC_SET_TEMPTABLE _BATIOC(0x0027)
44#define BATIOC_GET_CURRENT _BATIOC(0x0028)
46#define BATIOC_MONITOR_ENABLE _BATIOC(0x0030)
47#define BATIOC_MONITOR_STATUS _BATIOC(0x0031)
48#define BATIOC_MONITOR_SET _BATIOC(0x0032)
49#define BATIOC_MONITOR_GET _BATIOC(0x0033)
51#define BATIOC_DEBUG _BATIOC(0x00db)
70 int threshold_current;
Definition: battery_ioctl.h:66
Definition: battery_ioctl.h:97
Definition: battery_ioctl.h:89
Definition: battery_ioctl.h:83
Definition: battery_ioctl.h:74
Definition: battery_ioctl.h:58