|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|

结构体 | |
| struct | hal_pm_w_ctl_stru |
| struct | hal_pm_ctrl_stru |
宏定义 | |
| #define | MIN_SLEEP_TIME 1000 /* tsf小于该值不睡眠 load时间(500us)+500us裕量 */ |
| #define | VAP0_EXT_TSF_EN_OFFSET BIT1 /* 外置TSF vap0使能位BIT1 */ |
| #define | VAP0_EXT_TSF_WORK_STATUS_OFFSET BIT0 /* VAP0 外置TSF工作状态 */ |
| #define | EXT_TSF_SLEEP_EN_OFFSET BIT0 /* 外置TSF使能位 */ |
| #define | SEC_TO_NSEC 1000000000 /* 1s为1 000 000 000ns */ |
| #define | USEC_TO_NSEC 1000 /* 1000.0ns */ |
| #define | CHECK_MAX_TIMES 5000 /* 最大5000次检查 */ |
| #define | CHECK_PER_TIME 1000 /* 每次1000us时延 */ |
| #define | EXT_OFFSET_ADJ_TIME 5 /* TSF翻转后调整提前量的次数 规避偶现的异常翻转导致增大提前量 */ |
| #define | EXT_OFFSET_ADJ_RATIO 200 /* 提前量调整比例 = TIME/RATIO 目前5/200=2.5% */ |
| #define | EXT_OFFSET_COMP_RESV 50 /* 外置提前量补偿裕量us */ |
| #define | PM_WLAN_TIMEOUT_INIT 0xFFFFFFUL /* WLAN超时配置 */ |
类型定义 | |
| typedef osal_void(* | hh503_vap_cb_set_twt) (const hal_to_dmac_vap_stru *hal_vap, const twt_reg_param_stru *twt_param, osal_u8 count, osal_u8 trigger) |
| typedef osal_void(* | hal_vap_cb_pm_vote_plat) (hal_pm_mode_enum_uint8 pm_mode, hal_pm_ctrl_stru *pm_ctl) |
函数 | |
| osal_void | hal_pm_disable_front_end_tx (hal_to_dmac_device_stru *hal_device) |
| osal_void | hal_pm_enable_front_end (hal_to_dmac_device_stru *hal_device, osal_u8 enable_paldo) |
| osal_void | hal_unmask_interrupt (osal_u32 offset) |
| hal_pm_ctrl_stru * | hal_get_pm_ctrl (osal_void) |
| #define CHECK_MAX_TIMES 5000 /* 最大5000次检查 */ |
| #define CHECK_PER_TIME 1000 /* 每次1000us时延 */ |
| #define EXT_OFFSET_ADJ_RATIO 200 /* 提前量调整比例 = TIME/RATIO 目前5/200=2.5% */ |
| #define EXT_OFFSET_ADJ_TIME 5 /* TSF翻转后调整提前量的次数 规避偶现的异常翻转导致增大提前量 */ |
| #define EXT_OFFSET_COMP_RESV 50 /* 外置提前量补偿裕量us */ |
| #define EXT_TSF_SLEEP_EN_OFFSET BIT0 /* 外置TSF使能位 */ |
| #define MIN_SLEEP_TIME 1000 /* tsf小于该值不睡眠 load时间(500us)+500us裕量 */ |
| #define PM_WLAN_TIMEOUT_INIT 0xFFFFFFUL /* WLAN超时配置 */ |
| #define SEC_TO_NSEC 1000000000 /* 1s为1 000 000 000ns */ |
| #define USEC_TO_NSEC 1000 /* 1000.0ns */ |
| #define VAP0_EXT_TSF_EN_OFFSET BIT1 /* 外置TSF vap0使能位BIT1 */ |
| #define VAP0_EXT_TSF_WORK_STATUS_OFFSET BIT0 /* VAP0 外置TSF工作状态 */ |
| typedef osal_void(* hal_vap_cb_pm_vote_plat) (hal_pm_mode_enum_uint8 pm_mode, hal_pm_ctrl_stru *pm_ctl) |
| typedef osal_void(* hh503_vap_cb_set_twt) (const hal_to_dmac_vap_stru *hal_vap, const twt_reg_param_stru *twt_param, osal_u8 count, osal_u8 trigger) |
| hal_pm_ctrl_stru * hal_get_pm_ctrl | ( | osal_void | ) |
| osal_void hal_pm_disable_front_end_tx | ( | hal_to_dmac_device_stru * | hal_device | ) |
| osal_void hal_pm_enable_front_end | ( | hal_to_dmac_device_stru * | hal_device, |
| osal_u8 | enable_paldo | ||
| ) |