nxp-pac

Crates

git

Versions

mimxrt685s_cm33

Flavors

Input

Struct Input 

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

SCT input register

Tuple Fields§

§0: u32

Implementations§

Source§

impl Input

Source

pub const fn ain0(&self) -> bool

Input 0 state. Input 0 state on the last SCT clock edge.

Source

pub const fn set_ain0(&mut self, val: bool)

Input 0 state. Input 0 state on the last SCT clock edge.

Source

pub const fn ain1(&self) -> bool

Input 1 state. Input 1 state on the last SCT clock edge.

Source

pub const fn set_ain1(&mut self, val: bool)

Input 1 state. Input 1 state on the last SCT clock edge.

Source

pub const fn ain2(&self) -> bool

Input 2 state. Input 2 state on the last SCT clock edge.

Source

pub const fn set_ain2(&mut self, val: bool)

Input 2 state. Input 2 state on the last SCT clock edge.

Source

pub const fn ain3(&self) -> bool

Input 3 state. Input 3 state on the last SCT clock edge.

Source

pub const fn set_ain3(&mut self, val: bool)

Input 3 state. Input 3 state on the last SCT clock edge.

Source

pub const fn ain4(&self) -> bool

Input 4 state. Input 4 state on the last SCT clock edge.

Source

pub const fn set_ain4(&mut self, val: bool)

Input 4 state. Input 4 state on the last SCT clock edge.

Source

pub const fn ain5(&self) -> bool

Input 5 state. Input 5 state on the last SCT clock edge.

Source

pub const fn set_ain5(&mut self, val: bool)

Input 5 state. Input 5 state on the last SCT clock edge.

Source

pub const fn ain6(&self) -> bool

Input 6 state. Input 6 state on the last SCT clock edge.

Source

pub const fn set_ain6(&mut self, val: bool)

Input 6 state. Input 6 state on the last SCT clock edge.

Source

pub const fn ain7(&self) -> bool

Input 7 state. Input 7 state on the last SCT clock edge.

Source

pub const fn set_ain7(&mut self, val: bool)

Input 7 state. Input 7 state on the last SCT clock edge.

Source

pub const fn ain8(&self) -> bool

Input 8 state. Input 8 state on the last SCT clock edge.

Source

pub const fn set_ain8(&mut self, val: bool)

Input 8 state. Input 8 state on the last SCT clock edge.

Source

pub const fn ain9(&self) -> bool

Input 9 state. Input 9 state on the last SCT clock edge.

Source

pub const fn set_ain9(&mut self, val: bool)

Input 9 state. Input 9 state on the last SCT clock edge.

Source

pub const fn ain10(&self) -> bool

Input 10 state. Input 10 state on the last SCT clock edge.

Source

pub const fn set_ain10(&mut self, val: bool)

Input 10 state. Input 10 state on the last SCT clock edge.

Source

pub const fn ain11(&self) -> bool

Input 11 state. Input 11 state on the last SCT clock edge.

Source

pub const fn set_ain11(&mut self, val: bool)

Input 11 state. Input 11 state on the last SCT clock edge.

Source

pub const fn ain12(&self) -> bool

Input 12 state. Input 12 state on the last SCT clock edge.

Source

pub const fn set_ain12(&mut self, val: bool)

Input 12 state. Input 12 state on the last SCT clock edge.

Source

pub const fn ain13(&self) -> bool

Input 13 state. Input 13 state on the last SCT clock edge.

Source

pub const fn set_ain13(&mut self, val: bool)

Input 13 state. Input 13 state on the last SCT clock edge.

Source

pub const fn ain14(&self) -> bool

Input 14 state. Input 14 state on the last SCT clock edge.

Source

pub const fn set_ain14(&mut self, val: bool)

Input 14 state. Input 14 state on the last SCT clock edge.

Source

pub const fn ain15(&self) -> bool

Input 15 state. Input 15 state on the last SCT clock edge.

Source

pub const fn set_ain15(&mut self, val: bool)

Input 15 state. Input 15 state on the last SCT clock edge.

Source

pub const fn sin0(&self) -> bool

Input 0 state. Input 0 state following the synchronization specified by INSYNC.

Source

pub const fn set_sin0(&mut self, val: bool)

Input 0 state. Input 0 state following the synchronization specified by INSYNC.

Source

pub const fn sin1(&self) -> bool

Input 1 state. Input 1 state following the synchronization specified by INSYNC.

