parse_register_value
Decode a supplied register value into field-level details for a specified device, peripheral, and register without accessing hardware.
Instructions
Parse register value (parse only, no hardware read) / 解析寄存器值(仅解析,不读取硬件).
Args: device_name: Device name / 设备名称 peripheral_name: Peripheral name / 外设名称 register_name: Register name / 寄存器名称 value: Register value / 寄存器值
Returns: Register value and field parsing result / 寄存器值和字段解析结果
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"device_name": "<device_name>",
"peripheral_name": "<peripheral_name>",
"register_name": "<register_name>",
"value": "<value>"
},
"name": "parse_register_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| device_name | Yes | ||
| register_name | Yes | ||
| peripheral_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||