mirror of
https://github.com/taubel/sdk-ameba-v4.0b-gcc.git
synced 2026-07-13 14:55:39 +00:00
initial commit
This commit is contained in:
commit
60a7afcc83
2528 changed files with 1001987 additions and 0 deletions
33
component/soc/realtek/8711b/fwlib/include/rtl8710b_soc_ps.h
Normal file
33
component/soc/realtek/8711b/fwlib/include/rtl8710b_soc_ps.h
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
#ifndef _HAL_SOCPS_H_
|
||||
#define _HAL_SOCPS_H_
|
||||
|
||||
typedef struct
|
||||
{
|
||||
u32 Module;
|
||||
u32 Status;
|
||||
} PWRCFG_TypeDef;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
u32 Module;
|
||||
u32 Status;
|
||||
u32 Polarity; /* 1 is high, 0 is low */
|
||||
} WAKEPIN_TypeDef;
|
||||
|
||||
extern const PWRCFG_TypeDef sleep_pwrmgt_config[];
|
||||
extern const PWRCFG_TypeDef sleep_wevent_config[];
|
||||
extern const WAKEPIN_TypeDef sleep_wakepin_config[];
|
||||
|
||||
extern const PWRCFG_TypeDef dstandby_wevent_config[];
|
||||
extern const WAKEPIN_TypeDef dstandby_wakepin_config[];
|
||||
|
||||
extern const PWRCFG_TypeDef dsleep_wevent_config[];
|
||||
extern const WAKEPIN_TypeDef dsleep_wakepin_config[];
|
||||
|
||||
extern void SOCPS_SleepPG(void);
|
||||
extern void SOCPS_InitSYSIRQ(void);
|
||||
extern void SOCPS_SleepDeInit(void);
|
||||
extern void SOCPS_SleepInit(void);
|
||||
extern void SOCPS_DstandbyInit(void);
|
||||
extern void SOCPS_DsleepInit(void);
|
||||
#endif //_HAL_SOCPS_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue