#[repr(C)]
pub struct RegisterBlock { pub sr: Reg<SR_SPEC>, pub icfr: Reg<ICFR_SPEC>, pub or: Reg<OR_SPEC>, pub cfgr1: Reg<CFGR1_SPEC>, pub cfgr2: Reg<CFGR2_SPEC>, }
Expand description

Register block

Fields

sr: Reg<SR_SPEC>

0x00 - Comparator status register

icfr: Reg<ICFR_SPEC>

0x04 - Comparator interrupt clear flag register

or: Reg<OR_SPEC>

0x08 - Comparator option register

cfgr1: Reg<CFGR1_SPEC>

0x0c - Comparator configuration register 1

cfgr2: Reg<CFGR2_SPEC>

0x10 - Comparator configuration register 2

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.