CM_RST_CH0
val = CM_RST_CH0 << rec->ch;
int reset = CM_RST_CH0 << (cm->channel[ch].ch);
reset = CM_RST_CH0 << rec->ch;