stm32-metapac

Crates

git

Versions

stm32wb09ke

Flavors

IoDtr

Struct IoDtr 

#[repr(transparent)]
pub struct IoDtr(pub u32);
Expand description

IO_DTR register.

Tuple Fields§

§0: u32

Implementations§

§

impl IoDtr

pub const fn pa0_dt(&self) -> bool

PA0_DT: Interrupt Detection Type for port A I/Os. 0: edge detection. 1: level detection.

pub fn set_pa0_dt(&mut self, val: bool)

PA0_DT: Interrupt Detection Type for port A I/Os. 0: edge detection. 1: level detection.

pub const fn pa1_dt(&self) -> bool

PA1_DT: Interrupt Detection Type for port A I/Os. 0: edge detection. 1: level detection.

pub fn set_pa1_dt(&mut self, val: bool)

PA1_DT: Interrupt Detection Type for port A I/Os. 0: edge detection. 1: level detection.

pub const fn pa2_dt(&self) -> bool

PA2_DT: Interrupt Detection Type for port A I/Os. 0: edge detection. 1: level detection.

pub fn set_pa2_dt(&mut self, val: bool)

PA2_DT: Interrupt Detection Type for port A I/Os. 0: edge detection. 1: level detection.

pub const fn pa3_dt(&self) -> bool

PA3_DT: Interrupt Detection Type for port A I/Os. 0: edge detection. 1: level detection.

pub fn set_pa3_dt(&mut self, val: bool)

PA3_DT: Interrupt Detection Type for port A I/Os. 0: edge detection. 1: level detection.

pub const fn pa4_dt(&self) -> bool

PA4_DT:Interrupt Detection Type for port A I/Os.

pub fn set_pa4_dt(&mut self, val: bool)

PA4_DT:Interrupt Detection Type for port A I/Os.

pub const fn pa5_dt(&self) -> bool

PA5_DT:Interrupt Detection Type for port A I/Os.

pub fn set_pa5_dt(&mut self, val: bool)

PA5_DT:Interrupt Detection Type for port A I/Os.

pub const fn pa6_dt(&self) -> bool

PA6_DT:Interrupt Detection Type for port A I/Os.

pub fn set_pa6_dt(&mut self, val: bool)

PA6_DT:Interrupt Detection Type for port A I/Os.

pub const fn pa7_dt(&self) -> bool

PA7_DT:Interrupt Detection Type for port A I/Os.

pub fn set_pa7_dt(&mut self, val: bool)

PA7_DT:Interrupt Detection Type for port A I/Os.

pub const fn pa8_dt(&self) -> bool

PA8_DT: Interrupt Detection Type for port A I/Os. 0: edge detection. 1: level detection.

pub fn set_pa8_dt(&mut self, val: bool)

PA8_DT: Interrupt Detection Type for port A I/Os. 0: edge detection. 1: level detection.

pub const fn pa9_dt(&self) -> bool

PA9_DT: Interrupt Detection Type for port A I/Os. 0: edge detection. 1: level detection.

pub fn set_pa9_dt(&mut self, val: bool)

PA9_DT: Interrupt Detection Type for port A I/Os. 0: edge detection. 1: level detection.

pub const fn pa10_dt(&self) -> bool

PA10_DT: Interrupt Detection Type for port A I/Os. 0: edge detection. 1: level detection.

pub fn set_pa10_dt(&mut self, val: bool)

PA10_DT: Interrupt Detection Type for port A I/Os. 0: edge detection. 1: level detection.

pub const fn pa11_dt(&self) -> bool

PA11_DT: Interrupt Detection Type for port A I/Os. 0: edge detection. 1: level detection.

pub fn set_pa11_dt(&mut self, val: bool)

PA11_DT: Interrupt Detection Type for port A I/Os. 0: edge detection. 1: level detection.

pub const fn pb0_dt(&self) -> bool

PB0_DT: Interrupt Detection Type for port B I/Os. 0: edge detection. 1: level detection.

pub fn set_pb0_dt(&mut self, val: bool)

PB0_DT: Interrupt Detection Type for port B I/Os. 0: edge detection. 1: level detection.

pub const fn pb1_dt(&self) -> bool

PB1_DT: Interrupt Detection Type for port B I/Os. 0: edge detection. 1: level detection.

pub fn set_pb1_dt(&mut self, val: bool)

PB1_DT: Interrupt Detection Type for port B I/Os. 0: edge detection. 1: level detection.

pub const fn pb2_dt(&self) -> bool

PB2_DT: Interrupt Detection Type for port B I/Os. 0: edge detection. 1: level detection.

pub fn set_pb2_dt(&mut self, val: bool)

