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
1 changed files with 2 additions and 0 deletions

View File

@ -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 {