pure sdk for main

This commit is contained in:
divadiow
2025-08-27 09:51:58 +01:00
parent f0d033f1c9
commit 0571416e7c
3283 changed files with 1577720 additions and 1 deletions
+36
View File
@@ -0,0 +1,36 @@
/**
* @file sleep_api.h
* @author HUGE-IC Application Team
* @brief Dsleep mode function library
* @version 1.0.0
* @date 2021-9-6
*
* @copyright Copyright (c) 2021 HUGE-IC
*/
#ifndef _HGIC_SLEEP_API_H_
#define _HGIC_SLEEP_API_H_
enum sleep_setcfg_cmd {
SLEEP_SETCFG_GPIOA_RESV,
SLEEP_SETCFG_GPIOB_RESV,
SLEEP_SETCFG_GPIOC_RESV,
SLEEP_SETCFG_SLEEP_US,
SLEEP_SETCFG_BOOT_MODE,
SLEEP_SETCFG_DSLEEP_EN,
SLEEP_SETCFG_WKSRC_DETECT,
SLEEP_SETCFG_IO_LEVEL_WK,
};
void system_sleep_enter_hook(void);
void system_sleep_wakeup_hook(void);
int32 system_sleep_rxdata_hook(uint8 *data, uint32 len);
void system_sleep_config(uint32 cmd, uint32 param1, uint32 param2);
void system_sleep_reset(void);
void dsleep_itoa(int32 n);
void dsleep_print(char *buff);
//void delay_us(uint32 n);
//uint32 io_input_meas_mv(void);
#endif // _HGIC_SLEEP_API_H_