Struct esp32c3::ledc::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock { /* private fields */ }
Expand description
Register block
Implementations§
source§impl RegisterBlock
impl RegisterBlock
sourcepub const fn ch(&self, n: usize) -> &CH
pub const fn ch(&self, n: usize) -> &CH
0x00..0x78 - Cluster CH%s, containing CH?_CONF0, CH?_HPOINT, CH?_DUTY, CH?_CONF1, CH?_DUTY_R
sourcepub fn ch_iter(&self) -> impl Iterator<Item = &CH>
pub fn ch_iter(&self) -> impl Iterator<Item = &CH>
Iterator for array of: 0x00..0x78 - Cluster CH%s, containing CH?_CONF0, CH?_HPOINT, CH?_DUTY, CH?_CONF1, CH?_DUTY_R
sourcepub const fn timer(&self, n: usize) -> &TIMER
pub const fn timer(&self, n: usize) -> &TIMER
0xa0..0xc0 - Cluster TIMER%s, containing TIMER?_CONF, TIMER?_VALUE
sourcepub fn timer_iter(&self) -> impl Iterator<Item = &TIMER>
pub fn timer_iter(&self) -> impl Iterator<Item = &TIMER>
Iterator for array of: 0xa0..0xc0 - Cluster TIMER%s, containing TIMER?_CONF, TIMER?_VALUE
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