pub struct Lvt(/* private fields */);
Expand description
Local vector table
Implementations§
Source§impl Lvt
impl Lvt
Sourcepub const fn with_vector_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_vector_checked(self, value: u8) -> Result<Self, ()>
Bits: 0..8
Sourcepub const fn with_vector(self, value: u8) -> Self
pub const fn with_vector(self, value: u8) -> Self
Bits: 0..8
Sourcepub const fn set_vector(&mut self, value: u8)
pub const 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_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_delivery_mode_checked(self, value: u8) -> Result<Self, ()>
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 const fn set_delivery_mode(&mut self, value: u8)
pub const 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_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_delivery_status_checked(self, value: bool) -> Result<Self, ()>
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 const fn set_delivery_status(&mut self, value: bool)
pub const fn set_delivery_status(&mut self, value: bool)
Bits: 12..13
Sourcepub const fn set_delivery_status_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_delivery_status_checked( &mut self, value: bool, ) -> Result<(), ()>
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_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_input_pin_polarity_checked( self, value: bool, ) -> Result<Self, ()>
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 const fn set_input_pin_polarity(&mut self, value: bool)
pub const fn set_input_pin_polarity(&mut self, value: bool)
Bits: 13..14
Sourcepub const fn set_input_pin_polarity_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_input_pin_polarity_checked( &mut self, value: bool, ) -> Result<(), ()>
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_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_remote_irr_checked(self, value: bool) -> Result<Self, ()>
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 const fn set_remote_irr(&mut self, value: bool)
pub const 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_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_trigger_mode_level_checked( self, value: bool, ) -> Result<Self, ()>
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 const fn set_trigger_mode_level(&mut self, value: bool)
pub const fn set_trigger_mode_level(&mut self, value: bool)
Bits: 15..16
Sourcepub const fn set_trigger_mode_level_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_trigger_mode_level_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 15..16
Sourcepub const fn with_masked_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_masked_checked(self, value: bool) -> Result<Self, ()>
Bits: 16..17
Sourcepub const fn with_masked(self, value: bool) -> Self
pub const fn with_masked(self, value: bool) -> Self
Bits: 16..17
Sourcepub const fn set_masked(&mut self, value: bool)
pub const 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_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_timer_mode_checked(self, value: u8) -> Result<Self, ()>
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 const fn set_timer_mode(&mut self, value: u8)
pub const 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