RegisterBlock

Struct RegisterBlock 

#[repr(C)]
pub struct RegisterBlock {
Show 42 fields pcr0: Pcr0, pcr1: Pcr1, pcr2: Pcr2, pcr3: Pcr3, pcr4: Pcr4, pcr5: Pcr5, pcr6: Pcr6, pcr7: Pcr7, pcr8: Pcr8, pcr9: Pcr9, pcr10: Pcr10, pcr11: Pcr11, pcr12: Pcr12, pcr13: Pcr13, pcr14: Pcr14, pcr15: Pcr15, pcr16: Pcr16, pcr17: Pcr17, pcr18: Pcr18, pcr19: Pcr19, pcr20: Pcr20, pcr21: Pcr21, pcr22: Pcr22, pcr23: Pcr23, pcr24: Pcr24, pcr25: Pcr25, pcr26: Pcr26, pcr27: Pcr27, pcr28: Pcr28, pcr29: Pcr29, pcr30: Pcr30, pcr31: Pcr31, gpclr: Gpclr, gpchr: Gpchr, giclr: Giclr, gichr: Gichr, _reserved36: [u8; 16], isfr: Isfr, _reserved37: [u8; 28], dfer: Dfer, dfcr: Dfcr, dfwr: Dfwr,
}
Expand description

Register block

Fields§

§pcr0: Pcr0§pcr1: Pcr1§pcr2: Pcr2§pcr3: Pcr3§pcr4: Pcr4§pcr5: Pcr5§pcr6: Pcr6§pcr7: Pcr7§pcr8: Pcr8§pcr9: Pcr9§pcr10: Pcr10§pcr11: Pcr11§pcr12: Pcr12§pcr13: Pcr13§pcr14: Pcr14§pcr15: Pcr15§pcr16: Pcr16§pcr17: Pcr17§pcr18: Pcr18§pcr19: Pcr19§pcr20: Pcr20§pcr21: Pcr21§pcr22: Pcr22§pcr23: Pcr23§pcr24: Pcr24§pcr25: Pcr25§pcr26: Pcr26§pcr27: Pcr27§pcr28: Pcr28§pcr29: Pcr29§pcr30: Pcr30§pcr31: Pcr31§gpclr: Gpclr§gpchr: Gpchr§giclr: Giclr§gichr: Gichr§_reserved36: [u8; 16]§isfr: Isfr§_reserved37: [u8; 28]§dfer: Dfer§dfcr: Dfcr§dfwr: Dfwr

Implementations§

§

impl RegisterBlock

pub const fn pcr0(&self) -> &Pcr0

0x00 - Pin Control Register n

pub const fn pcr1(&self) -> &Pcr1

0x04 - Pin Control Register n

pub const fn pcr2(&self) -> &Pcr2

0x08 - Pin Control Register n

pub const fn pcr3(&self) -> &Pcr3

0x0c - Pin Control Register n

pub const fn pcr4(&self) -> &Pcr4

0x10 - Pin Control Register n

pub const fn pcr5(&self) -> &Pcr5

0x14 - Pin Control Register n

pub const fn pcr6(&self) -> &Pcr6

0x18 - Pin Control Register n

pub const fn pcr7(&self) -> &Pcr7

0x1c - Pin Control Register n

pub const fn pcr8(&self) -> &Pcr8

0x20 - Pin Control Register n

pub const fn pcr9(&self) -> &Pcr9

0x24 - Pin Control Register n

pub const fn pcr10(&self) -> &Pcr10

0x28 - Pin Control Register n

pub const fn pcr11(&self) -> &Pcr11

0x2c - Pin Control Register n

pub const fn pcr12(&self) -> &Pcr12

0x30 - Pin Control Register n

pub const fn pcr13(&self) -> &Pcr13

0x34 - Pin Control Register n

pub const fn pcr14(&self) -> &Pcr14

0x38 - Pin Control Register n

pub const fn pcr15(&self) -> &Pcr15

0x3c - Pin Control Register n

pub const fn pcr16(&self) -> &Pcr16

0x40 - Pin Control Register n

pub const fn pcr17(&self) -> &Pcr17

0x44 - Pin Control Register n

pub const fn pcr18(&self) -> &Pcr18

0x48 - Pin Control Register n

pub const fn pcr19(&self) -> &Pcr19

0x4c - Pin Control Register n

pub const fn pcr20(&self) -> &Pcr20

0x50 - Pin Control Register n

pub const fn pcr21(&self) -> &Pcr21

0x54 - Pin Control Register n

pub const fn pcr22(&self) -> &Pcr22

0x58 - Pin Control Register n

pub const fn pcr23(&self) -> &Pcr23

0x5c - Pin Control Register n

pub const fn pcr24(&self) -> &Pcr24

0x60 - Pin Control Register n

pub const fn pcr25(&self) -> &Pcr25

0x64 - Pin Control Register n

pub const fn pcr26(&self) -> &Pcr26

0x68 - Pin Control Register n

pub const fn pcr27(&self) -> &Pcr27

0x6c - Pin Control Register n

pub const fn pcr28(&self) -> &Pcr28

0x70 - Pin Control Register n

pub const fn pcr29(&self) -> &Pcr29

0x74 - Pin Control Register n

pub const fn pcr30(&self) -> &Pcr30

0x78 - Pin Control Register n

pub const fn pcr31(&self) -> &Pcr31

0x7c - Pin Control Register n

pub const fn gpclr(&self) -> &Gpclr

0x80 - Global Pin Control Low Register

pub const fn gpchr(&self) -> &Gpchr

0x84 - Global Pin Control High Register

pub const fn giclr(&self) -> &Giclr

0x88 - Global Interrupt Control Low Register

pub const fn gichr(&self) -> &Gichr

0x8c - Global Interrupt Control High Register

pub const fn isfr(&self) -> &Isfr

0xa0 - Interrupt Status Flag Register

pub const fn dfer(&self) -> &Dfer

0xc0 - Digital Filter Enable Register

pub const fn dfcr(&self) -> &Dfcr

0xc4 - Digital Filter Clock Register

pub const fn dfwr(&self) -> &Dfwr

0xc8 - Digital Filter Width 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.