KT24-1110_65E-HA-651B/apps/common/charge_box/chgbox_det.h
2024-11-10 18:44:17 +08:00

17 lines
361 B
C

#ifndef _CHGBOX_DET_H_
#define _CHGBOX_DET_H_
#include "typedef.h"
u16 get_vbat_voltage(void);
u16 get_ear_current(void);
void chargebox_det_init(void);
void usb_wakeup_deal(void);
void usb_wakeup_deal(void);
void hall_wakeup_deal(void);
void ldo_wakeup_deal(void *priv);
void usb_charge_full_wakeup_deal(void);
void ear_current_detect_enable(u8 en);
#endif