p The board provides a register address space of 126 registers which control the various behaviors of the motors attached to the board. Each SCMD board can handle two motors, and up to 16 SCMD boards may be chained together allowing for 34 motors to be controlled from a single master instance. The secondary boards are accessed by set of view port registers from the main board. The .Xr scmd 4 driver and its associated frontends flatten the main SCMD board and all chained boards into a linear register space that can be opened, seeked, read from and written to like any other file or device without having to worry about the view port.
p A command line utility .Xr scmdctl 1 is provided that allows convenient command line commands for most of the functions provided by the SCMD board. .Sh SYSCTL VARIABLES The following .Xr sysctl 3 variables are provided: l -tag -width indent t Li hw.scmd0.debug If the driver is compiled with .Dv SCMD_DEBUG , this node will appear and can be used to set the debugging level. .El .Sh FILES l -tag -width /dev/rcaXXXXX -compact t Pa /dev/scmd Ns Ar u character device allowing access to the register space of a main .Ar u , SCMD device .Sh SEE ALSO .Xr iic 4 , .Xr spi 4 , .Xr scmdi2c 4 , .Xr scmdspi 4 , .Xr scmdctl 1 , .Xr sysctl 8 .Sh HISTORY The .Nm driver first appeared in .Nx 10.0 . .Sh AUTHORS .An -nosplit The .Nm driver was written by .An Brad Spencer Aq Mt brad (at] anduin.eldar.org .