#[repr(C)]pub struct RegisterBlock { /* private fields */ }Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn ocr0b(&self) -> &Reg<OCR0B_SPEC>
pub const fn ocr0b(&self) -> &Reg<OCR0B_SPEC>
0x00 - Output Compare Register B
Sourcepub const fn ocr0a(&self) -> &Reg<OCR0A_SPEC>
pub const fn ocr0a(&self) -> &Reg<OCR0A_SPEC>
0x01 - Output Compare Register A
Sourcepub const fn tccr0a(&self) -> &Reg<TCCR0A_SPEC>
pub const fn tccr0a(&self) -> &Reg<TCCR0A_SPEC>
0x02 - Timer/Counter Control Register A
Sourcepub const fn gtccr(&self) -> &Reg<GTCCR_SPEC>
pub const fn gtccr(&self) -> &Reg<GTCCR_SPEC>
0x04 - General Timer/Counter Control Register
Sourcepub const fn tcnt0(&self) -> &Reg<TCNT0_SPEC>
pub const fn tcnt0(&self) -> &Reg<TCNT0_SPEC>
0x0a - Timer/Counter0
Sourcepub const fn tccr0b(&self) -> &Reg<TCCR0B_SPEC>
pub const fn tccr0b(&self) -> &Reg<TCCR0B_SPEC>
0x0b - Timer/Counter Control Register B
Sourcepub const fn timsk(&self) -> &Reg<TIMSK_SPEC>
pub const fn timsk(&self) -> &Reg<TIMSK_SPEC>
0x11 - Timer/Counter Interrupt Mask Register
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