pub struct Lvt(/* private fields */);
Expand description
Local vector table
Implementations§
source§impl Lvt
impl Lvt
sourcepub const fn with_vector(self, value: u8) -> Self
pub const fn with_vector(self, value: u8) -> Self
Bits: 0..8
sourcepub fn set_vector(&mut self, value: u8)
pub fn set_vector(&mut self, value: u8)
Bits: 0..8
sourcepub const fn delivery_mode(&self) -> u8
pub const fn delivery_mode(&self) -> u8
Bits: 8..11
sourcepub const fn with_delivery_mode(self, value: u8) -> Self
pub const fn with_delivery_mode(self, value: u8) -> Self
Bits: 8..11
sourcepub fn set_delivery_mode(&mut self, value: u8)
pub fn set_delivery_mode(&mut self, value: u8)
Bits: 8..11
sourcepub const fn delivery_status(&self) -> bool
pub const fn delivery_status(&self) -> bool
Bits: 12..13
sourcepub const fn with_delivery_status(self, value: bool) -> Self
pub const fn with_delivery_status(self, value: bool) -> Self
Bits: 12..13
sourcepub fn set_delivery_status(&mut self, value: bool)
pub fn set_delivery_status(&mut self, value: bool)
Bits: 12..13
sourcepub const fn input_pin_polarity(&self) -> bool
pub const fn input_pin_polarity(&self) -> bool
Bits: 13..14
sourcepub const fn with_input_pin_polarity(self, value: bool) -> Self
pub const fn with_input_pin_polarity(self, value: bool) -> Self
Bits: 13..14
sourcepub fn set_input_pin_polarity(&mut self, value: bool)
pub fn set_input_pin_polarity(&mut self, value: bool)
Bits: 13..14
sourcepub const fn remote_irr(&self) -> bool
pub const fn remote_irr(&self) -> bool
Bits: 14..15
sourcepub const fn with_remote_irr(self, value: bool) -> Self
pub const fn with_remote_irr(self, value: bool) -> Self
Bits: 14..15
sourcepub fn set_remote_irr(&mut self, value: bool)
pub fn set_remote_irr(&mut self, value: bool)
Bits: 14..15
sourcepub const fn trigger_mode_level(&self) -> bool
pub const fn trigger_mode_level(&self) -> bool
Bits: 15..16
sourcepub const fn with_trigger_mode_level(self, value: bool) -> Self
pub const fn with_trigger_mode_level(self, value: bool) -> Self
Bits: 15..16
sourcepub fn set_trigger_mode_level(&mut self, value: bool)
pub fn set_trigger_mode_level(&mut self, value: bool)
Bits: 15..16
sourcepub const fn with_masked(self, value: bool) -> Self
pub const fn with_masked(self, value: bool) -> Self
Bits: 16..17
sourcepub fn set_masked(&mut self, value: bool)
pub fn set_masked(&mut self, value: bool)
Bits: 16..17
sourcepub const fn timer_mode(&self) -> u8
pub const fn timer_mode(&self) -> u8
Bits: 17..19
sourcepub const fn with_timer_mode(self, value: u8) -> Self
pub const fn with_timer_mode(self, value: u8) -> Self
Bits: 17..19
sourcepub fn set_timer_mode(&mut self, value: u8)
pub fn set_timer_mode(&mut self, value: u8)
Bits: 17..19
Trait Implementations§
impl Copy for Lvt
Auto Trait Implementations§
impl Freeze for Lvt
impl RefUnwindSafe for Lvt
impl Send for Lvt
impl Sync for Lvt
impl Unpin for Lvt
impl UnwindSafe for Lvt
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)