← Back
modgain
Set or read the DRV800 laser current modulation-gain channel mask.
Usage
>> modgain
0
>> modgain 3
3
>> modgain 2 1
3
>> modgain 2 0
1
Notes
With no argument, the command reads the current unsigned 8-bit mask. With one
argument, it sets the complete mask to a value from 0 through 255. With two
arguments, the first argument selects a channel from 1 through 8 and the
second argument enables (1) or disables (0) that channel’s bit. The response
is the resulting mask.
Writing the mask requires normal mode or higher.