nxp-pac

Crates

git

Versions

mcxa186

Flavors

Bpen0

Struct Bpen0 

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

LCD Back Plane Enable register 0.

Tuple Fields§

§0: u32

Implementations§

Source§

impl Bpen0

Source

pub const fn pin_0_bpen(&self) -> bool

LCD Pin 0 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 0 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_1_bpen(&self) -> bool

LCD Pin 1 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 1 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_2_bpen(&self) -> bool

LCD Pin 2 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 2 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_3_bpen(&self) -> bool

LCD Pin 3 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 3 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_4_bpen(&self) -> bool

LCD Pin 4 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 4 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_5_bpen(&self) -> bool

LCD Pin 5 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 5 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_6_bpen(&self) -> bool

LCD Pin 6 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 6 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_7_bpen(&self) -> bool

LCD Pin 7 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 7 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_8_bpen(&self) -> bool

LCD Pin 8 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 8 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_9_bpen(&self) -> bool

LCD Pin 9 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 9 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_10_bpen(&self) -> bool

LCD Pin 10 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 10 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_11_bpen(&self) -> bool

LCD Pin 11 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 11 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_12_bpen(&self) -> bool

LCD Pin 12 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 12 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_13_bpen(&self) -> bool

LCD Pin 13 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 13 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_14_bpen(&self) -> bool

LCD Pin 14 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 14 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_15_bpen(&self) -> bool

LCD Pin 15 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 15 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_16_bpen(&self) -> bool

LCD Pin 16 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 16 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_17_bpen(&self) -> bool

LCD Pin 17 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 17 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_18_bpen(&self) -> bool

LCD Pin 18 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 18 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_19_bpen(&self) -> bool

LCD Pin 19 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 19 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_20_bpen(&self) -> bool

LCD Pin 20 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 20 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_21_bpen(&self) -> bool

LCD Pin 21 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 21 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_22_bpen(&self) -> bool

LCD Pin 22 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 22 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_23_bpen(&self) -> bool

LCD Pin 23 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 23 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_24_bpen(&self) -> bool

LCD Pin 24 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 24 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_25_bpen(&self) -> bool

LCD Pin 25 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 25 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_26_bpen(&self) -> bool

LCD Pin 26 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 26 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_27_bpen(&self) -> bool

LCD Pin 27 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 27 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_28_bpen(&self) -> bool

LCD Pin 28 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 28 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_29_bpen(&self) -> bool

LCD Pin 29 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 29 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_30_bpen(&self) -> bool

LCD Pin 30 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 30 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

pub const fn pin_31_bpen(&self) -> bool

LCD Pin 31 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Source

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

LCD Pin 31 Back Plane Enable. Raw bit values: false (0) = Fp: Pin as Front Plane.; true (1) = Bp: Pin as Back Plane.

Trait Implementations§

Source§

impl Clone for Bpen0

Source§

fn clone(&self) -> Bpen0

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 Default for Bpen0

Source§

fn default() -> Bpen0

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

impl PartialEq for Bpen0

Source§

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

Source§

impl Eq for Bpen0

Source§

impl StructuralPartialEq for Bpen0

Auto Trait Implementations§

§

impl Freeze for Bpen0

§

impl RefUnwindSafe for Bpen0

§

impl Send for Bpen0

§

impl Sync for Bpen0

§

impl Unpin for Bpen0

§

impl UnwindSafe for Bpen0

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.