pounder: add comment on channel enum
This commit is contained in:
parent
5ee7ef388e
commit
da7fc08c15
|
@ -44,6 +44,8 @@ pub enum Error {
|
||||||
Adc,
|
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)]
|
#[derive(Debug, Copy, Clone)]
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
pub enum Channel {
|
pub enum Channel {
|
||||||
|
|
Loading…
Reference in New Issue