diff --git "a/docs/API_reference/zh/QuecPython\346\240\207\345\207\206\345\272\223/uos.md" "b/docs/API_reference/zh/QuecPython\346\240\207\345\207\206\345\272\223/uos.md" index a1768a3479a7d1f88d9e22b08234888854804bb9..cb30bb18f1fcff67222fd96075ea235fa298f725 100644 --- "a/docs/API_reference/zh/QuecPython\346\240\207\345\207\206\345\272\223/uos.md" +++ "b/docs/API_reference/zh/QuecPython\346\240\207\345\207\206\345\272\223/uos.md" @@ -444,8 +444,7 @@ uos.set_callback(fun) **参数描述** -* `fun`,function类型,插拔卡回调 `[ind_type]` -* `ind_type`: 事件类型,0:拔卡 1:插卡 +* `fun`,插拔卡的回调函数,function类型,原型为fun(args),参数`args`为int类型,0表示拔卡,1表示插卡 **返回值描述** diff --git "a/docs/API_reference/zh/QuecPython\347\261\273\345\272\223/misc.PowerKey.md" "b/docs/API_reference/zh/QuecPython\347\261\273\345\272\223/misc.PowerKey.md" index f213ed6561e5a3e2511e033bc6d88bb2b98d8b5d..2529c9a92278a7a9979650e74a4b212f56c0c566 100644 --- "a/docs/API_reference/zh/QuecPython\347\261\273\345\272\223/misc.PowerKey.md" +++ "b/docs/API_reference/zh/QuecPython\347\261\273\345\272\223/misc.PowerKey.md" @@ -33,7 +33,7 @@ PowerKey.powerKeyEventRegister(usrFun) **参数描述:** -- `usrfun`-回调函数,原型usrfun(status),参数status:`0`表示松开,`1`表示按下;按下或松开powerkey按键时触发回调。 +- `usrfun`-回调函数,原型usrfun(status),参数status,int类型:`0`表示松开,`1`表示按下;按下或松开powerkey按键时触发回调。 **返回值描述:** diff --git "a/docs/API_reference/zh/QuecPython\347\261\273\345\272\223/osTimer.md" "b/docs/API_reference/zh/QuecPython\347\261\273\345\272\223/osTimer.md" index 76a1bf71e9248ad51ff3b90de78f150d106be529..95e18de62f57db1a71a73a0c938dcad3821193f2 100644 --- "a/docs/API_reference/zh/QuecPython\347\261\273\345\272\223/osTimer.md" +++ "b/docs/API_reference/zh/QuecPython\347\261\273\345\272\223/osTimer.md" @@ -42,7 +42,7 @@ osTimer.start(initialTime, cyclialEn, callback) * `initialTime`,定时器超时的时间(单位ms),int类型 * `cyclialEn`,是否循环,0为单次,1为循环,int类型 -* `callback`,定时器超时触发的回调,函数 +* `callback`,定时器超时触发的回调,function类型,原型为callback(arg),`arg`未实际使用,可直接传入`None` **返回值描述**