ClockGate

Struct ClockGate 

Source
pub struct ClockGate(pub u64);
Expand description

Bit field mapping clock enable bits.

Tuple Fields§

§0: u64

Implementations§

Source§

impl ClockGate

Source

pub fn sys_clock(&self) -> bool

Clock gate to the clock controller.

Source

pub fn sys_accessctrl(&self) -> bool

Clock gate the hardware access control registers

Source

pub fn adc_adc(&self) -> bool

Clock gate to the adc analog logic.

Source

pub fn sys_adc(&self) -> bool

Clock gate to the adc peripheral.

Source

pub fn sys_bootram(&self) -> bool

Clock gate the Boot RAM

Source

pub fn sys_busctrl(&self) -> bool

Clock gate the memory bus controller.

Source

pub fn sys_busfabric(&self) -> bool

Clock gate the memory bus fabric.

Source

pub fn sys_dma(&self) -> bool

Clock gate the dma controller.

Source

pub fn sys_glitch_detector(&self) -> bool

Clock gate the Glitch Detector peripheral

Source

pub fn hstx(&self) -> bool

Clock gate the High-Speed TX peripheral

Source

pub fn sys_hstx(&self) -> bool

Clock gate the High-Speed TX peripheral

Source

pub fn sys_i2c0(&self) -> bool

Clock gate I2C0.

Source

pub fn sys_i2c1(&self) -> bool

Clock gate I2C1.

Source

pub fn sys_io(&self) -> bool

Clock gate the IO controller.

Source

pub fn sys_jtag(&self) -> bool

Clock gate the JTAG peripheral.

Source

pub fn ref_otp(&self) -> bool

Clock gate the OTP (one-time programmable memory) peripheral

Source

pub fn sys_otp(&self) -> bool

Clock gate the OTP (one-time programmable memory) peripheral

Source

pub fn sys_pads(&self) -> bool

Clock gate pad controller.

Source

pub fn sys_pio0(&self) -> bool

Clock gate PIO0 peripheral.

Source

pub fn sys_pio1(&self) -> bool

Clock gate PIO1 peripheral.

Source

pub fn sys_pio2(&self) -> bool

Clock gate PIO2 peripheral.

Source

pub fn sys_pll_sys(&self) -> bool

Clock gate the system PLL.

Source

pub fn sys_pll_usb(&self) -> bool

Clock gate the USB PLL.

Source

pub fn ref_powman(&self) -> bool

Clock gate the Power Manager

Source

pub fn sys_powman(&self) -> bool

Clock gate the Power Manager

Source

pub fn sys_pwm(&self) -> bool

Clock gate PWM peripheral.

Source

pub fn sys_resets(&self) -> bool

Clock gate the reset controller.

Source

pub fn sys_rom(&self) -> bool

Clock gate the ROM.

Source

pub fn sys_rosc(&self) -> bool

Clock gate the ROSC controller (not the rosc itself).

Source

pub fn sys_psm(&self) -> bool

Clock gate the Power State Machine

Source

pub fn sys_sha256(&self) -> bool

Clock gate the SHA256 peripheral

Source

pub fn sys_sio(&self) -> bool

Clock gate the SIO controller.

Source

pub fn peri_spi0(&self) -> bool

Clock gate SPI0’s baud generation.

Source

pub fn sys_spi0(&self) -> bool

Clock gate SPI0’s controller..

Source

pub fn peri_spi1(&self) -> bool

Clock gate SPI1’s baud generation.

Source

pub fn sys_spi1(&self) -> bool

Clock gate SPI1’s controller..

Source

pub fn sys_sram0(&self) -> bool

Clock gate SRAM0.

Source

pub fn sys_sram1(&self) -> bool

Clock gate SRAM1.

Source

pub fn sys_sram2(&self) -> bool

Clock gate SRAM2.

Source

pub fn sys_sram3(&self) -> bool

Clock gate SRAM3.

Source

pub fn sys_sram4(&self) -> bool

Clock gate SRAM4.

Source

pub fn sys_sram5(&self) -> bool

Clock gate SRAM5.

Source

pub fn sys_sram6(&self) -> bool

Clock gate SRAM6

Source

pub fn sys_sram7(&self) -> bool

Clock gate SRAM7

Source

pub fn sys_sram8(&self) -> bool

Clock gate SRAM8

Source

pub fn sys_sram9(&self) -> bool

Clock gate SRAM9

Source

pub fn sys_syscfg(&self) -> bool

Clock gate the system configuration controller.

Source

pub fn sys_sysinfo(&self) -> bool

Clock gate the system information peripheral.

Source

pub fn sys_tbman(&self) -> bool

Clock gate the test bench manager.

