#[repr(C)]
pub struct RegisterBlock { pub tc_channel0: TC_CHANNEL, pub tc_channel1: TC_CHANNEL, pub tc_channel2: TC_CHANNEL, pub bcr: BCR, pub bmr: BMR, pub qier: QIER, pub qidr: QIDR, pub qimr: QIMR, pub qisr: QISR, pub fmr: FMR, pub wpmr: WPMR, /* private fields */ }
Expand description

Register block

Fields

tc_channel0: TC_CHANNEL

0x00..0x34 - Channel Control Register (channel = 0)

tc_channel1: TC_CHANNEL

0x40..0x74 - Channel Control Register (channel = 0)

tc_channel2: TC_CHANNEL

0x80..0xb4 - Channel Control Register (channel = 0)

bcr: BCR

0xc0 - Block Control Register

bmr: BMR

0xc4 - Block Mode Register

qier: QIER

0xc8 - QDEC Interrupt Enable Register

qidr: QIDR

0xcc - QDEC Interrupt Disable Register

qimr: QIMR

0xd0 - QDEC Interrupt Mask Register

qisr: QISR

0xd4 - QDEC Interrupt Status Register

fmr: FMR

0xd8 - Fault Mode Register

wpmr: WPMR

0xe4 - Write Protection Mode 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.