Struct atsam4lc2c_pac::adcife::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 17 fields
pub cr: CR,
pub cfg: CFG,
pub sr: SR,
pub scr: SCR,
pub rts: RTS,
pub seqcfg: SEQCFG,
pub tim: TIM,
pub itimer: ITIMER,
pub wcfg: WCFG,
pub wth: WTH,
pub lcv: LCV,
pub ier: IER,
pub idr: IDR,
pub imr: IMR,
pub calib: CALIB,
pub version: VERSION,
pub parameter: PARAMETER,
/* private fields */
}
Expand description
Register block
Fields§
§cr: CR
0x00 - Control Register
cfg: CFG
0x04 - Configuration Register
sr: SR
0x08 - Status Register
scr: SCR
0x0c - Status Clear Register
rts: RTS
0x10 - Resistive Touch Screen Register
seqcfg: SEQCFG
0x14 - Sequencer Configuration Register
tim: TIM
0x1c - Timing Configuration Register
itimer: ITIMER
0x20 - Internal Timer Register
wcfg: WCFG
0x24 - Window Monitor Configuration Register
wth: WTH
0x28 - Window Monitor Threshold Configuration Register
lcv: LCV
0x2c - Sequencer Last Converted Value Register
ier: IER
0x30 - Interrupt Enable Register
idr: IDR
0x34 - Interrupt Disable Register
imr: IMR
0x38 - Interrupt Mask Register
calib: CALIB
0x3c - Calibration Register
version: VERSION
0x40 - Version Register
parameter: PARAMETER
0x44 - Parameter Register
Implementations§
source§impl RegisterBlock
impl RegisterBlock
sourcepub const fn second_dma_word_cdma_alt(&self) -> &SECOND_DMA_WORD_CDMA_ALT
pub const fn second_dma_word_cdma_alt(&self) -> &SECOND_DMA_WORD_CDMA_ALT
0x18 - Configuration Direct Memory Access Register
sourcepub const fn first_dma_word_cdma(&self) -> &FIRST_DMA_WORD_CDMA
pub const fn first_dma_word_cdma(&self) -> &FIRST_DMA_WORD_CDMA
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more