Skip to main content

RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock {
Show 35 fields pub pcr0: PCR0, pub pcr1: PCR1, pub pcr2: PCR2, pub pcr3: PCR3, pub pcr4: PCR4, pub pcr5: PCR5, pub pcr6: PCR6, pub pcr7: PCR7, pub pcr8: PCR8, pub pcr9: PCR9, pub pcr10: PCR10, pub pcr11: PCR11, pub pcr12: PCR12, pub pcr13: PCR13, pub pcr14: PCR14, pub pcr15: PCR15, pub pcr16: PCR16, pub pcr17: PCR17, pub pcr18: PCR18, pub pcr19: PCR19, pub pcr20: PCR20, pub pcr21: PCR21, pub pcr22: PCR22, pub pcr23: PCR23, pub pcr24: PCR24, pub pcr25: PCR25, pub pcr26: PCR26, pub pcr27: PCR27, pub pcr28: PCR28, pub pcr29: PCR29, pub pcr30: PCR30, pub pcr31: PCR31, pub gpclr: GPCLR, pub gpchr: GPCHR, pub isfr: ISFR, /* private fields */
}
Expand description

Register block

Fields§

§pcr0: PCR0

0x00 - Pin Control Register n

§pcr1: PCR1

0x04 - Pin Control Register n

§pcr2: PCR2

0x08 - Pin Control Register n

§pcr3: PCR3

0x0c - Pin Control Register n

§pcr4: PCR4

0x10 - Pin Control Register n

§pcr5: PCR5

0x14 - Pin Control Register n

§pcr6: PCR6

0x18 - Pin Control Register n

§pcr7: PCR7

0x1c - Pin Control Register n

§pcr8: PCR8

0x20 - Pin Control Register n

§pcr9: PCR9

0x24 - Pin Control Register n

§pcr10: PCR10

0x28 - Pin Control Register n

§pcr11: PCR11

0x2c - Pin Control Register n

§pcr12: PCR12

0x30 - Pin Control Register n

§pcr13: PCR13

0x34 - Pin Control Register n

§pcr14: PCR14

0x38 - Pin Control Register n

§pcr15: PCR15

0x3c - Pin Control Register n

§pcr16: PCR16

0x40 - Pin Control Register n

§pcr17: PCR17

0x44 - Pin Control Register n

§pcr18: PCR18

0x48 - Pin Control Register n

§pcr19: PCR19

0x4c - Pin Control Register n

§pcr20: PCR20

0x50 - Pin Control Register n

§pcr21: PCR21

0x54 - Pin Control Register n

§pcr22: PCR22

0x58 - Pin Control Register n

§pcr23: PCR23

0x5c - Pin Control Register n

§pcr24: PCR24

0x60 - Pin Control Register n

§pcr25: PCR25

0x64 - Pin Control Register n

§pcr26: PCR26

0x68 - Pin Control Register n

§pcr27: PCR27

0x6c - Pin Control Register n

§pcr28: PCR28

0x70 - Pin Control Register n

§pcr29: PCR29

0x74 - Pin Control Register n

§pcr30: PCR30

0x78 - Pin Control Register n

§pcr31: PCR31

0x7c - Pin Control Register n

§gpclr: GPCLR

0x80 - Global Pin Control Low Register

§gpchr: GPCHR

0x84 - Global Pin Control High Register

§isfr: ISFR

0xa0 - Interrupt Status Flag 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> Same for T

Source§

type Output = T

Should always be Self
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.