stm32-metapac

Crates

git

Versions

stm32wb09ke

Flavors

IoIer

Struct IoIer 

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

IO_IER register.

Tuple Fields§

§0: u32

Implementations§

§

impl IoIer

pub const fn pa0_ie(&self) -> bool

PA0_IE: Interrupt enable for port A I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

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

PA0_IE: Interrupt enable for port A I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

pub const fn pa1_ie(&self) -> bool

PA1_IE: Interrupt enable for port A I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

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

PA1_IE: Interrupt enable for port A I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

pub const fn pa2_ie(&self) -> bool

PA2_IE: Interrupt enable for port A I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

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

PA2_IE: Interrupt enable for port A I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

pub const fn pa3_ie(&self) -> bool

PA3_IE: Interrupt enable for port A I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

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

PA3_IE: Interrupt enable for port A I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

pub const fn pa4_ie(&self) -> bool

PA4_IE: Interrupt enable for port A I/Os.

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

PA4_IE: Interrupt enable for port A I/Os.

pub const fn pa5_ie(&self) -> bool

PA5_IE: Interrupt enable for port A I/Os.

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

PA5_IE: Interrupt enable for port A I/Os.

pub const fn pa6_ie(&self) -> bool

PA6_IE: Interrupt enable for port A I/Os.

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

PA6_IE: Interrupt enable for port A I/Os.

pub const fn pa7_ie(&self) -> bool

PA7_IE: Interrupt enable for port A I/Os.

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

PA7_IE: Interrupt enable for port A I/Os.

pub const fn pa8_ie(&self) -> bool

PA8_IE: Interrupt enable for port A I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

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

PA8_IE: Interrupt enable for port A I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

pub const fn pa9_ie(&self) -> bool

PA9_IE: Interrupt enable for port A I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

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

PA9_IE: Interrupt enable for port A I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

pub const fn pa10_ie(&self) -> bool

PA10_IE: Interrupt enable for port A I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

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

PA10_IE: Interrupt enable for port A I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

pub const fn pa11_ie(&self) -> bool

PA11_IE: Interrupt enable for port A I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

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

PA11_IE: Interrupt enable for port A I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

pub const fn pa12_ie(&self) -> bool

PA12_IE: Interrupt enable for port A I/Os.

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

PA12_IE: Interrupt enable for port A I/Os.

pub const fn pa13_ie(&self) -> bool

PA13_IE: Interrupt enable for port A I/Os.

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

PA13_IE: Interrupt enable for port A I/Os.

pub const fn pa14_ie(&self) -> bool

PA14_IE: Interrupt enable for port A I/Os.

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

PA14_IE: Interrupt enable for port A I/Os.

pub const fn pa15_ie(&self) -> bool

PA15_IE: Interrupt enable for port A I/Os.

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

PA15_IE: Interrupt enable for port A I/Os.

pub const fn pb0_ie(&self) -> bool

PB0_IE: Interrupt enable for port B I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

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

PB0_IE: Interrupt enable for port B I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

pub const fn pb1_ie(&self) -> bool

PB1_IE: Interrupt enable for port B I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

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

PB1_IE: Interrupt enable for port B I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

pub const fn pb2_ie(&self) -> bool

PB2_IE: Interrupt enable for port B I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

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

PB2_IE: Interrupt enable for port B I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

pub const fn pb3_ie(&self) -> bool

PB3_IE: Interrupt enable for port B I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

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

PB3_IE: Interrupt enable for port B I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

pub const fn pb4_ie(&self) -> bool

PB4_IE: Interrupt enable for port B I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

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

PB4_IE: Interrupt enable for port B I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

pub const fn pb5_ie(&self) -> bool

PB5_IE: Interrupt enable for port B I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

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

PB5_IE: Interrupt enable for port B I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

pub const fn pb6_ie(&self) -> bool

PB6_IE: Interrupt enable for port B I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

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

PB6_IE: Interrupt enable for port B I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

pub const fn pb7_ie(&self) -> bool

PB7_IE: Interrupt enable for port B I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

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

PB7_IE: Interrupt enable for port B I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

pub const fn pb8_ie(&self) -> bool

PB8_IE: Interrupt enable for port B I/Os.

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

PB8_IE: Interrupt enable for port B I/Os.

pub const fn pb9_ie(&self) -> bool

PB9_IE: Interrupt enable for port B I/Os.

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

PB9_IE: Interrupt enable for port B I/Os.

pub const fn pb10_ie(&self) -> bool

PB10_IE: Interrupt enable for port B I/Os.

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

PB10_IE: Interrupt enable for port B I/Os.

pub const fn pb11_ie(&self) -> bool

PB11_IE: Interrupt enable for port B I/Os.

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

PB11_IE: Interrupt enable for port B I/Os.

pub const fn pb12_ie(&self) -> bool

PB12_IE: Interrupt enable for port B I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

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

PB12_IE: Interrupt enable for port B I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

pub const fn pb13_ie(&self) -> bool

PB13_IE: Interrupt enable for port B I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

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

PB13_IE: Interrupt enable for port B I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

pub const fn pb14_ie(&self) -> bool

PB14_IE: Interrupt enable for port B I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

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

PB14_IE: Interrupt enable for port B I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

pub const fn pb15_ie(&self) -> bool

PB15_IE: Interrupt enable for port B I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

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

PB15_IE: Interrupt enable for port B I/Os. 0: interrupt is disabled. 1: interrupt is enabled.

Trait Implementations§

§

impl Clone for IoIer

§

fn clone(&self) -> IoIer

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 IoIer

§

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

Formats the value using the given formatter. Read more
§

impl Default for IoIer

§

fn default() -> IoIer

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

impl PartialEq for IoIer

§

fn eq(&self, other: &IoIer) -> 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 IoIer

§

impl Eq for IoIer

§

impl StructuralPartialEq for IoIer

Auto Trait Implementations§

§

impl Freeze for IoIer

§

impl RefUnwindSafe for IoIer

§

impl Send for IoIer

§

impl Sync for IoIer

§

impl Unpin for IoIer

§

impl UnwindSafe for IoIer

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.