Struct rp2040_pac2::clocks::Clocks[][src]

pub struct Clocks(pub *mut u8);

Implementations

impl Clocks[src]

pub fn clk_gpout0_ctrl(self) -> Reg<ClkGpout0Ctrl, RW>[src]

Clock control, can be changed on-the-fly (except for auxsrc)

pub fn clk_gpout0_div(self) -> Reg<ClkGpout0Div, RW>[src]

Clock divisor, can be changed on-the-fly

pub fn clk_gpout0_selected(self) -> Reg<u32, R>[src]

Indicates which src is currently selected (one-hot)

pub fn clk_gpout1_ctrl(self) -> Reg<ClkGpout1Ctrl, RW>[src]

Clock control, can be changed on-the-fly (except for auxsrc)

pub fn clk_gpout1_div(self) -> Reg<ClkGpout1Div, RW>[src]

Clock divisor, can be changed on-the-fly

pub fn clk_gpout1_selected(self) -> Reg<u32, R>[src]

Indicates which src is currently selected (one-hot)

pub fn clk_gpout2_ctrl(self) -> Reg<ClkGpout2Ctrl, RW>[src]

Clock control, can be changed on-the-fly (except for auxsrc)

pub fn clk_gpout2_div(self) -> Reg<ClkGpout2Div, RW>[src]

Clock divisor, can be changed on-the-fly

pub fn clk_gpout2_selected(self) -> Reg<u32, R>[src]

Indicates which src is currently selected (one-hot)

pub fn clk_gpout3_ctrl(self) -> Reg<ClkGpout3Ctrl, RW>[src]

Clock control, can be changed on-the-fly (except for auxsrc)

pub fn clk_gpout3_div(self) -> Reg<ClkGpout3Div, RW>[src]

Clock divisor, can be changed on-the-fly

pub fn clk_gpout3_selected(self) -> Reg<u32, R>[src]

Indicates which src is currently selected (one-hot)

pub fn clk_ref_ctrl(self) -> Reg<ClkRefCtrl, RW>[src]

Clock control, can be changed on-the-fly (except for auxsrc)

pub fn clk_ref_div(self) -> Reg<ClkRefDiv, RW>[src]

Clock divisor, can be changed on-the-fly

pub fn clk_ref_selected(self) -> Reg<u32, R>[src]

Indicates which src is currently selected (one-hot)

pub fn clk_sys_ctrl(self) -> Reg<ClkSysCtrl, RW>[src]

Clock control, can be changed on-the-fly (except for auxsrc)

pub fn clk_sys_div(self) -> Reg<ClkSysDiv, RW>[src]

Clock divisor, can be changed on-the-fly

pub fn clk_sys_selected(self) -> Reg<u32, R>[src]

Indicates which src is currently selected (one-hot)

pub fn clk_peri_ctrl(self) -> Reg<ClkPeriCtrl, RW>[src]

Clock control, can be changed on-the-fly (except for auxsrc)

pub fn clk_peri_selected(self) -> Reg<u32, R>[src]

Indicates which src is currently selected (one-hot)

pub fn clk_usb_ctrl(self) -> Reg<ClkUsbCtrl, RW>[src]

Clock control, can be changed on-the-fly (except for auxsrc)

pub fn clk_usb_div(self) -> Reg<ClkUsbDiv, RW>[src]

Clock divisor, can be changed on-the-fly

pub fn clk_usb_selected(self) -> Reg<u32, R>[src]

Indicates which src is currently selected (one-hot)

pub fn clk_adc_ctrl(self) -> Reg<ClkAdcCtrl, RW>[src]

Clock control, can be changed on-the-fly (except for auxsrc)

pub fn clk_adc_div(self) -> Reg<ClkAdcDiv, RW>[src]

Clock divisor, can be changed on-the-fly

pub fn clk_adc_selected(self) -> Reg<u32, R>[src]

Indicates which src is currently selected (one-hot)

pub fn clk_rtc_ctrl(self) -> Reg<ClkRtcCtrl, RW>[src]

Clock control, can be changed on-the-fly (except for auxsrc)

pub fn clk_rtc_div(self) -> Reg<ClkRtcDiv, RW>[src]

Clock divisor, can be changed on-the-fly

pub fn clk_rtc_selected(self) -> Reg<u32, R>[src]

Indicates which src is currently selected (one-hot)

pub fn clk_sys_resus_ctrl(self) -> Reg<ClkSysResusCtrl, RW>[src]

pub fn clk_sys_resus_status(self) -> Reg<ClkSysResusStatus, RW>[src]

pub fn fc0_ref_khz(self) -> Reg<Fc0RefKhz, RW>[src]

Reference clock frequency in kHz

pub fn fc0_min_khz(self) -> Reg<Fc0MinKhz, RW>[src]

Minimum pass frequency in kHz. This is optional. Set to 0 if you are not using the pass/fail flags

pub fn fc0_max_khz(self) -> Reg<Fc0MaxKhz, RW>[src]

Maximum pass frequency in kHz. This is optional. Set to 0x1ffffff if you are not using the pass/fail flags

pub fn fc0_delay(self) -> Reg<Fc0Delay, RW>[src]

Delays the start of frequency counting to allow the mux to settle Delay is measured in multiples of the reference clock period

pub fn fc0_interval(self) -> Reg<Fc0Interval, RW>[src]

The test interval is 0.98us * 2interval, but let’s call it 1us * 2interval The default gives a test interval of 250us

pub fn fc0_src(self) -> Reg<Fc0Src, RW>[src]

Clock sent to frequency counter, set to 0 when not required Writing to this register initiates the frequency count

pub fn fc0_status(self) -> Reg<Fc0Status, RW>[src]

Frequency counter status

pub fn fc0_result(self) -> Reg<Fc0Result, RW>[src]

Result of frequency measurement, only valid when status_done=1

pub fn wake_en0(self) -> Reg<WakeEn0, RW>[src]

enable clock in wake mode

pub fn wake_en1(self) -> Reg<WakeEn1, RW>[src]

enable clock in wake mode

pub fn sleep_en0(self) -> Reg<SleepEn0, RW>[src]

enable clock in sleep mode

pub fn sleep_en1(self) -> Reg<SleepEn1, RW>[src]

enable clock in sleep mode

pub fn enabled0(self) -> Reg<Enabled0, RW>[src]

indicates the state of the clock enable

pub fn enabled1(self) -> Reg<Enabled1, RW>[src]

indicates the state of the clock enable

pub fn intr(self) -> Reg<Int, RW>[src]

Raw Interrupts

pub fn inte(self) -> Reg<Int, RW>[src]

Interrupt Enable

pub fn intf(self) -> Reg<Int, RW>[src]

Interrupt Force

pub fn ints(self) -> Reg<Int, RW>[src]

Interrupt status after masking & forcing

Trait Implementations

impl Clone for Clocks[src]

impl Copy for Clocks[src]

impl Send for Clocks[src]

impl Sync for Clocks[src]

Auto Trait Implementations

impl Unpin for Clocks

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.