pub struct Clocks { /* private fields */ }
Implementations§
Source§impl Clocks
impl Clocks
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn clk_gpout_ctrl(self, n: usize) -> Reg<ClkGpoutCtrl, RW>
pub const fn clk_gpout_ctrl(self, n: usize) -> Reg<ClkGpoutCtrl, RW>
Clock control, can be changed on-the-fly (except for auxsrc)
pub const fn clk_gpout_div(self, n: usize) -> Reg<ClkGpoutDiv, RW>
Sourcepub const fn clk_gpout_selected(self, n: usize) -> Reg<ClkGpout0selected, RW>
pub const fn clk_gpout_selected(self, n: usize) -> Reg<ClkGpout0selected, RW>
Indicates which src is currently selected (one-hot)
Sourcepub const fn clk_ref_ctrl(self) -> Reg<ClkRefCtrl, RW>
pub const fn clk_ref_ctrl(self) -> Reg<ClkRefCtrl, RW>
Clock control, can be changed on-the-fly (except for auxsrc)
pub const fn clk_ref_div(self) -> Reg<ClkRefDiv, RW>
Sourcepub const fn clk_ref_selected(self) -> Reg<ClkRefSelected, RW>
pub const fn clk_ref_selected(self) -> Reg<ClkRefSelected, RW>
Indicates which src is currently selected (one-hot)
Sourcepub const fn clk_sys_ctrl(self) -> Reg<ClkSysCtrl, RW>
pub const fn clk_sys_ctrl(self) -> Reg<ClkSysCtrl, RW>
Clock control, can be changed on-the-fly (except for auxsrc)
pub const fn clk_sys_div(self) -> Reg<ClkSysDiv, RW>
Sourcepub const fn clk_sys_selected(self) -> Reg<ClkSysSelected, RW>
pub const fn clk_sys_selected(self) -> Reg<ClkSysSelected, RW>
Indicates which src is currently selected (one-hot)
Sourcepub const fn clk_peri_ctrl(self) -> Reg<ClkPeriCtrl, RW>
pub const fn clk_peri_ctrl(self) -> Reg<ClkPeriCtrl, RW>
Clock control, can be changed on-the-fly (except for auxsrc)
pub const fn clk_peri_div(self) -> Reg<ClkPeriDiv, RW>
Sourcepub const fn clk_peri_selected(self) -> Reg<ClkPeriSelected, RW>
pub const fn clk_peri_selected(self) -> Reg<ClkPeriSelected, RW>
Indicates which src is currently selected (one-hot)
Sourcepub const fn clk_hstx_ctrl(self) -> Reg<ClkHstxCtrl, RW>
pub const fn clk_hstx_ctrl(self) -> Reg<ClkHstxCtrl, RW>
Clock control, can be changed on-the-fly (except for auxsrc)
pub const fn clk_hstx_div(self) -> Reg<ClkHstxDiv, RW>
Sourcepub const fn clk_hstx_selected(self) -> Reg<ClkHstxSelected, RW>
pub const fn clk_hstx_selected(self) -> Reg<ClkHstxSelected, RW>
Indicates which src is currently selected (one-hot)
Sourcepub const fn clk_usb_ctrl(self) -> Reg<ClkUsbCtrl, RW>
pub const fn clk_usb_ctrl(self) -> Reg<ClkUsbCtrl, RW>
Clock control, can be changed on-the-fly (except for auxsrc)
pub const fn clk_usb_div(self) -> Reg<ClkUsbDiv, RW>
Sourcepub const fn clk_usb_selected(self) -> Reg<ClkUsbSelected, RW>
pub const fn clk_usb_selected(self) -> Reg<ClkUsbSelected, RW>
Indicates which src is currently selected (one-hot)
Sourcepub const fn clk_adc_ctrl(self) -> Reg<ClkAdcCtrl, RW>
pub const fn clk_adc_ctrl(self) -> Reg<ClkAdcCtrl, RW>
Clock control, can be changed on-the-fly (except for auxsrc)
pub const fn clk_adc_div(self) -> Reg<ClkAdcDiv, RW>
Sourcepub const fn clk_adc_selected(self) -> Reg<ClkAdcSelected, RW>
pub const fn clk_adc_selected(self) -> Reg<ClkAdcSelected, RW>
Indicates which src is currently selected (one-hot)
pub const fn dftclk_xosc_ctrl(self) -> Reg<DftclkXoscCtrl, RW>
pub const fn dftclk_rosc_ctrl(self) -> Reg<DftclkRoscCtrl, RW>
pub const fn dftclk_lposc_ctrl(self) -> Reg<DftclkLposcCtrl, RW>
pub const fn clk_sys_resus_ctrl(self) -> Reg<ClkSysResusCtrl, RW>
pub const fn clk_sys_resus_status(self) -> Reg<ClkSysResusStatus, RW>
Sourcepub const fn fc0_ref_khz(self) -> Reg<Fc0refKhz, RW>
pub const fn fc0_ref_khz(self) -> Reg<Fc0refKhz, RW>
Reference clock frequency in kHz
Sourcepub const fn fc0_min_khz(self) -> Reg<Fc0minKhz, RW>
pub const fn fc0_min_khz(self) -> Reg<Fc0minKhz, RW>
Minimum pass frequency in kHz. This is optional. Set to 0 if you are not using the pass/fail flags
Sourcepub const fn fc0_max_khz(self) -> Reg<Fc0maxKhz, RW>
pub const fn fc0_max_khz(self) -> Reg<Fc0maxKhz, RW>
Maximum pass frequency in kHz. This is optional. Set to 0x1ffffff if you are not using the pass/fail flags
Sourcepub const fn fc0_delay(self) -> Reg<Fc0delay, RW>
pub const fn fc0_delay(self) -> Reg<Fc0delay, RW>
Delays the start of frequency counting to allow the mux to settle Delay is measured in multiples of the reference clock period
Sourcepub const fn fc0_interval(self) -> Reg<Fc0interval, RW>
pub const fn fc0_interval(self) -> Reg<Fc0interval, RW>
The test interval is 0.98us * 2interval, but let’s call it 1us * 2interval The default gives a test interval of 250us
Sourcepub const fn fc0_src(self) -> Reg<Fc0src, RW>
pub const fn fc0_src(self) -> Reg<Fc0src, RW>
Clock sent to frequency counter, set to 0 when not required Writing to this register initiates the frequency count
Sourcepub const fn fc0_status(self) -> Reg<Fc0status, RW>
pub const fn fc0_status(self) -> Reg<Fc0status, RW>
Frequency counter status
Sourcepub const fn fc0_result(self) -> Reg<Fc0result, RW>
pub const fn fc0_result(self) -> Reg<Fc0result, RW>
Result of frequency measurement, only valid when status_done=1