#[repr(C)]
pub struct RegisterBlock { pub tc_channel0: TC_CHANNEL, pub tc_channel1: TC_CHANNEL, pub tc_channel2: TC_CHANNEL, pub tc_bcr: Reg<TC_BCR_SPEC>, pub tc_bmr: Reg<TC_BMR_SPEC>, pub tc_qier: Reg<TC_QIER_SPEC>, pub tc_qidr: Reg<TC_QIDR_SPEC>, pub tc_qimr: Reg<TC_QIMR_SPEC>, pub tc_qisr: Reg<TC_QISR_SPEC>, pub tc_fmr: Reg<TC_FMR_SPEC>, pub tc_wpmr: Reg<TC_WPMR_SPEC>, /* 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)

tc_bcr: Reg<TC_BCR_SPEC>

0xc0 - Block Control Register

tc_bmr: Reg<TC_BMR_SPEC>

0xc4 - Block Mode Register

tc_qier: Reg<TC_QIER_SPEC>

0xc8 - QDEC Interrupt Enable Register

tc_qidr: Reg<TC_QIDR_SPEC>

0xcc - QDEC Interrupt Disable Register

tc_qimr: Reg<TC_QIMR_SPEC>

0xd0 - QDEC Interrupt Mask Register

tc_qisr: Reg<TC_QISR_SPEC>

0xd4 - QDEC Interrupt Status Register

tc_fmr: Reg<TC_FMR_SPEC>

0xd8 - Fault Mode Register

tc_wpmr: Reg<TC_WPMR_SPEC>

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.