read_register_with_fields
Read a register and parse its individual fields using SVD metadata and the actual hardware value.
Instructions
Read register and parse fields (combining SVD and actual read) / 读取寄存器并解析字段(结合 SVD 和实际读取).
Args: device_name: Device name / 设备名称 peripheral_name: Peripheral name / 外设名称 register_name: Register name / 寄存器名称
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>"
},
"name": "read_register_with_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_name | Yes | ||
| register_name | Yes | ||
| peripheral_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||