PB2_DT: Interrupt Detection Type for port B I/Os. 0: edge detection. 1: level detection.

pub const fn pb3_dt(&self) -> bool

PB3_DT: Interrupt Detection Type for port B I/Os. 0: edge detection. 1: level detection.

pub fn set_pb3_dt(&mut self, val: bool)

PB3_DT: Interrupt Detection Type for port B I/Os. 0: edge detection. 1: level detection.

pub const fn pb4_dt(&self) -> bool

PB4_DT: Interrupt Detection Type for port B I/Os. 0: edge detection. 1: level detection.

pub fn set_pb4_dt(&mut self, val: bool)

PB4_DT: Interrupt Detection Type for port B I/Os. 0: edge detection. 1: level detection.

pub const fn pb5_dt(&self) -> bool

PB5_DT: Interrupt Detection Type for port B I/Os. 0: edge detection. 1: level detection.

pub fn set_pb5_dt(&mut self, val: bool)

PB5_DT: Interrupt Detection Type for port B I/Os. 0: edge detection. 1: level detection.

pub const fn pb6_dt(&self) -> bool

PB6_DT: Interrupt Detection Type for port B I/Os. 0: edge detection. 1: level detection.

pub fn set_pb6_dt(&mut self, val: bool)

PB6_DT: Interrupt Detection Type for port B I/Os. 0: edge detection. 1: level detection.

pub const fn pb7_dt(&self) -> bool

PB7_DT: Interrupt Detection Type for port B I/Os. 0: edge detection. 1: level detection.

pub fn set_pb7_dt(&mut self, val: bool)

PB7_DT: Interrupt Detection Type for port B I/Os. 0: edge detection. 1: level detection.

pub const fn pb8_dt(&self) -> bool

PB8_DT:Interrupt Detection Type for port B I/Os.

pub fn set_pb8_dt(&mut self, val: bool)

PB8_DT:Interrupt Detection Type for port B I/Os.

pub const fn pb9_dt(&self) -> bool

PB9_DT:Interrupt Detection Type for port B I/Os.

pub fn set_pb9_dt(&mut self, val: bool)

PB9_DT:Interrupt Detection Type for port B I/Os.

pub const fn pb10_dt(&self) -> bool

PB10_DT:Interrupt Detection Type for port B I/Os.

pub fn set_pb10_dt(&mut self, val: bool)

PB10_DT:Interrupt Detection Type for port B I/Os.

pub const fn pb11_dt(&self) -> bool

PB11_DT:Interrupt Detection Type for port B I/Os.

pub fn set_pb11_dt(&mut self, val: bool)

PB11_DT:Interrupt Detection Type for port B I/Os.

pub const fn pb12_dt(&self) -> bool

PB12_DT: Interrupt Detection Type for port B I/Os. 0: edge detection. 1: level detection.

pub fn set_pb12_dt(&mut self, val: bool)

PB12_DT: Interrupt Detection Type for port B I/Os. 0: edge detection. 1: level detection.

pub const fn pb13_dt(&self) -> bool

PB13_DT: Interrupt Detection Type for port B I/Os. 0: edge detection. 1: level detection.

pub fn set_pb13_dt(&mut self, val: bool)

PB13_DT: Interrupt Detection Type for port B I/Os. 0: edge detection. 1: level detection.

pub const fn pb14_dt(&self) -> bool

PB14_DT: Interrupt Detection Type for port B I/Os. 0: edge detection. 1: level detection.

pub fn set_pb14_dt(&mut self, val: bool)

PB14_DT: Interrupt Detection Type for port B I/Os. 0: edge detection. 1: level detection.

pub const fn pb15_dt(&self) -> bool

PB15_DT: Interrupt Detection Type for port B I/Os. 0: edge detection. 1: level detection.

pub fn set_pb15_dt(&mut self, val: bool)

PB15_DT: Interrupt Detection Type for port B I/Os. 0: edge detection. 1: level detection.

Trait Implementations§

§

impl Clone for IoDtr

§

fn clone(&self) -> IoDtr

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for IoDtr

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl Default for IoDtr

§

fn default() -> IoDtr

Returns the “default value” for a type. Read more
§

impl PartialEq for IoDtr

§

fn eq(&self, other: &IoDtr) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for IoDtr

§

impl Eq for IoDtr

§

impl StructuralPartialEq for IoDtr

Auto Trait Implementations§

§

impl Freeze for IoDtr

§

impl RefUnwindSafe for IoDtr

§

impl Send for IoDtr

§

impl Sync for IoDtr

§

impl Unpin for IoDtr

§

impl UnwindSafe for IoDtr

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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.