nxp-pac

Crates

git

Versions

mcxa265

Flavors

Pen0

Struct Pen0 

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

LCD Pin Enable register 0.

Tuple Fields§

§0: u32

Implementations§

Source§

impl Pen0

Source

pub const fn pin_0_en(&self) -> bool

LCD Pin 0 Enable.

Source

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

LCD Pin 0 Enable.

Source

pub const fn pin_1_en(&self) -> bool

LCD Pin 1 Enable.

Source

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

LCD Pin 1 Enable.

Source

pub const fn pin_2_en(&self) -> bool

LCD Pin 2 Enable.

Source

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

LCD Pin 2 Enable.

Source

pub const fn pin_3_en(&self) -> bool

LCD Pin 3 Enable.

Source

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

LCD Pin 3 Enable.

Source

pub const fn pin_4_en(&self) -> bool

LCD Pin 4 Enable.

Source

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

LCD Pin 4 Enable.

Source

pub const fn pin_5_en(&self) -> bool

LCD Pin 5 Enable.

Source

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

LCD Pin 5 Enable.

Source

pub const fn pin_6_en(&self) -> bool

LCD Pin 6 Enable.

Source

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

LCD Pin 6 Enable.

Source

pub const fn pin_7_en(&self) -> bool

LCD Pin 7 Enable.

Source

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

LCD Pin 7 Enable.

Source

pub const fn pin_8_en(&self) -> bool

LCD Pin 8 Enable.

Source

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

LCD Pin 8 Enable.

Source

pub const fn pin_9_en(&self) -> bool

LCD Pin 9 Enable.

Source

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

LCD Pin 9 Enable.

Source

pub const fn pin_10_en(&self) -> bool

LCD Pin 10 Enable.

Source

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

LCD Pin 10 Enable.

Source

pub const fn pin_11_en(&self) -> bool

LCD Pin 11 Enable.

Source

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

LCD Pin 11 Enable.

Source

pub const fn pin_12_en(&self) -> bool

LCD Pin 12 Enable.

Source

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

LCD Pin 12 Enable.

Source

pub const fn pin_13_en(&self) -> bool

LCD Pin 13 Enable.

Source

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

LCD Pin 13 Enable.

Source

pub const fn pin_14_en(&self) -> bool

LCD Pin 14 Enable.

Source

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

LCD Pin 14 Enable.

Source

pub const fn pin_15_en(&self) -> bool

LCD Pin 15 Enable.

Source

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

LCD Pin 15 Enable.

Source

pub const fn pin_16_en(&self) -> bool

LCD Pin 16 Enable.

Source

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

LCD Pin 16 Enable.

Source

pub const fn pin_17_en(&self) -> bool

LCD Pin 17 Enable.

Source

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

LCD Pin 17 Enable.

Source

pub const fn pin_18_en(&self) -> bool

LCD Pin 18 Enable.

Source

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

LCD Pin 18 Enable.

Source

pub const fn pin_19_en(&self) -> bool

LCD Pin 19 Enable.

Source

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

LCD Pin 19 Enable.

Source

pub const fn pin_20_en(&self) -> bool

LCD Pin 20 Enable.

Source

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

LCD Pin 20 Enable.

Source

pub const fn pin_21_en(&self) -> bool

LCD Pin 21 Enable.

Source

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

LCD Pin 21 Enable.

Source

pub const fn pin_22_en(&self) -> bool

LCD Pin 22 Enable.

Source

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

LCD Pin 22 Enable.

Source

pub const fn pin_23_en(&self) -> bool

LCD Pin 23 Enable.

Source

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

LCD Pin 23 Enable.

Source

pub const fn pin_24_en(&self) -> bool

LCD Pin 24 Enable.

Source

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

LCD Pin 24 Enable.

Source

pub const fn pin_25_en(&self) -> bool

LCD Pin 25 Enable.

Source

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

LCD Pin 25 Enable.

Source

pub const fn pin_26_en(&self) -> bool

LCD Pin 26 Enable.

Source

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

LCD Pin 26 Enable.

Source

pub const fn pin_27_en(&self) -> bool

LCD Pin 27 Enable.

Source

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

LCD Pin 27 Enable.

Source

pub const fn pin_28_en(&self) -> bool

LCD Pin 28 Enable.

Source

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

LCD Pin 28 Enable.

Source

pub const fn pin_29_en(&self) -> bool

LCD Pin 29 Enable.

Source

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

LCD Pin 29 Enable.

Source

pub const fn pin_30_en(&self) -> bool

LCD Pin 30 Enable.

Source

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

LCD Pin 30 Enable.

Source

pub const fn pin_31_en(&self) -> bool

LCD Pin 31 Enable.

Source

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

LCD Pin 31 Enable.

Trait Implementations§

Source§

impl Clone for Pen0

Source§

fn clone(&self) -> Pen0

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 Pen0

Source§

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

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

impl Default for Pen0

Source§

fn default() -> Pen0

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

impl PartialEq for Pen0

Source§

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

Source§

impl Eq for Pen0

Source§

impl StructuralPartialEq for Pen0

Auto Trait Implementations§

§

impl Freeze for Pen0

§

impl RefUnwindSafe for Pen0

§

impl Send for Pen0

§

impl Sync for Pen0

§

impl Unpin for Pen0

§

impl UnwindSafe for Pen0

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.