read_peripheral
Read memory-mapped peripheral registers by supplying a base address and optional register count. Inspect hardware peripherals like GPIO or USART directly.
Instructions
Read memory-mapped peripheral registers. base_address : peripheral base, e.g. '0x40020000' for GPIOA on STM32 count : number of 32-bit registers to read (default 16)
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": {
"base_address": "<base_address>"
},
"name": "read_peripheral"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| base_address | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |