nxp-pac

Crates

git

Versions

lpc55s16

Flavors

Gpo20

Struct Gpo20 

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

GPO2 register 0 description

Tuple Fields§

§0: u32

Implementations§

Source§

impl Gpo20

Source

pub const fn usbhs_phy_trim_valid(&self) -> bool

no description available

Source

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

no description available

Source

pub const fn trim_usb_reg_env_tail_adj_vd(&self) -> u8

no description available

Source

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

no description available

Source

pub const fn trim_usbphy_tx_d_cal(&self) -> u8

no description available

Source

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

no description available

Source

pub const fn trim_usbphy_tx_cal45dp(&self) -> u8

no description available

Source

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

no description available

Source

pub const fn trim_usbphy_tx_cal45dn(&self) -> u8

no description available

Source

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

no description available

Source

pub const fn trim_usb2_refbias_tst(&self) -> u8

no description available

Source

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

no description available

Source

pub const fn trim_usb2_refbias_vbgadj(&self) -> u8

no description available

Source

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

no description available

Source

pub const fn trim_pll_ctrl0_div_sel(&self) -> u8

no description available

Source

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

no description available

Source

pub const fn flash_size(&self) -> u8

(For Niobe4) 000 : 640 KB 001 : 512 KB 010 : 256 KB 011 : 128 KB 100 : 0 KB All others : RESERVED (For Niobe4 Mini) FLASH_SIZE[2:0] 000 : 256 KB 001 : 128 KB 010 : 80 KB (reserved) 011 : 64 KB 100 : 0 kB (reserved) All others : RESERVED

Source

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

(For Niobe4) 000 : 640 KB 001 : 512 KB 010 : 256 KB 011 : 128 KB 100 : 0 KB All others : RESERVED (For Niobe4 Mini) FLASH_SIZE[2:0] 000 : 256 KB 001 : 128 KB 010 : 80 KB (reserved) 011 : 64 KB 100 : 0 kB (reserved) All others : RESERVED

Source

pub const fn cpu0_security_extension_disable(&self) -> u8

CPU0_SECURITY_EXTENSION_DISABLE[3:0]: 1010 : CPU0 Security Extension is disabled. All Other values: CPU0 Security Extension is enabled.

Source

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

CPU0_SECURITY_EXTENSION_DISABLE[3:0]: 1010 : CPU0 Security Extension is disabled. All Other values: CPU0 Security Extension is enabled.

Trait Implementations§

Source§

impl Clone for Gpo20

Source§

fn clone(&self) -> Gpo20

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 Gpo20

Source§

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

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

impl Default for Gpo20

Source§

fn default() -> Gpo20

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

impl PartialEq for Gpo20

Source§

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

Source§

impl Eq for Gpo20

Source§

impl StructuralPartialEq for Gpo20

Auto Trait Implementations§

§

impl Freeze for Gpo20

§

impl RefUnwindSafe for Gpo20

§

impl Send for Gpo20

§

impl Sync for Gpo20

§

impl Unpin for Gpo20

§

impl UnwindSafe for Gpo20

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.