RegisterBlock

Struct RegisterBlock 

Source
#[repr(C)]
pub struct RegisterBlock {
Show 79 fields pub r0: R0, pub r1: R1, pub r2: R2, pub r3: R3, pub r4: R4, pub r5: R5, pub r6: R6, pub r7: R7, pub r8: R8, pub r9: R9, pub r10: R10, pub r11: R11, pub r12: R12, pub r13: R13, pub r14: R14, pub r15: R15, pub r16: R16, pub r17: R17, pub r18: R18, pub r19: R19, pub r20: R20, pub r21: R21, pub r22: R22, pub r23: R23, pub r24: R24, pub r25: R25, pub r26: R26, pub r27: R27, pub r28: R28, pub r29: R29, pub r30: R30, pub r31: R31, pub rlr0: RLR0, pub rlr1: RLR1, pub rlr2: RLR2, pub rlr3: RLR3, pub rlr4: RLR4, pub rlr5: RLR5, pub rlr6: RLR6, pub rlr7: RLR7, pub rlr8: RLR8, pub rlr9: RLR9, pub rlr10: RLR10, pub rlr11: RLR11, pub rlr12: RLR12, pub rlr13: RLR13, pub rlr14: RLR14, pub rlr15: RLR15, pub rlr16: RLR16, pub rlr17: RLR17, pub rlr18: RLR18, pub rlr19: RLR19, pub rlr20: RLR20, pub rlr21: RLR21, pub rlr22: RLR22, pub rlr23: RLR23, pub rlr24: RLR24, pub rlr25: RLR25, pub rlr26: RLR26, pub rlr27: RLR27, pub rlr28: RLR28, pub rlr29: RLR29, pub rlr30: RLR30, pub rlr31: RLR31, pub c1ier0: C1IER0, pub c1icr: C1ICR, pub c1isr: C1ISR, pub c1misr: C1MISR, pub c2ier0: C2IER0, pub c2icr: C2ICR, pub c2isr: C2ISR, pub c2misr: C2MISR, pub cr: CR, pub keyr: KEYR, pub hwcfgr2: HWCFGR2, pub hwcfgr1: HWCFGR1, pub verr: VERR, pub ipidr: IPIDR, pub sidr: SIDR, /* private fields */
}
Expand description

Register block

Fields§

§r0: R0

0x00 - Semaphore 0 register

§r1: R1

0x04 - Semaphore 1 register

§r2: R2

0x08 - Semaphore 2 register

§r3: R3

0x0c - Semaphore 3 register

§r4: R4

0x10 - Semaphore 4 register

§r5: R5

0x14 - Semaphore 5 register

§r6: R6

0x18 - Semaphore 6 register

§r7: R7

0x1c - Semaphore 7 register

§r8: R8

0x20 - Semaphore 8 register

§r9: R9

0x24 - Semaphore 9 register

§r10: R10

0x28 - Semaphore 10 register

§r11: R11

0x2c - Semaphore 11 register

§r12: R12

0x30 - Semaphore 12 register

§r13: R13

0x34 - Semaphore 13 register

§r14: R14

0x38 - Semaphore 14 register

§r15: R15

0x3c - Semaphore 15 register

§r16: R16

0x40 - Semaphore 16 register

§r17: R17

0x44 - Semaphore 17 register

§r18: R18

0x48 - Semaphore 18 register

§r19: R19

0x4c - Semaphore 19 register

§r20: R20

0x50 - Semaphore 20 register

§r21: R21

0x54 - Semaphore 21 register

§r22: R22

0x58 - Semaphore 22 register

§r23: R23

0x5c - Semaphore 23 register

§r24: R24

0x60 - Semaphore 24 register

§r25: R25

0x64 - Semaphore 25 register

§r26: R26

0x68 - Semaphore 26 register

§r27: R27

0x6c - Semaphore 27 register

§r28: R28

0x70 - Semaphore 28 register

§r29: R29

0x74 - Semaphore 29 register

§r30: R30

0x78 - Semaphore 30 register

§r31: R31

0x7c - Semaphore 31 register

§rlr0: RLR0

0x80 - Semaphore 0 read lock register

§rlr1: RLR1

0x84 - Semaphore 1 read lock register

§rlr2: RLR2

0x88 - Semaphore 2 read lock register

§rlr3: RLR3

0x8c - Semaphore 3 read lock register

§rlr4: RLR4

0x90 - Semaphore 4 read lock read lock register

§rlr5: RLR5

0x94 - Semaphore 5 read lock register

§rlr6: RLR6

0x98 - Semaphore 6 read lock register

§rlr7: RLR7

0x9c - Semaphore 7 read lock register

§rlr8: RLR8

0xa0 - Semaphore 8 read lock register

§rlr9: RLR9

0xa4 - Semaphore 9 read lock register

§rlr10: RLR10

0xa8 - Semaphore 10 read lock register

§rlr11: RLR11

0xac - Semaphore 11 read lock register

§rlr12: RLR12

0xb0 - Semaphore 12 read lock register

§rlr13: RLR13

0xb4 - Semaphore 13 read lock register

§rlr14: RLR14

0xb8 - Semaphore 14 read lock register

§rlr15: RLR15

0xbc - Semaphore 15 read lock register

§rlr16: RLR16

0xc0 - Semaphore 16 read lock register

§rlr17: RLR17

0xc4 - Semaphore 17 read lock register

§rlr18: RLR18

0xc8 - Semaphore 18 read lock register

§rlr19: RLR19

0xcc - Semaphore 19 read lock register

§rlr20: RLR20

0xd0 - Semaphore 20 read lock register

§rlr21: RLR21

0xd4 - Semaphore 21 read lock register

§rlr22: RLR22

0xd8 - Semaphore 22 read lock register

§rlr23: RLR23

0xdc - Semaphore 23 read lock register

§rlr24: RLR24

0xe0 - Semaphore 24 read lock register

§rlr25: RLR25

0xe4 - Semaphore 25 read lock register

§rlr26: RLR26

0xe8 - Semaphore 26 read lock register

§rlr27: RLR27

0xec - Semaphore 27 read lock register

§rlr28: RLR28

0xf0 - Semaphore 28 read lock register

§rlr29: RLR29

0xf4 - Semaphore 29 read lock register

§rlr30: RLR30

0xf8 - Semaphore 30 read lock register

§rlr31: RLR31

0xfc - Semaphore 31 read lock register

§c1ier0: C1IER0

0x100 - HSEM Interrupt enable register

§c1icr: C1ICR

0x104 - HSEM Interrupt clear register

§c1isr: C1ISR

0x108 - HSEM Interrupt status register

§c1misr: C1MISR

0x10c - HSEM Masked interrupt status register

§c2ier0: C2IER0

0x110 - HSEM Interrupt enable register

§c2icr: C2ICR

0x114 - HSEM Interrupt clear register

§c2isr: C2ISR

0x118 - HSEM Interrupt status register

§c2misr: C2MISR

0x11c - HSEM Masked interrupt status register

§cr: CR

0x140 - Semaphore Clear register

§keyr: KEYR

0x144 - Interrupt clear register

§hwcfgr2: HWCFGR2

0x3ec - Semaphore hardware configuration register 2

§hwcfgr1: HWCFGR1

0x3f0 - Semaphore hardware configuration register 1

§verr: VERR

0x3f4 - HSEM version register

§ipidr: IPIDR

0x3f8 - HSEM indentification register

§sidr: SIDR

0x3fc - HSEM size indentification 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.