#[repr(C)]
pub struct RegisterBlock { pub imr1: Reg<IMR1_SPEC>, pub emr1: Reg<EMR1_SPEC>, pub rtsr1: Reg<RTSR1_SPEC>, pub ftsr1: Reg<FTSR1_SPEC>, pub swier1: Reg<SWIER1_SPEC>, pub pr1: Reg<PR1_SPEC>, pub imr2: Reg<IMR2_SPEC>, pub emr2: Reg<EMR2_SPEC>, pub rtsr2: Reg<RTSR2_SPEC>, pub ftsr2: Reg<FTSR2_SPEC>, pub swier2: Reg<SWIER2_SPEC>, pub pr2: Reg<PR2_SPEC>, /* private fields */ }
Expand description

Register block

Fields

imr1: Reg<IMR1_SPEC>

0x00 - Interrupt mask register

emr1: Reg<EMR1_SPEC>

0x04 - Event mask register

rtsr1: Reg<RTSR1_SPEC>

0x08 - Rising Trigger selection register

ftsr1: Reg<FTSR1_SPEC>

0x0c - Falling Trigger selection register

swier1: Reg<SWIER1_SPEC>

0x10 - Software interrupt event register

pr1: Reg<PR1_SPEC>

0x14 - Pending register

imr2: Reg<IMR2_SPEC>

0x20 - Interrupt mask register

emr2: Reg<EMR2_SPEC>

0x24 - Event mask register

rtsr2: Reg<RTSR2_SPEC>

0x28 - Rising Trigger selection register

ftsr2: Reg<FTSR2_SPEC>

0x2c - Falling Trigger selection register

swier2: Reg<SWIER2_SPEC>

0x30 - Software interrupt event register

pr2: Reg<PR2_SPEC>

0x34 - Pending register

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.