RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock {
Show 27 fields pub odr: ODR, pub dir: DIR, pub intlvltrg: INTLVLTRG, pub intbe: INTBE, pub intriseen: INTRISEEN, pub inten: INTEN, pub intrawstat: INTRAWSTAT, pub intstat: INTSTAT, pub intclr: INTCLR, pub dmaen: DMAEN, pub idr: IDR, pub datapin0: DATAPIN0, pub datapin1: DATAPIN1, pub datapin2: DATAPIN2, pub datapin3: DATAPIN3, pub datapin4: DATAPIN4, pub datapin5: DATAPIN5, pub datapin6: DATAPIN6, pub datapin7: DATAPIN7, pub datapin8: DATAPIN8, pub datapin9: DATAPIN9, pub datapin10: DATAPIN10, pub datapin11: DATAPIN11, pub datapin12: DATAPIN12, pub datapin13: DATAPIN13, pub datapin14: DATAPIN14, pub datapin15: DATAPIN15, /* private fields */
}
Expand description

Register block

Fields§

§odr: ODR

0x00 - ODR register

§dir: DIR

0x04 - DIR register

§intlvltrg: INTLVLTRG

0x08 - INTLVLTRG register

§intbe: INTBE

0x0c - INTBE register

§intriseen: INTRISEEN

0x10 - INTRISEEN register

§inten: INTEN

0x14 - INTEN register

§intrawstat: INTRAWSTAT

0x18 - INTRAWSTAT register

§intstat: INTSTAT

0x1c - INTSTAT register

§intclr: INTCLR

0x20 - INTCLR register

§dmaen: DMAEN

0x24 - DMAEN register

§idr: IDR

0x30 - IDR register

§datapin0: DATAPIN0

0x40 - DATAPIN0 register

§datapin1: DATAPIN1

0x44 - DATAPIN1 register

§datapin2: DATAPIN2

0x48 - DATAPIN2 register

§datapin3: DATAPIN3

0x4c - DATAPIN3 register

§datapin4: DATAPIN4

0x50 - DATAPIN4 register

§datapin5: DATAPIN5

0x54 - DATAPIN5 register

§datapin6: DATAPIN6

0x58 - DATAPIN6 register

§datapin7: DATAPIN7

0x5c - DATAPIN7 register

§datapin8: DATAPIN8

0x60 - DATAPIN8 register

§datapin9: DATAPIN9

0x64 - DATAPIN9 register

§datapin10: DATAPIN10

0x68 - DATAPIN10 register

§datapin11: DATAPIN11

0x6c - DATAPIN11 register

§datapin12: DATAPIN12

0x70 - DATAPIN12 register

§datapin13: DATAPIN13

0x74 - DATAPIN13 register

§datapin14: DATAPIN14

0x78 - DATAPIN14 register

§datapin15: DATAPIN15

0x7c - DATAPIN15 register

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.