Source

pub fn ref_ticks(&self) -> bool

Clock gate the tick generator

Source

pub fn sys_ticks(&self) -> bool

Clock gate the tick generator

Source

pub fn sys_timer0(&self) -> bool

Clock gate the Timer 0 peripheral.

Source

pub fn sys_timer1(&self) -> bool

Clock gate the Timer 1 peripheral.

Source

pub fn sys_trng(&self) -> bool

Clock gate the TrustZone Random Number Generator

Source

pub fn peri_uart0(&self) -> bool

Clock gate UART0’s baud generation.

Source

pub fn sys_uart0(&self) -> bool

Clock gate UART0’s controller.

Source

pub fn peri_uart1(&self) -> bool

Clock gate UART1’s baud generation.

Source

pub fn sys_uart1(&self) -> bool

Clock gate UART1’s controller.

Source

pub fn sys_usbctrl(&self) -> bool

Clock gate the USB controller.

Source

pub fn usb(&self) -> bool

Clock gate the USB logic.

Source

pub fn sys_watchdog(&self) -> bool

Clock gate the Watchdog controller.

Source

pub fn sys_xip(&self) -> bool

.Clock gate the XIP controller.

Source

pub fn sys_xosc(&self) -> bool

Clock gate the XOSC controller (not xosc itself).

Source

pub fn set_sys_clock(&mut self, value: bool)

Clock gate to the clock controller.

Source

pub fn set_sys_accessctrl(&mut self, value: bool)

Clock gate the hardware access control registers

Source

pub fn set_adc_adc(&mut self, value: bool)

Clock gate to the adc analog logic.

Source

pub fn set_sys_adc(&mut self, value: bool)

Clock gate to the adc peripheral.

Source

pub fn set_sys_bootram(&mut self, value: bool)

Clock gate the Boot RAM

Source

pub fn set_sys_busctrl(&mut self, value: bool)

Clock gate the memory bus controller.

Source

pub fn set_sys_busfabric(&mut self, value: bool)

Clock gate the memory bus fabric.

Source

pub fn set_sys_dma(&mut self, value: bool)

Clock gate the dma controller.

Source

pub fn set_sys_glitch_detector(&mut self, value: bool)

Clock gate the Glitch Detector peripheral

Source

pub fn set_hstx(&mut self, value: bool)

Clock gate the High-Speed TX peripheral

Source

pub fn set_sys_hstx(&mut self, value: bool)

Clock gate the High-Speed TX peripheral

Source

pub fn set_sys_i2c0(&mut self, value: bool)

Clock gate I2C0.

Source

pub fn set_sys_i2c1(&mut self, value: bool)

Clock gate I2C1.

Source

pub fn set_sys_io(&mut self, value: bool)

Clock gate the IO controller.

Source

pub fn set_sys_jtag(&mut self, value: bool)

Clock gate the JTAG peripheral.

Source

pub fn set_ref_otp(&mut self, value: bool)

Clock gate the OTP (one-time programmable memory) peripheral

Source

pub fn set_sys_otp(&mut self, value: bool)

Clock gate the OTP (one-time programmable memory) peripheral

Source

pub fn set_sys_pads(&mut self, value: bool)

Clock gate pad controller.

Source

pub fn set_sys_pio0(&mut self, value: bool)

Clock gate PIO0 peripheral.

Source

pub fn set_sys_pio1(&mut self, value: bool)

Clock gate PIO1 peripheral.

Source

pub fn set_sys_pio2(&mut self, value: bool)

Clock gate PIO2 peripheral.

Source

pub fn set_sys_pll_sys(&mut self, value: bool)

Clock gate the system PLL.

Source

pub fn set_sys_pll_usb(&mut self, value: bool)

Clock gate the USB PLL.

Source

pub fn set_ref_powman(&mut self, value: bool)

Clock gate the Power Manager

Source

pub fn set_sys_powman(&mut self, value: bool)

Clock gate the Power Manager

Source

pub fn set_sys_pwm(&mut self, value: bool)

Clock gate PWM peripheral.

Source

pub fn set_sys_resets(&mut self, value: bool)

Clock gate the reset controller.

Source

pub fn set_sys_rom(&mut self, value: bool)

Clock gate the ROM.

Source

pub fn set_sys_rosc(&mut self, value: bool)

Clock gate the ROSC controller (not the rosc itself).

Source

pub fn set_sys_psm(&mut self, value: bool)

Clock gate the Power State Machine

Source

pub fn set_sys_sha256(&mut self, value: bool)

Clock gate the SHA256 peripheral

Source

pub fn set_sys_sio(&mut self, value: bool)

Clock gate the SIO controller.

Source

