pub type R = R<CHANNEL_SPEC>;
Expand description
Register channel
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
Source§impl R
impl R
Sourcepub fn positive_signal(&self, n: u8) -> POSITIVE_SIGNAL_R
pub fn positive_signal(&self, n: u8) -> POSITIVE_SIGNAL_R
Enable or disable positive signal for channel
NOTE: n
is number of field in register. n == 0
corresponds to positive_signal0
field
Sourcepub fn positive_signal_iter(
&self,
) -> impl Iterator<Item = POSITIVE_SIGNAL_R> + '_
pub fn positive_signal_iter( &self, ) -> impl Iterator<Item = POSITIVE_SIGNAL_R> + '_
Iterator for array of: Enable or disable positive signal for channel
Sourcepub fn positive_signal0(&self) -> POSITIVE_SIGNAL_R
pub fn positive_signal0(&self) -> POSITIVE_SIGNAL_R
Bit 0 - Enable or disable positive signal for channel
Sourcepub fn positive_signal1(&self) -> POSITIVE_SIGNAL_R
pub fn positive_signal1(&self) -> POSITIVE_SIGNAL_R
Bit 4 - Enable or disable positive signal for channel
Sourcepub fn positive_signal2(&self) -> POSITIVE_SIGNAL_R
pub fn positive_signal2(&self) -> POSITIVE_SIGNAL_R
Bit 8 - Enable or disable positive signal for channel
Sourcepub fn positive_signal3(&self) -> POSITIVE_SIGNAL_R
pub fn positive_signal3(&self) -> POSITIVE_SIGNAL_R
Bit 12 - Enable or disable positive signal for channel
Sourcepub fn positive_idle(&self, n: u8) -> POSITIVE_IDLE_R
pub fn positive_idle(&self, n: u8) -> POSITIVE_IDLE_R
Idle state of positive signal
NOTE: n
is number of field in register. n == 0
corresponds to positive_idle0
field
Sourcepub fn positive_idle_iter(&self) -> impl Iterator<Item = POSITIVE_IDLE_R> + '_
pub fn positive_idle_iter(&self) -> impl Iterator<Item = POSITIVE_IDLE_R> + '_
Iterator for array of: Idle state of positive signal
Sourcepub fn positive_idle0(&self) -> POSITIVE_IDLE_R
pub fn positive_idle0(&self) -> POSITIVE_IDLE_R
Bit 1 - Idle state of positive signal
Sourcepub fn positive_idle1(&self) -> POSITIVE_IDLE_R
pub fn positive_idle1(&self) -> POSITIVE_IDLE_R
Bit 5 - Idle state of positive signal
Sourcepub fn positive_idle2(&self) -> POSITIVE_IDLE_R
pub fn positive_idle2(&self) -> POSITIVE_IDLE_R
Bit 9 - Idle state of positive signal
Sourcepub fn positive_idle3(&self) -> POSITIVE_IDLE_R
pub fn positive_idle3(&self) -> POSITIVE_IDLE_R
Bit 13 - Idle state of positive signal
Sourcepub fn negative_signal(&self, n: u8) -> NEGATIVE_SIGNAL_R
pub fn negative_signal(&self, n: u8) -> NEGATIVE_SIGNAL_R
Enable or disable negative signal for channel
NOTE: n
is number of field in register. n == 0
corresponds to negative_signal0
field
Sourcepub fn negative_signal_iter(
&self,
) -> impl Iterator<Item = NEGATIVE_SIGNAL_R> + '_
pub fn negative_signal_iter( &self, ) -> impl Iterator<Item = NEGATIVE_SIGNAL_R> + '_
Iterator for array of: Enable or disable negative signal for channel
Sourcepub fn negative_signal0(&self) -> NEGATIVE_SIGNAL_R
pub fn negative_signal0(&self) -> NEGATIVE_SIGNAL_R
Bit 2 - Enable or disable negative signal for channel
Sourcepub fn negative_signal1(&self) -> NEGATIVE_SIGNAL_R
pub fn negative_signal1(&self) -> NEGATIVE_SIGNAL_R
Bit 6 - Enable or disable negative signal for channel
Sourcepub fn negative_signal2(&self) -> NEGATIVE_SIGNAL_R
pub fn negative_signal2(&self) -> NEGATIVE_SIGNAL_R
Bit 10 - Enable or disable negative signal for channel
Sourcepub fn negative_signal3(&self) -> NEGATIVE_SIGNAL_R
pub fn negative_signal3(&self) -> NEGATIVE_SIGNAL_R
Bit 14 - Enable or disable negative signal for channel
Sourcepub fn negative_idle(&self, n: u8) -> NEGATIVE_IDLE_R
pub fn negative_idle(&self, n: u8) -> NEGATIVE_IDLE_R
Idle state of negative signal
NOTE: n
is number of field in register. n == 0
corresponds to negative_idle0
field
Sourcepub fn negative_idle_iter(&self) -> impl Iterator<Item = NEGATIVE_IDLE_R> + '_
pub fn negative_idle_iter(&self) -> impl Iterator<Item = NEGATIVE_IDLE_R> + '_
Iterator for array of: Idle state of negative signal
Sourcepub fn negative_idle0(&self) -> NEGATIVE_IDLE_R
pub fn negative_idle0(&self) -> NEGATIVE_IDLE_R
Bit 3 - Idle state of negative signal
Sourcepub fn negative_idle1(&self) -> NEGATIVE_IDLE_R
pub fn negative_idle1(&self) -> NEGATIVE_IDLE_R
Bit 7 - Idle state of negative signal
Sourcepub fn negative_idle2(&self) -> NEGATIVE_IDLE_R
pub fn negative_idle2(&self) -> NEGATIVE_IDLE_R
Bit 11 - Idle state of negative signal
Sourcepub fn negative_idle3(&self) -> NEGATIVE_IDLE_R
pub fn negative_idle3(&self) -> NEGATIVE_IDLE_R
Bit 15 - Idle state of negative signal
Sourcepub fn positive_polarity(&self, n: u8) -> POSITIVE_POLARITY_R
pub fn positive_polarity(&self, n: u8) -> POSITIVE_POLARITY_R
Polarity of positive signal
NOTE: n
is number of field in register. n == 0
corresponds to positive_polarity0
field
Sourcepub fn positive_polarity_iter(
&self,
) -> impl Iterator<Item = POSITIVE_POLARITY_R> + '_
pub fn positive_polarity_iter( &self, ) -> impl Iterator<Item = POSITIVE_POLARITY_R> + '_
Iterator for array of: Polarity of positive signal
Sourcepub fn positive_polarity0(&self) -> POSITIVE_POLARITY_R
pub fn positive_polarity0(&self) -> POSITIVE_POLARITY_R
Bit 16 - Polarity of positive signal
Sourcepub fn positive_polarity1(&self) -> POSITIVE_POLARITY_R
pub fn positive_polarity1(&self) -> POSITIVE_POLARITY_R
Bit 18 - Polarity of positive signal
Sourcepub fn positive_polarity2(&self) -> POSITIVE_POLARITY_R
pub fn positive_polarity2(&self) -> POSITIVE_POLARITY_R
Bit 20 - Polarity of positive signal
Sourcepub fn positive_polarity3(&self) -> POSITIVE_POLARITY_R
pub fn positive_polarity3(&self) -> POSITIVE_POLARITY_R
Bit 22 - Polarity of positive signal
Sourcepub fn negative_polarity(&self, n: u8) -> NEGATIVE_POLARITY_R
pub fn negative_polarity(&self, n: u8) -> NEGATIVE_POLARITY_R
Polarity of negative signal
NOTE: n
is number of field in register. n == 0
corresponds to negative_polarity0
field
Sourcepub fn negative_polarity_iter(
&self,
) -> impl Iterator<Item = NEGATIVE_POLARITY_R> + '_
pub fn negative_polarity_iter( &self, ) -> impl Iterator<Item = NEGATIVE_POLARITY_R> + '_
Iterator for array of: Polarity of negative signal
Sourcepub fn negative_polarity0(&self) -> NEGATIVE_POLARITY_R
pub fn negative_polarity0(&self) -> NEGATIVE_POLARITY_R
Bit 17 - Polarity of negative signal
Sourcepub fn negative_polarity1(&self) -> NEGATIVE_POLARITY_R
pub fn negative_polarity1(&self) -> NEGATIVE_POLARITY_R
Bit 19 - Polarity of negative signal
Sourcepub fn negative_polarity2(&self) -> NEGATIVE_POLARITY_R
pub fn negative_polarity2(&self) -> NEGATIVE_POLARITY_R
Bit 21 - Polarity of negative signal
Sourcepub fn negative_polarity3(&self) -> NEGATIVE_POLARITY_R
pub fn negative_polarity3(&self) -> NEGATIVE_POLARITY_R
Bit 23 - Polarity of negative signal
Sourcepub fn positive_break(&self, n: u8) -> POSITIVE_BREAK_R
pub fn positive_break(&self, n: u8) -> POSITIVE_BREAK_R
Break state on positive signal of this channel
NOTE: n
is number of field in register. n == 0
corresponds to positive_break0
field
Sourcepub fn positive_break_iter(&self) -> impl Iterator<Item = POSITIVE_BREAK_R> + '_
pub fn positive_break_iter(&self) -> impl Iterator<Item = POSITIVE_BREAK_R> + '_
Iterator for array of: Break state on positive signal of this channel
Sourcepub fn positive_break0(&self) -> POSITIVE_BREAK_R
pub fn positive_break0(&self) -> POSITIVE_BREAK_R
Bit 24 - Break state on positive signal of this channel
Sourcepub fn positive_break1(&self) -> POSITIVE_BREAK_R
pub fn positive_break1(&self) -> POSITIVE_BREAK_R
Bit 26 - Break state on positive signal of this channel
Sourcepub fn positive_break2(&self) -> POSITIVE_BREAK_R
pub fn positive_break2(&self) -> POSITIVE_BREAK_R
Bit 28 - Break state on positive signal of this channel
Sourcepub fn positive_break3(&self) -> POSITIVE_BREAK_R
pub fn positive_break3(&self) -> POSITIVE_BREAK_R
Bit 30 - Break state on positive signal of this channel
Sourcepub fn negative_break(&self, n: u8) -> NEGATIVE_BREAK_R
pub fn negative_break(&self, n: u8) -> NEGATIVE_BREAK_R
Break state on negative signal of this channel
NOTE: n
is number of field in register. n == 0
corresponds to negative_break0
field
Sourcepub fn negative_break_iter(&self) -> impl Iterator<Item = NEGATIVE_BREAK_R> + '_
pub fn negative_break_iter(&self) -> impl Iterator<Item = NEGATIVE_BREAK_R> + '_
Iterator for array of: Break state on negative signal of this channel
Sourcepub fn negative_break0(&self) -> NEGATIVE_BREAK_R
pub fn negative_break0(&self) -> NEGATIVE_BREAK_R
Bit 25 - Break state on negative signal of this channel
Sourcepub fn negative_break1(&self) -> NEGATIVE_BREAK_R
pub fn negative_break1(&self) -> NEGATIVE_BREAK_R
Bit 27 - Break state on negative signal of this channel
Sourcepub fn negative_break2(&self) -> NEGATIVE_BREAK_R
pub fn negative_break2(&self) -> NEGATIVE_BREAK_R
Bit 29 - Break state on negative signal of this channel
Sourcepub fn negative_break3(&self) -> NEGATIVE_BREAK_R
pub fn negative_break3(&self) -> NEGATIVE_BREAK_R
Bit 31 - Break state on negative signal of this channel