当前仅显示指定条件回帖 [ 展开查看全部 ]
文件名称:
swtmr.md
所在目录:
Openharmony v1.0 / docs / docs-en / kernel
文件大小:
6.91 KB
下载地址:
文本预览:
# swtmr
## Command Function
This command is used to query information about system software timers.
## Syntax
swtmr \[_ID_\]
## Parameter Description
**Table 1** Parameters
## Usage
- If the parameter is not specified, information about all software timers is displayed.
- If the **ID** parameter is specified, information about the specified software timer is displayed.
## Example
Enter **swtmr** and **swtmr 1**.
## Output
**Figure 1** Querying information about all software timers

**Figure 2** Querying information about a specified software timer

**Table 2** Output description
> **NOTE:**
>- The **ID** value can be in decimal or hexadecimal format.
>- If the **ID** value is within the range of \[0, _Number of current software timers - 1_\], the status of the specified software timer is returned. For other values, an error message is displayed.
## Command Function
This command is used to query information about system software timers.
## Syntax
swtmr \[_ID_\]
## Parameter Description
**Table 1** Parameters
Indicates the ID of a software timer. |
## Usage
- If the parameter is not specified, information about all software timers is displayed.
- If the **ID** parameter is specified, information about the specified software timer is displayed.
## Example
Enter **swtmr** and **swtmr 1**.
## Output
**Figure 1** Querying information about all software timers

**Figure 2** Querying information about a specified software timer

**Table 2** Output description
> **NOTE:**
>- The **ID** value can be in decimal or hexadecimal format.
>- If the **ID** value is within the range of \[0, _Number of current software timers - 1_\], the status of the specified software timer is returned. For other values, an error message is displayed.
点赞
回复
X