Struct esp32::pcnt::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock { /* private fields */ }
Expand description
Register block
Implementations§
source§impl RegisterBlock
impl RegisterBlock
sourcepub const fn unit(&self, n: usize) -> &UNIT
pub const fn unit(&self, n: usize) -> &UNIT
0x00..0x60 - Cluster UNIT%s, containing U?_CONF0, U?_CONF1, U?_CONF2
sourcepub fn unit_iter(&self) -> impl Iterator<Item = &UNIT>
pub fn unit_iter(&self) -> impl Iterator<Item = &UNIT>
Iterator for array of: 0x00..0x60 - Cluster UNIT%s, containing U?_CONF0, U?_CONF1, U?_CONF2
sourcepub fn u_cnt_iter(&self) -> impl Iterator<Item = &U_CNT>
pub fn u_cnt_iter(&self) -> impl Iterator<Item = &U_CNT>
Iterator for array of: 0x60..0x80 -
sourcepub fn u_status_iter(&self) -> impl Iterator<Item = &U_STATUS>
pub fn u_status_iter(&self) -> impl Iterator<Item = &U_STATUS>
Iterator for array of: 0x90..0xb0 -
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more