[−][src]Struct rp2040::adc::RegisterBlock
Register block
Fields
cs: CS
0x00 - ADC Control and Status
result: RESULT
0x04 - Result of most recent ADC conversion
fcs: FCS
0x08 - FIFO control and status
fifo: FIFO
0x0c - Conversion result FIFO
div: DIV
0x10 - Clock divider. If non-zero, CS_START_MANY will start conversions\n at regular intervals rather than back-to-back.\n The divider is reset when either of these fields are written.\n Total period is 1 + INT + FRAC / 256
intr: INTR
0x14 - Raw Interrupts
inte: INTE
0x18 - Interrupt Enable
intf: INTF
0x1c - Interrupt Force
ints: INTS
0x20 - Interrupt status after masking & forcing
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,