Skip to main content

RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock {
Show 45 fields pub pio0_0: PIO0_0, pub pio0_1: PIO0_1, pub pio0_2: PIO0_2, pub pio0_3: PIO0_3, pub pio0_4: PIO0_4, pub pio0_5: PIO0_5, pub pio0_6: PIO0_6, pub pio0_7: PIO0_7, pub pio0_8: PIO0_8, pub pio0_9: PIO0_9, pub pio0_10: PIO0_10, pub pio0_11: PIO0_11, pub pio0_12: PIO0_12, pub pio0_13: PIO0_13, pub pio0_14: PIO0_14, pub pio0_15: PIO0_15, pub pio0_16: PIO0_16, pub pio0_18: PIO0_18, pub pio0_19: PIO0_19, pub pio0_20: PIO0_20, pub pio0_21: PIO0_21, pub pio0_22: PIO0_22, pub pio0_23: PIO0_23, pub pio0_24: PIO0_24, pub pio0_25: PIO0_25, pub pio0_26: PIO0_26, pub pio0_27: PIO0_27, pub pio0_28: PIO0_28, pub pio0_29: PIO0_29, pub pio0_30: PIO0_30, pub pio0_31: PIO0_31, pub pio1_0: PIO1_0, pub pio1_1: PIO1_1, pub pio1_2: PIO1_2, pub pio1_3: PIO1_3, pub pio1_4: PIO1_4, pub pio1_5: PIO1_5, pub pio1_9: PIO1_9, pub pio1_10: PIO1_10, pub pio1_11: PIO1_11, pub pio1_21: PIO1_21, pub pio1_22: PIO1_22, pub pio1_23: PIO1_23, pub pio1_25: PIO1_25, pub pio1_29: PIO1_29, /* private fields */
}
Expand description

Register block

Fields§

§pio0_0: PIO0_0

0x00 - Digital I/O control for port 0 pins PIO0_0.

§pio0_1: PIO0_1

0x04 - Digital I/O control for port 0 pins PIO0_1.

§pio0_2: PIO0_2

0x08 - Digital I/O control for port 0 pins PIO0_2.

§pio0_3: PIO0_3

0x0c - Digital I/O control for port 0 pins PIO0_3.

§pio0_4: PIO0_4

0x10 - Digital I/O control for port 0 pins PIO0_4.

§pio0_5: PIO0_5

0x14 - Digital I/O control for port 0 pins PIO0_5.

§pio0_6: PIO0_6

0x18 - Digital I/O control for port 0 pins PIO0_6.

§pio0_7: PIO0_7

0x1c - Digital I/O control for port 0 pins PIO0_7.

§pio0_8: PIO0_8

0x20 - Digital I/O control for port 0 pins PIO0_8.

§pio0_9: PIO0_9

0x24 - Digital I/O control for port 0 pins PIO0_9.

§pio0_10: PIO0_10

0x28 - Digital I/O control for port 0 pins PIO0_10.

§pio0_11: PIO0_11

0x2c - Digital I/O control for port 0 pins PIO0_11.

§pio0_12: PIO0_12

0x30 - Digital I/O control for port 0 pins PIO0_12.

§pio0_13: PIO0_13

0x34 - Digital I/O control for port 0 pins PIO0_13.

§pio0_14: PIO0_14

0x38 - Digital I/O control for port 0 pins PIO0_14.

§pio0_15: PIO0_15

0x3c - Digital I/O control for port 0 pins PIO0_15.

§pio0_16: PIO0_16

0x40 - Digital I/O control for port 0 pins PIO0_16.

§pio0_18: PIO0_18

0x48 - Digital I/O control for port 0 pins PIO0_18.

§pio0_19: PIO0_19

0x4c - Digital I/O control for port 0 pins PIO0_19.

§pio0_20: PIO0_20

0x50 - Digital I/O control for port 0 pins PIO0_20.

§pio0_21: PIO0_21

0x54 - Digital I/O control for port 0 pins PIO0_21.

§pio0_22: PIO0_22

0x58 - Digital I/O control for port 0 pins PIO0_22.

§pio0_23: PIO0_23

0x5c - Digital I/O control for port 0 pins PIO0_23.

§pio0_24: PIO0_24

0x60 - Digital I/O control for port 0 pins PIO0_24.

§pio0_25: PIO0_25

0x64 - Digital I/O control for port 0 pins PIO0_25.

§pio0_26: PIO0_26

0x68 - Digital I/O control for port 0 pins PIO0_26.

§pio0_27: PIO0_27

0x6c - Digital I/O control for port 0 pins PIO0_27.

§pio0_28: PIO0_28

0x70 - Digital I/O control for port 0 pins PIO0_28.

§pio0_29: PIO0_29

0x74 - Digital I/O control for port 0 pins PIO0_29.

§pio0_30: PIO0_30

0x78 - Digital I/O control for port 0 pins PIO0_30.

§pio0_31: PIO0_31

0x7c - Digital I/O control for port 0 pins PIO0_31.

§pio1_0: PIO1_0

0x80 - Digital I/O control for port 1 pins PIO1_0.

§pio1_1: PIO1_1

0x84 - Digital I/O control for port 1 pins PIO1_1.

§pio1_2: PIO1_2

0x88 - Digital I/O control for port 1 pins PIO1_2.

§pio1_3: PIO1_3

0x8c - Digital I/O control for port 1 pins PIO1_3.

§pio1_4: PIO1_4

0x90 - Digital I/O control for port 1 pins PIO1_4.

§pio1_5: PIO1_5

0x94 - Digital I/O control for port 1 pins PIO1_5.

§pio1_9: PIO1_9

0xa4 - Digital I/O control for port 1 pins PIO1_9.

§pio1_10: PIO1_10

0xa8 - Digital I/O control for port 1 pins PIO1_10.

§pio1_11: PIO1_11

0xac - Digital I/O control for port 1 pins PIO1_11.

§pio1_21: PIO1_21

0xd4 - Digital I/O control for port 1 pins PIO1_21.

§pio1_22: PIO1_22

0xd8 - Digital I/O control for port 1 pins PIO1_22.

§pio1_23: PIO1_23

0xdc - Digital I/O control for port 1 pins PIO1_23.

§pio1_25: PIO1_25

0xe4 - Digital I/O control for port 1 pins PIO1_25.

§pio1_29: PIO1_29

0xf4 - Digital I/O control for port 1 pins PIO1_29.

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.