Source

pub const fn set_sin1(&mut self, val: bool)

Input 1 state. Input 1 state following the synchronization specified by INSYNC.

Source

pub const fn sin2(&self) -> bool

Input 2 state. Input 2 state following the synchronization specified by INSYNC.

Source

pub const fn set_sin2(&mut self, val: bool)

Input 2 state. Input 2 state following the synchronization specified by INSYNC.

Source

pub const fn sin3(&self) -> bool

Input 3 state. Input 3 state following the synchronization specified by INSYNC.

Source

pub const fn set_sin3(&mut self, val: bool)

Input 3 state. Input 3 state following the synchronization specified by INSYNC.

Source

pub const fn sin4(&self) -> bool

Input 4 state. Input 4 state following the synchronization specified by INSYNC.

Source

pub const fn set_sin4(&mut self, val: bool)

Input 4 state. Input 4 state following the synchronization specified by INSYNC.

Source

pub const fn sin5(&self) -> bool

Input 5 state. Input 5 state following the synchronization specified by INSYNC.

Source

pub const fn set_sin5(&mut self, val: bool)

Input 5 state. Input 5 state following the synchronization specified by INSYNC.

Source

pub const fn sin6(&self) -> bool

Input 6 state. Input 6 state following the synchronization specified by INSYNC.

Source

pub const fn set_sin6(&mut self, val: bool)

Input 6 state. Input 6 state following the synchronization specified by INSYNC.

Source

pub const fn sin7(&self) -> bool

Input 7 state. Input 7 state following the synchronization specified by INSYNC.

Source

pub const fn set_sin7(&mut self, val: bool)

Input 7 state. Input 7 state following the synchronization specified by INSYNC.

Source

pub const fn sin8(&self) -> bool

Input 8 state. Input 8 state following the synchronization specified by INSYNC.

Source

pub const fn set_sin8(&mut self, val: bool)

Input 8 state. Input 8 state following the synchronization specified by INSYNC.

Source

pub const fn sin9(&self) -> bool

Input 9 state. Input 9 state following the synchronization specified by INSYNC.

Source

pub const fn set_sin9(&mut self, val: bool)

Input 9 state. Input 9 state following the synchronization specified by INSYNC.

Source

pub const fn sin10(&self) -> bool

Input 10 state. Input 10 state following the synchronization specified by INSYNC.

Source

pub const fn set_sin10(&mut self, val: bool)

Input 10 state. Input 10 state following the synchronization specified by INSYNC.

Source

pub const fn sin11(&self) -> bool

Input 11 state. Input 11 state following the synchronization specified by INSYNC.

Source

pub const fn set_sin11(&mut self, val: bool)

Input 11 state. Input 11 state following the synchronization specified by INSYNC.

Source

pub const fn sin12(&self) -> bool

Input 12 state. Input 12 state following the synchronization specified by INSYNC.

Source

pub const fn set_sin12(&mut self, val: bool)

Input 12 state. Input 12 state following the synchronization specified by INSYNC.

Source

pub const fn sin13(&self) -> bool

Input 13 state. Input 13 state following the synchronization specified by INSYNC.

Source

pub const fn set_sin13(&mut self, val: bool)

Input 13 state. Input 13 state following the synchronization specified by INSYNC.

Source

pub const fn sin14(&self) -> bool

Input 14 state. Input 14 state following the synchronization specified by INSYNC.

Source

pub const fn set_sin14(&mut self, val: bool)

Input 14 state. Input 14 state following the synchronization specified by INSYNC.

Source

pub const fn sin15(&self) -> bool

Input 15 state. Input 15 state following the synchronization specified by INSYNC.

Source

pub const fn set_sin15(&mut self, val: bool)

Input 15 state. Input 15 state following the synchronization specified by INSYNC.

Trait Implementations§

Source§

impl Clone for Input

Source§

fn clone(&self) -> Input

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
Source§

impl Debug for Input

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Default for Input

Source§

fn default() -> Input

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

impl PartialEq for Input

Source§

fn eq(&self, other: &Input) -> 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.
Source§

impl Copy for Input

Source§

impl Eq for Input

Source§

impl StructuralPartialEq for Input

Auto Trait Implementations§

§

impl Freeze for Input

§

impl RefUnwindSafe for Input

§

impl Send for Input

§

impl Sync for Input

§

impl Unpin for Input

§

impl UnwindSafe for Input

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.