Sets the value of one or more nonvolatile integer registers nvr.
Syntax |
NVR idx[.bit] val1 [val2 ... valn {-M}] |
---|---|
idx |
Index of the first register to be set |
.bit |
It is possible to set a single bit. In this case it is sufficient that val is different from 0. (Optional) |
val1 |
Values to be assigned to the register |
val2 ... valn |
Additional values to be set. (optional) |
-M |
To be used to be able to set multiple registers. (optional) |
Notes |
To set the value of multiple elements, indicate the index of the first one followed by as many values as there are registers to be set |
Example
Line explanation: 1) I set bit 3 of register 1 2) I verify 3) I set the value of register 1 to 15 4) I verify 5) I set the values of registers 1, 2 and 3 to 15, 7, 45 respectively 6) I verify |