Struct atsams70n19b::tc0::RegisterBlock
source · [−]#[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
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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