pub fn set_peri_spi0(&mut self, value: bool)

Clock gate SPI0’s baud generation.

Source

pub fn set_sys_spi0(&mut self, value: bool)

Clock gate SPI0’s controller..

Source

pub fn set_peri_spi1(&mut self, value: bool)

Clock gate SPI1’s baud generation.

Source

pub fn set_sys_spi1(&mut self, value: bool)

Clock gate SPI1’s controller..

Source

pub fn set_sys_sram0(&mut self, value: bool)

Clock gate SRAM0.

Source

pub fn set_sys_sram1(&mut self, value: bool)

Clock gate SRAM1.

Source

pub fn set_sys_sram2(&mut self, value: bool)

Clock gate SRAM2.

Source

pub fn set_sys_sram3(&mut self, value: bool)

Clock gate SRAM3.

Source

pub fn set_sys_sram4(&mut self, value: bool)

Clock gate SRAM4.

Source

pub fn set_sys_sram5(&mut self, value: bool)

Clock gate SRAM5.

Source

pub fn set_sys_sram6(&mut self, value: bool)

Clock gate SRAM6

Source

pub fn set_sys_sram7(&mut self, value: bool)

Clock gate SRAM7

Source

pub fn set_sys_sram8(&mut self, value: bool)

Clock gate SRAM8

Source

pub fn set_sys_sram9(&mut self, value: bool)

Clock gate SRAM9

Source

pub fn set_sys_syscfg(&mut self, value: bool)

Clock gate the system configuration controller.

Source

pub fn set_sys_sysinfo(&mut self, value: bool)

Clock gate the system information peripheral.

Source

pub fn set_sys_tbman(&mut self, value: bool)

Clock gate the test bench manager.

Source

pub fn set_ref_ticks(&mut self, value: bool)

Clock gate the tick generator

Source

pub fn set_sys_ticks(&mut self, value: bool)

Clock gate the tick generator

Source

pub fn set_sys_timer0(&mut self, value: bool)

Clock gate the Timer 0 peripheral.

Source

pub fn set_sys_timer1(&mut self, value: bool)

Clock gate the Timer 1 peripheral.

Source

pub fn set_sys_trng(&mut self, value: bool)

Clock gate the TrustZone Random Number Generator

Source

pub fn set_peri_uart0(&mut self, value: bool)

Clock gate UART0’s baud generation.

Source

pub fn set_sys_uart0(&mut self, value: bool)

Clock gate UART0’s controller.

Source

pub fn set_peri_uart1(&mut self, value: bool)

Clock gate UART1’s baud generation.

Source

pub fn set_sys_uart1(&mut self, value: bool)

Clock gate UART1’s controller.

Source

pub fn set_sys_usbctrl(&mut self, value: bool)

Clock gate the USB controller.

Source

pub fn set_usb(&mut self, value: bool)

Clock gate the USB logic.

Source

pub fn set_sys_watchdog(&mut self, value: bool)

Clock gate the Watchdog controller.

Source

pub fn set_sys_xip(&mut self, value: bool)

.Clock gate the XIP controller.

Source

pub fn set_sys_xosc(&mut self, value: bool)

Clock gate the XOSC controller (not xosc itself).

Trait Implementations§

Source§

impl<T> BitRange<T> for ClockGate
where u64: BitRange<T>,

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> T

Get a range of bits.
Source§

impl<T> BitRangeMut<T> for ClockGate
where u64: BitRangeMut<T>,

Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)

Set a range of bits.
Source§

impl Debug for ClockGate

Source§

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

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

impl Default for ClockGate

Source§

fn default() -> ClockGate

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

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> Bit for T
where T: BitRange<u8>,

Source§

fn bit(&self, bit: usize) -> bool

Get a single bit.
Source§

impl<T> BitMut for T
where T: BitRangeMut<u8>,

Source§

fn set_bit(&mut self, bit: usize, value: bool)

Set a single bit.
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<Choices> CoproductSubsetter<CNil, HNil> for Choices

Source§

type Remainder = Choices

Source§

fn subset( self, ) -> Result<CNil, <Choices as CoproductSubsetter<CNil, HNil>>::Remainder>

Extract a subset of the possible types in a coproduct (or get the remaining possibilities) 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> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T, U, I> LiftInto<U, I> for T
where U: LiftFrom<T, I>,

Source§

fn lift_into(self) -> U

Performs the indexed conversion.
Source§

impl<Source> Sculptor<HNil, HNil> for Source

Source§

type Remainder = Source

Source§

fn sculpt(self) -> (HNil, <Source as Sculptor<HNil, HNil>>::Remainder)

Consumes the current HList and returns an HList with the requested shape. Read more
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.