pounder: add comment on channel enum

This commit is contained in:
Robert Jördens 2021-05-31 18:25:34 +02:00
parent 5ee7ef388e
commit da7fc08c15

View File

@ -44,6 +44,8 @@ pub enum Error {
Adc,
}
/// The numerical value (discriminant) of the Channel enum is the index in the attenuator shift
/// register as well as the attenuator latch enable signal index on the GPIO extender.
#[derive(Debug, Copy, Clone)]
#[allow(dead_code)]
pub enum Channel {