Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
REG_BURST
REG_BURST
REG_BURST = [<page>,] <address>, <value> [,<value> …] //<comment>

Write a sequence of sensor register values in one bus transaction. Normally the device will auto-increment the address so the values go to sequential addresses. The page parameter must be present if the device uses 8-bit addressing with pages, and must not be present otherwise.

USB has a limit of 64 bytes per command, so that is the limit. DevWare allows the REG_BURST command to be any length, but if it is longer than 64 bytes (including the address at the beginning) then it will be split into several commands.


Example: Set registers 0xC8 through 0xCB on page 1
REG_BURST= 1, 0xC8, 0x03A1, 0x4444, 0xC902, 0x3E56

...