pub type R = R<CRHrs>;
Expand description
Register CRH
reader
Aliased Type§
pub struct R { /* private fields */ }
Implementations§
Source§impl R
impl R
Sourcepub fn mode(&self, n: u8) -> MODE_R
pub fn mode(&self, n: u8) -> MODE_R
Port n.(8-15) mode bits
`n` is number of field in register. `n == 0` corresponds to `MODE8` field.
Sourcepub fn mode_iter(&self) -> impl Iterator<Item = MODE_R> + '_
pub fn mode_iter(&self) -> impl Iterator<Item = MODE_R> + '_
Iterator for array of: Port n.(8-15) mode bits
Sourcepub fn cnf(&self, n: u8) -> CNF_R
pub fn cnf(&self, n: u8) -> CNF_R
Port n.(8-15) configuration bits
`n` is number of field in register. `n == 0` corresponds to `CNF8` field.