Skip to content

Commit

Permalink
update:更新注释
Browse files Browse the repository at this point in the history
  • Loading branch information
allewalker committed May 8, 2024
1 parent 8604e99 commit 73c4d4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luat/modules/luat_lib_pm.c
Expand Up @@ -234,7 +234,7 @@ static int l_pm_dtimer_wakeup_id(lua_State *L) {
/**
开机原因,用于判断是从休眠模块开机,还是电源/复位开机
@api pm.lastReson()
@return int 0-上电/复位开机, 1-RTC开机, 2-WakeupIn/Pad/IO开机, 3-Wakeup/RTC开机
@return int 0-上电/复位开机, 1-RTC开机, 2-WakeupIn/Pad/IO开机, 3-未知原因(Wakeup/RTC皆有可能)开机,目前只有air101,air103会有这个返回值
@return int 0-普通开机(上电/复位),3-深睡眠开机,4-休眠开机
@return int 复位开机详细原因:0-powerkey或者上电开机 1-充电或者AT指令下载完成后开机 2-闹钟开机 3-软件重启 4-未知原因 5-RESET键 6-异常重启 7-工具控制重启 8-内部看门狗重启 9-外部重启 10-充电开机
@usage
Expand Down

0 comments on commit 73c4d4a

Please sign in to comment.