你(们)好
我尝试使用以下实现在 CC3235S 上实现 LPDS
power_enablePolicy();
UART2_rxDisable (g_uart1_handle);
uint32_t Timeout = HIBINTERVAL * 1000;
struct timespec abstime;
Clock_gettime (clock_realtime、abstime);
if (abstime.tV_nsec < 0)
{
abstime.tv_sec =超时;
返回(SEM_timedwait (&APP_CB.WobtnSlepSem、abstime));
}
/*添加等待时间*/
abstime.tv_sec +=超时/1000;
abstime.tV_nsec +=(超时% 1000)* 1000000;
abstime.tv_sec +=(abstime.tv_nsec / 1000000000);
abstime.tV_nsec = abstime.tV_nsec % 1000000000;
SEM_timedwait (&APP_CB.WobtnSlepSem、abstime);
UART2_rxEnable (g_uart1_handle);
和 syscfg 文件

但是、在 HIBINTERVAL 秒后器 件不会在计时器上唤醒、而是仅在发布信号量 APP_CB.WoBtnSlepSem 时器件才会永久休眠。 当将 syscfg 更改为器件下方的配置后、器件开始在 HIBINTERVAL 秒后通过计时器唤醒时、syscfg 文件中的区别在于 启用/禁用启用 GPIO 唤醒 LPDS。

这是预期行为吗? 或者、我的实施中 是否有错误的地方?
此致 Tomas