suspend_peripheral
Set how a peripheral responds to debugger CPU halt: suspend immediately, after current operation, or never.
Instructions
Configure suspend mode for a specific peripheral module.
Sets how a peripheral responds when the CPU is halted by the debugger.
Args: peripheral: Peripheral register name (e.g., "GPT120_OCS", "STM0_OCS") suspend_mode: "hard" — suspend immediately on CPU halt "soft" — suspend after current operation completes "none" — never suspend
Returns: Confirmation
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": {
"peripheral": "<peripheral>"
},
"name": "suspend_peripheral"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peripheral | Yes | ||
| suspend_mode | No | hard |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |