Struct avr_device::attiny85::tc0::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {
pub ocr0b: OCR0B,
pub ocr0a: OCR0A,
pub tccr0a: TCCR0A,
pub gtccr: GTCCR,
pub tcnt0: TCNT0,
pub tccr0b: TCCR0B,
pub tifr: TIFR,
pub timsk: TIMSK,
/* private fields */
}
Expand description
Register block
Fields§
§ocr0b: OCR0B
0x00 - Output Compare Register B
ocr0a: OCR0A
0x01 - Output Compare Register A
tccr0a: TCCR0A
0x02 - Timer/Counter Control Register A
gtccr: GTCCR
0x04 - General Timer/Counter Control Register
tcnt0: TCNT0
0x0a - Timer/Counter0
tccr0b: TCCR0B
0x0b - Timer/Counter Control Register B
tifr: TIFR
0x10 - Timer/Counter0 Interrupt Flag register
timsk: TIMSK
0x11 - Timer/Counter Interrupt Mask Register
Auto Trait Implementations§
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