Struct avr_device::atmega2560::tc0::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {
pub tifr0: TIFR0,
pub gtccr: GTCCR,
pub tccr0a: TCCR0A,
pub tccr0b: TCCR0B,
pub tcnt0: TCNT0,
pub ocr0a: OCR0A,
pub ocr0b: OCR0B,
pub timsk0: TIMSK0,
/* private fields */
}Expand description
Register block
Fields§
§tifr0: TIFR00x00 - Timer/Counter0 Interrupt Flag register
gtccr: GTCCR0x0e - General Timer/Counter Control Register
tccr0a: TCCR0A0x0f - Timer/Counter Control Register A
tccr0b: TCCR0B0x10 - Timer/Counter Control Register B
tcnt0: TCNT00x11 - Timer/Counter0
ocr0a: OCR0A0x12 - Timer/Counter0 Output Compare Register
ocr0b: OCR0B0x13 - Timer/Counter0 Output Compare Register
timsk0: TIMSK00x39 - Timer/Counter0 Interrupt Mask Register