fix multi-register access, move channel count from a #define to a
class constant