This commit is contained in:
huxi
2025-12-03 11:12:34 +08:00
parent c23ae4f24c
commit bc195654bf
8163 changed files with 3799544 additions and 92 deletions
+15
View File
@@ -0,0 +1,15 @@
#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 hall_wakeup_deal(P33_IO_WKUP_EDGE edge);
void ldo_wakeup_deal(void *priv);
void usb_charge_full_wakeup_deal(void);
void ear_current_detect_enable(u8 en);
#endif