stm32-metapac

Crates

git

Versions

stm32wb06cc

Flavors

IoIscr

Struct IoIscr 

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

IO_ISCR register.

Tuple Fields§

§0: u32

Implementations§

§

impl IoIscr

pub const fn pa0_isc(&self) -> bool

PA0_ISC: Interrupt status (before mask) for port a I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

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

PA0_ISC: Interrupt status (before mask) for port a I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

pub const fn pa1_isc(&self) -> bool

PA1_ISC: Interrupt status (before mask) for port a I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

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

PA1_ISC: Interrupt status (before mask) for port a I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

pub const fn pa2_isc(&self) -> bool

PA2_ISC: Interrupt status (before mask) for port a I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

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

PA2_ISC: Interrupt status (before mask) for port a I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

pub const fn pa3_isc(&self) -> bool

PA3_ISC: Interrupt status (before mask) for port a I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

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

PA3_ISC: Interrupt status (before mask) for port a I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

pub const fn pa4_isc(&self) -> bool

PA4_ISC: Interrupt status (before mask) for port a I/Os..

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

PA4_ISC: Interrupt status (before mask) for port a I/Os..

pub const fn pa5_isc(&self) -> bool

PA5_ISC: Interrupt status (before mask) for port a I/Os..

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

PA5_ISC: Interrupt status (before mask) for port a I/Os..

pub const fn pa6_isc(&self) -> bool

PA6_ISC: Interrupt status (before mask) for port a I/Os..

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

PA6_ISC: Interrupt status (before mask) for port a I/Os..

pub const fn pa7_isc(&self) -> bool

PA7_ISC: Interrupt status (before mask) for port a I/Os..

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

PA7_ISC: Interrupt status (before mask) for port a I/Os..

pub const fn pa8_isc(&self) -> bool

PA8_ISC: Interrupt status (before mask) for port a I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

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

PA8_ISC: Interrupt status (before mask) for port a I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

pub const fn pa9_isc(&self) -> bool

PA9_ISC: Interrupt status (before mask) for port a I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

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

PA9_ISC: Interrupt status (before mask) for port a I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

pub const fn pa10_isc(&self) -> bool

PA10_ISC: Interrupt status (before mask) for port a I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

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

PA10_ISC: Interrupt status (before mask) for port a I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

pub const fn pa11_isc(&self) -> bool

PA11_ISC: Interrupt status (before mask) for port a I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

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

PA11_ISC: Interrupt status (before mask) for port a I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

pub const fn pa12_isc(&self) -> bool

PA12_ISC: Interrupt status (before mask) for port a I/Os.

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

PA12_ISC: Interrupt status (before mask) for port a I/Os.

pub const fn pa13_isc(&self) -> bool

PA13_ISC: Interrupt status (before mask) for port a I/Os.

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

PA13_ISC: Interrupt status (before mask) for port a I/Os.

pub const fn pa14_isc(&self) -> bool

PA14_ISC: Interrupt status (before mask) for port a I/Os.

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

PA14_ISC: Interrupt status (before mask) for port a I/Os.

pub const fn pa15_isc(&self) -> bool

PA15_ISC: Interrupt status (before mask) for port a I/Os.

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

PA15_ISC: Interrupt status (before mask) for port a I/Os.

pub const fn pb0_isc(&self) -> bool

PB0_ISC: Interrupt status (before mask) for port B I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

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

PB0_ISC: Interrupt status (before mask) for port B I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

pub const fn pb1_isc(&self) -> bool

PB1_ISC: Interrupt status (before mask) for port B I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

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

PB1_ISC: Interrupt status (before mask) for port B I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

pub const fn pb2_isc(&self) -> bool

PB2_ISC: Interrupt status (before mask) for port B I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

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

PB2_ISC: Interrupt status (before mask) for port B I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

pub const fn pb3_isc(&self) -> bool

PB3_ISC: Interrupt status (before mask) for port B I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

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

PB3_ISC: Interrupt status (before mask) for port B I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

pub const fn pb4_isc(&self) -> bool

PB4_ISC: Interrupt status (before mask) for port B I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

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

PB4_ISC: Interrupt status (before mask) for port B I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

pub const fn pb5_isc(&self) -> bool

PB5_ISC: Interrupt status (before mask) for port B I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

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

PB5_ISC: Interrupt status (before mask) for port B I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

pub const fn pb6_isc(&self) -> bool

PB6_ISC: Interrupt status (before mask) for port B I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

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

PB6_ISC: Interrupt status (before mask) for port B I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

pub const fn pb7_isc(&self) -> bool

PB7_ISC: Interrupt status (before mask) for port B I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

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

PB7_ISC: Interrupt status (before mask) for port B I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

pub const fn pb8_isc(&self) -> bool

PB8_ISC: Interrupt status (before mask) for port B I/Os..

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

PB8_ISC: Interrupt status (before mask) for port B I/Os..

pub const fn pb9_isc(&self) -> bool

PB9_ISC: Interrupt status (before mask) for port B I/Os..

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

PB9_ISC: Interrupt status (before mask) for port B I/Os..

pub const fn pb10_isc(&self) -> bool

PB10_ISC: Interrupt status (before mask) for port B I/Os..

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

PB10_ISC: Interrupt status (before mask) for port B I/Os..

pub const fn pb11_isc(&self) -> bool

PB11_ISC: Interrupt status (before mask) for port B I/Os..

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

PB11_ISC: Interrupt status (before mask) for port B I/Os..

pub const fn pb12_isc(&self) -> bool

PB12_ISC: Interrupt status (before mask) for port B I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

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

PB12_ISC: Interrupt status (before mask) for port B I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

pub const fn pb13_isc(&self) -> bool

PB13_ISC: Interrupt status (before mask) for port B I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

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

PB13_ISC: Interrupt status (before mask) for port B I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

pub const fn pb14_isc(&self) -> bool

PB14_ISC: Interrupt status (before mask) for port B I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

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

PB14_ISC: Interrupt status (before mask) for port B I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

pub const fn pb15_isc(&self) -> bool

PB15_ISC: Interrupt status (before mask) for port B I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

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

PB15_ISC: Interrupt status (before mask) for port B I/Os. 0: no pending interrupt. 1: event occurred on corresponding I/O / interrupt occurred (if enabled). Cleared by writing 1 in the bit.

Trait Implementations§

§

impl Clone for IoIscr

§

fn clone(&self) -> IoIscr

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 IoIscr

§

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

Formats the value using the given formatter. Read more
§

impl Default for IoIscr

§

fn default() -> IoIscr

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

impl PartialEq for IoIscr

§

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

§

impl Eq for IoIscr

§

impl StructuralPartialEq for IoIscr

Auto Trait Implementations§

§

impl Freeze for IoIscr

§

impl RefUnwindSafe for IoIscr

§

impl Send for IoIscr

§

impl Sync for IoIscr

§

impl Unpin for IoIscr

§

impl UnwindSafe for IoIscr

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.