nxp-pac

Crates

git

Versions

lpc55s69_cm33_core1

Flavors

Autoclkgateoverride

Struct Autoclkgateoverride 

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

Control automatic clock gating

Tuple Fields§

§0: u32

Implementations§

Source§

impl Autoclkgateoverride

Source

pub const fn rom(&self) -> bool

Control automatic clock gating of ROM controller.

Source

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

Control automatic clock gating of ROM controller.

Source

pub const fn ramx_ctrl(&self) -> bool

Control automatic clock gating of RAMX controller.

Source

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

Control automatic clock gating of RAMX controller.

Source

pub const fn ram0_ctrl(&self) -> bool

Control automatic clock gating of RAM0 controller.

Source

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

Control automatic clock gating of RAM0 controller.

Source

pub const fn ram1_ctrl(&self) -> bool

Control automatic clock gating of RAM1 controller.

Source

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

Control automatic clock gating of RAM1 controller.

Source

pub const fn ram2_ctrl(&self) -> bool

Control automatic clock gating of RAM2 controller.

Source

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

Control automatic clock gating of RAM2 controller.

Source

pub const fn ram3_ctrl(&self) -> bool

Control automatic clock gating of RAM3 controller.

Source

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

Control automatic clock gating of RAM3 controller.

Source

pub const fn ram4_ctrl(&self) -> bool

Control automatic clock gating of RAM4 controller.

Source

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

Control automatic clock gating of RAM4 controller.

Source

pub const fn sync0_apb(&self) -> bool

Control automatic clock gating of synchronous bridge controller 0.

Source

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

Control automatic clock gating of synchronous bridge controller 0.

Source

pub const fn sync1_apb(&self) -> bool

Control automatic clock gating of synchronous bridge controller 1.

Source

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

Control automatic clock gating of synchronous bridge controller 1.

Source

pub const fn crcgen(&self) -> bool

Control automatic clock gating of CRCGEN controller.

Source

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

Control automatic clock gating of CRCGEN controller.

Source

pub const fn sdma0(&self) -> bool

Control automatic clock gating of DMA0 controller.

Source

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

Control automatic clock gating of DMA0 controller.

Source

pub const fn sdma1(&self) -> bool

Control automatic clock gating of DMA1 controller.

Source

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

Control automatic clock gating of DMA1 controller.

Source

pub const fn usb0(&self) -> bool

Control automatic clock gating of USB controller.

Source

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

Control automatic clock gating of USB controller.

Source

pub const fn syscon(&self) -> bool

Control automatic clock gating of synchronous system controller registers bank.

Source

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

Control automatic clock gating of synchronous system controller registers bank.

Source

pub const fn enableupdate(&self) -> Enableupdate

The value 0xC0DE must be written for AUTOCLKGATEOVERRIDE registers fields updates to have effect.

Source

pub const fn set_enableupdate(&mut self, val: Enableupdate)

The value 0xC0DE must be written for AUTOCLKGATEOVERRIDE registers fields updates to have effect.

Trait Implementations§

Source§

impl Clone for Autoclkgateoverride

Source§

fn clone(&self) -> Autoclkgateoverride

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 Autoclkgateoverride

Source§

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

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

impl Default for Autoclkgateoverride

Source§

fn default() -> Autoclkgateoverride

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

impl PartialEq for Autoclkgateoverride

Source§

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

Source§

impl Eq for Autoclkgateoverride

Source§

impl StructuralPartialEq for Autoclkgateoverride

Auto Trait Implementations§

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.