nxp-pac

Crates

git

Versions

mcxa456

Flavors

Test

Struct Test 

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

TSI TEST Register. TSI_TEST_EN is asserted only by a full-register write of 0x55AA55AA, not by setting bit 0; writing bit 0 to zero disables test mode. DPD_TEST_EOSF is write-one-to-clear. CLKSOC_SEL and RUN_CTRL require ipt_test_mod=1; the referenced test guide is not supplied and CLKSOC_SEL values are reserved. This register model does not authorize hardware test operations.

Tuple Fields§

§0: u32

Implementations§

Source§

impl Test

Source

pub const fn tsi_test_en(&self) -> bool

TSI_TEST_EN. Encodings: 0: Test mode is disabled; 1: Test mode is enabled

Source

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

TSI_TEST_EN. Encodings: 0: Test mode is disabled; 1: Test mode is enabled

Source

pub const fn dpd_test_en(&self) -> bool

DPD_TEST_EN. Encodings: 0: IP is not entering dpd test mode; 1: IP is entering dpd test mode

Source

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

DPD_TEST_EN. Encodings: 0: IP is not entering dpd test mode; 1: IP is entering dpd test mode

Source

pub const fn dpd_test_eosf(&self) -> bool

End of Scan Flag in DPD test mode. Encodings: 0: Scan is not done in DPD test mode; 1: Scan is done in DPD test mode

Source

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

End of Scan Flag in DPD test mode. Encodings: 0: Scan is not done in DPD test mode; 1: Scan is done in DPD test mode

Source

pub const fn tsi_ana_test_setting(&self) -> u8

TSI_ANA_TEST_SETTING. Encodings: 0: Normal operation mode; 1: Test mode 1, Vref test; 2: Test mode 2, Vprechrg voltage test; 3: Test mode 3, Comparator test; 4: Test mode 4, Precharge function test; 5: Test mode 5, 4uA bias test; 6: Test mode 6, 2uA bias test; 7: Test mode 7, Function monitor test

Source

pub const fn set_tsi_ana_test_setting(&mut self, val: u8)

TSI_ANA_TEST_SETTING. Encodings: 0: Normal operation mode; 1: Test mode 1, Vref test; 2: Test mode 2, Vprechrg voltage test; 3: Test mode 3, Comparator test; 4: Test mode 4, Precharge function test; 5: Test mode 5, 4uA bias test; 6: Test mode 6, 2uA bias test; 7: Test mode 7, Function monitor test

Source

pub const fn clksoc_sel(&self) -> bool

CLKSOC_SEL

Source

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

CLKSOC_SEL

Source

pub const fn run_ctrl(&self) -> bool

RUN_CTRL. Encodings: 0: Gate analog switch clock; 1: Not gate analog switch clock

Source

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

RUN_CTRL. Encodings: 0: Gate analog switch clock; 1: Not gate analog switch clock

Trait Implementations§

Source§

impl Clone for Test

Source§

fn clone(&self) -> Test

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 Test

Source§

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

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

impl Default for Test

Source§

fn default() -> Test

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

impl PartialEq for Test

Source§

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

Source§

impl Eq for Test

Source§

impl StructuralPartialEq for Test

Auto Trait Implementations§

§

impl Freeze for Test

§

impl RefUnwindSafe for Test

§

impl Send for Test

§

impl Sync for Test

§

impl Unpin for Test

§

impl UnwindSafe for Test

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.