#[repr(transparent)]pub struct AhbPeriph2SlaveRule0(pub u32);Expand description
Security access rules for AHB peripheral slaves area 0x40140000–0x4014BFFF
Tuple Fields§
§0: u32Implementations§
Source§impl AhbPeriph2SlaveRule0
impl AhbPeriph2SlaveRule0
Sourcepub const fn usb_hs_ram_rule(&self) -> u8
pub const fn usb_hs_ram_rule(&self) -> u8
0x40140000–0x40143FFF
Sourcepub const fn set_usb_hs_ram_rule(&mut self, val: u8)
pub const fn set_usb_hs_ram_rule(&mut self, val: u8)
0x40140000–0x40143FFF
Sourcepub const fn usb_hs_dev_rule(&self) -> u8
pub const fn usb_hs_dev_rule(&self) -> u8
0x40144000–0x40144FFF
Sourcepub const fn set_usb_hs_dev_rule(&mut self, val: u8)
pub const fn set_usb_hs_dev_rule(&mut self, val: u8)
0x40144000–0x40144FFF
Sourcepub const fn usb_hs_host_rule(&self) -> u8
pub const fn usb_hs_host_rule(&self) -> u8
0x40145000–0x40145FFF
Sourcepub const fn set_usb_hs_host_rule(&mut self, val: u8)
pub const fn set_usb_hs_host_rule(&mut self, val: u8)
0x40145000–0x40145FFF
Sourcepub const fn set_sct_rule(&mut self, val: u8)
pub const fn set_sct_rule(&mut self, val: u8)
0x40146000–0x40146FFF
Trait Implementations§
Source§impl Clone for AhbPeriph2SlaveRule0
impl Clone for AhbPeriph2SlaveRule0
Source§fn clone(&self) -> AhbPeriph2SlaveRule0
fn clone(&self) -> AhbPeriph2SlaveRule0
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AhbPeriph2SlaveRule0
impl Debug for AhbPeriph2SlaveRule0
Source§impl Default for AhbPeriph2SlaveRule0
impl Default for AhbPeriph2SlaveRule0
Source§fn default() -> AhbPeriph2SlaveRule0
fn default() -> AhbPeriph2SlaveRule0
Returns the “default value” for a type. Read more
Source§impl PartialEq for AhbPeriph2SlaveRule0
impl PartialEq for AhbPeriph2SlaveRule0
impl Copy for AhbPeriph2SlaveRule0
impl Eq for AhbPeriph2SlaveRule0
impl StructuralPartialEq for AhbPeriph2SlaveRule0
Auto Trait Implementations§
impl Freeze for AhbPeriph2SlaveRule0
impl RefUnwindSafe for AhbPeriph2SlaveRule0
impl Send for AhbPeriph2SlaveRule0
impl Sync for AhbPeriph2SlaveRule0
impl Unpin for AhbPeriph2SlaveRule0
impl UnwindSafe for AhbPeriph2SlaveRule0
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more