watchpin_configure
Configure a WatchPin to generate a pulse on target halt, run, or trace events for hardware synchronization.
Instructions
Configure a WatchPin to trigger on specific events.
Args: pin: WatchPin number (1, 2, 3, or 4 depending on hardware) trigger: Trigger condition: "break" — pulse when target halts "go" — pulse when target runs "trace_start" — pulse when trace recording starts "trace_stop" — pulse when trace recording stops polarity: Output polarity — "high" (active high) or "low" (active low)
Returns: Confirmation of WatchPin configuration
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": {
"pin": "<pin>"
},
"name": "watchpin_configure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pin | Yes | ||
| trigger | No | break | |
| polarity | No | high |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |