Struct avr_device::atmega328p::tc2::ocr2a::OCR2A_SPEC[][src]

pub struct OCR2A_SPEC;
Expand description

Timer/Counter2 Output Compare Register A

This register you can read, write_with_zero, reset, write, modify. See API.

For information about available fields see ocr2a module

Trait Implementations

read() method returns ocr2a::R reader structure

Result from a call to read and argument to modify.

Raw register type (u8, u16, u32, …).

reset() method sets OCR2A to value 0

Reset value of the register.

write(|w| ..) method takes ocr2a::W writer structure

Writer type argument to write, et al.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.