#[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
impl !RefUnwindSafe for CHANNEL
impl Send for CHANNEL
impl !Sync for CHANNEL
impl Unpin for CHANNEL
impl UnwindSafe for CHANNEL
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more