Struct atsam4ls4a_pac::adcife::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {Show 17 fields
pub cr: Reg<CR_SPEC>,
pub cfg: Reg<CFG_SPEC>,
pub sr: Reg<SR_SPEC>,
pub scr: Reg<SCR_SPEC>,
pub rts: Reg<RTS_SPEC>,
pub seqcfg: Reg<SEQCFG_SPEC>,
pub tim: Reg<TIM_SPEC>,
pub itimer: Reg<ITIMER_SPEC>,
pub wcfg: Reg<WCFG_SPEC>,
pub wth: Reg<WTH_SPEC>,
pub lcv: Reg<LCV_SPEC>,
pub ier: Reg<IER_SPEC>,
pub idr: Reg<IDR_SPEC>,
pub imr: Reg<IMR_SPEC>,
pub calib: Reg<CALIB_SPEC>,
pub version: Reg<VERSION_SPEC>,
pub parameter: Reg<PARAMETER_SPEC>,
/* private fields */
}
Expand description
Register block
Fields
cr: Reg<CR_SPEC>
0x00 - Control Register
cfg: Reg<CFG_SPEC>
0x04 - Configuration Register
sr: Reg<SR_SPEC>
0x08 - Status Register
scr: Reg<SCR_SPEC>
0x0c - Status Clear Register
rts: Reg<RTS_SPEC>
0x10 - Resistive Touch Screen Register
seqcfg: Reg<SEQCFG_SPEC>
0x14 - Sequencer Configuration Register
tim: Reg<TIM_SPEC>
0x1c - Timing Configuration Register
itimer: Reg<ITIMER_SPEC>
0x20 - Internal Timer Register
wcfg: Reg<WCFG_SPEC>
0x24 - Window Monitor Configuration Register
wth: Reg<WTH_SPEC>
0x28 - Window Monitor Threshold Configuration Register
lcv: Reg<LCV_SPEC>
0x2c - Sequencer Last Converted Value Register
ier: Reg<IER_SPEC>
0x30 - Interrupt Enable Register
idr: Reg<IDR_SPEC>
0x34 - Interrupt Disable Register
imr: Reg<IMR_SPEC>
0x38 - Interrupt Mask Register
calib: Reg<CALIB_SPEC>
0x3c - Calibration Register
version: Reg<VERSION_SPEC>
0x40 - Version Register
parameter: Reg<PARAMETER_SPEC>
0x44 - Parameter Register
Implementations
sourceimpl RegisterBlock
impl RegisterBlock
sourcepub fn second_dma_word_cdma_alt(&self) -> &Reg<SECOND_DMA_WORD_CDMA_ALT_SPEC>
pub fn second_dma_word_cdma_alt(&self) -> &Reg<SECOND_DMA_WORD_CDMA_ALT_SPEC>
0x18 - Configuration Direct Memory Access Register
sourcepub fn first_dma_word_cdma(&self) -> &Reg<FIRST_DMA_WORD_CDMA_SPEC>
pub fn first_dma_word_cdma(&self) -> &Reg<FIRST_DMA_WORD_CDMA_SPEC>
0x18 - Configuration Direct Memory Access 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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