pub fn channel_register(channel: u8) -> u8Expand description
Returns the address of a channel’s first register (its on-count low byte).
Each channel occupies four consecutive registers (on low, on high, off low, off
high), starting at 0x06 for channel 0, so channel n begins at 0x06 + 4 * n.
§Arguments
channel- the channel number,0..=15.
§Returns
The address of LEDn_ON_L. Channels past 15 are clamped to 15.