nvic_write
Configure NVIC interrupts in STM32CubeMX projects via mxmcp: enable/disable IRQs, set priorities, subpriorities, priority groups, preemption sources, and handler-generated flags.
Instructions
Change NVIC: enable/disable an interrupt, set priority/subpriority/group/preempt source/handler-generated flag, or the priority group.
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": {
"project_id": "<project_id>",
"action": "<action>"
},
"name": "nvic_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| irq | No | IRQ name | |
| save | No | Save afterwards | |
| value | No | Value for the set_* operations | |
| action | Yes | Operation | |
| project_id | Yes | Project id |