read_periph
Reads SVD-decoded peripheral registers from a running Keil uVision debug session, such as TIM2 or USART1.SR, with a guarded force option for registers that have side effects.
Instructions
Thanh ghi ngoại vi giải mã theo SVD, vd ["TIM2", "USART1.SR"]. force=true (mức control + reason) mới đọc thanh ghi có tác dụng phụ.
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": {
"names": "<names>"
},
"name": "read_periph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| names | Yes | ||
| reason | No |