#[repr(C)]
pub struct CHANNEL { pub chctrla: Reg<CHCTRLA_SPEC>, pub chctrlb: Reg<CHCTRLB_SPEC>, pub chprilvl: Reg<CHPRILVL_SPEC>, pub chevctrl: Reg<CHEVCTRL_SPEC>, pub chintenclr: Reg<CHINTENCLR_SPEC>, pub chintenset: Reg<CHINTENSET_SPEC>, pub chintflag: Reg<CHINTFLAG_SPEC>, pub chstatus: Reg<CHSTATUS_SPEC>, /* private fields */ }
Expand description

Register block

Fields

chctrla: Reg<CHCTRLA_SPEC>

0x00 - Channel n Control A

chctrlb: Reg<CHCTRLB_SPEC>

0x04 - Channel n Control B

chprilvl: Reg<CHPRILVL_SPEC>

0x05 - Channel n Priority Level

chevctrl: Reg<CHEVCTRL_SPEC>

0x06 - Channel n Event Control

chintenclr: Reg<CHINTENCLR_SPEC>

0x0c - Channel n Interrupt Enable Clear

chintenset: Reg<CHINTENSET_SPEC>

0x0d - Channel n Interrupt Enable Set

chintflag: Reg<CHINTFLAG_SPEC>

0x0e - Channel n Interrupt Flag Status and Clear

chstatus: Reg<CHSTATUS_SPEC>

0x0f - Channel n Status

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.