* Returns the register config for the given index, with sensible defaults.
(index)
| 135 | * Returns the register config for the given index, with sensible defaults. |
| 136 | */ |
| 137 | function getRegisterConfig(index) { |
| 138 | return CONFIG.registers[index] || { name: "Register " + index, scale: 1, signed: false }; |
| 139 | } |
| 140 | |
| 141 | /** |
| 142 | * Applies scaling and sign conversion to a raw 16-bit register value. |
no outgoing calls
no test coverage detected