Struct esp32c6::pcr::RegisterBlock

source ·
#[repr(C)]
pub struct RegisterBlock {
Show 83 fields pub uart0_conf: UART0_CONF, pub uart0_sclk_conf: UART0_SCLK_CONF, pub uart0_pd_ctrl: UART0_PD_CTRL, pub uart1_conf: UART1_CONF, pub uart1_sclk_conf: UART1_SCLK_CONF, pub uart1_pd_ctrl: UART1_PD_CTRL, pub mspi_conf: MSPI_CONF, pub mspi_clk_conf: MSPI_CLK_CONF, pub i2c0_conf: I2C0_CONF, pub i2c_sclk_conf: I2C_SCLK_CONF, pub uhci_conf: UHCI_CONF, pub rmt_conf: RMT_CONF, pub rmt_sclk_conf: RMT_SCLK_CONF, pub ledc_conf: LEDC_CONF, pub ledc_sclk_conf: LEDC_SCLK_CONF, pub timergroup0_conf: TIMERGROUP0_CONF, pub timergroup0_timer_clk_conf: TIMERGROUP0_TIMER_CLK_CONF, pub timergroup0_wdt_clk_conf: TIMERGROUP0_WDT_CLK_CONF, pub timergroup1_conf: TIMERGROUP1_CONF, pub timergroup1_timer_clk_conf: TIMERGROUP1_TIMER_CLK_CONF, pub timergroup1_wdt_clk_conf: TIMERGROUP1_WDT_CLK_CONF, pub systimer_conf: SYSTIMER_CONF, pub systimer_func_clk_conf: SYSTIMER_FUNC_CLK_CONF, pub twai0_conf: TWAI0_CONF, pub twai0_func_clk_conf: TWAI0_FUNC_CLK_CONF, pub twai1_conf: TWAI1_CONF, pub twai1_func_clk_conf: TWAI1_FUNC_CLK_CONF, pub i2s_conf: I2S_CONF, pub i2s_tx_clkm_conf: I2S_TX_CLKM_CONF, pub i2s_tx_clkm_div_conf: I2S_TX_CLKM_DIV_CONF, pub i2s_rx_clkm_conf: I2S_RX_CLKM_CONF, pub i2s_rx_clkm_div_conf: I2S_RX_CLKM_DIV_CONF, pub saradc_conf: SARADC_CONF, pub saradc_clkm_conf: SARADC_CLKM_CONF, pub tsens_clk_conf: TSENS_CLK_CONF, pub usb_device_conf: USB_DEVICE_CONF, pub intmtx_conf: INTMTX_CONF, pub pcnt_conf: PCNT_CONF, pub etm_conf: ETM_CONF, pub pwm_conf: PWM_CONF, pub pwm_clk_conf: PWM_CLK_CONF, pub parl_io_conf: PARL_IO_CONF, pub parl_clk_rx_conf: PARL_CLK_RX_CONF, pub parl_clk_tx_conf: PARL_CLK_TX_CONF, pub sdio_slave_conf: SDIO_SLAVE_CONF, pub pvt_monitor_conf: PVT_MONITOR_CONF, pub pvt_monitor_func_clk_conf: PVT_MONITOR_FUNC_CLK_CONF, pub gdma_conf: GDMA_CONF, pub spi2_conf: SPI2_CONF, pub spi2_clkm_conf: SPI2_CLKM_CONF, pub aes_conf: AES_CONF, pub sha_conf: SHA_CONF, pub rsa_conf: RSA_CONF, pub rsa_pd_ctrl: RSA_PD_CTRL, pub ecc_conf: ECC_CONF, pub ecc_pd_ctrl: ECC_PD_CTRL, pub ds_conf: DS_CONF, pub hmac_conf: HMAC_CONF, pub iomux_conf: IOMUX_CONF, pub iomux_clk_conf: IOMUX_CLK_CONF, pub mem_monitor_conf: MEM_MONITOR_CONF, pub regdma_conf: REGDMA_CONF, pub retention_conf: RETENTION_CONF, pub trace_conf: TRACE_CONF, pub assist_conf: ASSIST_CONF, pub cache_conf: CACHE_CONF, pub modem_apb_conf: MODEM_APB_CONF, pub timeout_conf: TIMEOUT_CONF, pub sysclk_conf: SYSCLK_CONF, pub cpu_waiti_conf: CPU_WAITI_CONF, pub cpu_freq_conf: CPU_FREQ_CONF, pub ahb_freq_conf: AHB_FREQ_CONF, pub apb_freq_conf: APB_FREQ_CONF, pub sysclk_freq_query_0: SYSCLK_FREQ_QUERY_0, pub pll_div_clk_en: PLL_DIV_CLK_EN, pub ctrl_clk_out_en: CTRL_CLK_OUT_EN, pub ctrl_tick_conf: CTRL_TICK_CONF, pub ctrl_32k_conf: CTRL_32K_CONF, pub sram_power_conf: SRAM_POWER_CONF, pub reset_event_bypass: RESET_EVENT_BYPASS, pub fpga_debug: FPGA_DEBUG, pub clock_gate: CLOCK_GATE, pub date: DATE, /* private fields */
}
Expand description

Register block

Fields§

§uart0_conf: UART0_CONF

0x00 - UART0 configuration register

§uart0_sclk_conf: UART0_SCLK_CONF

0x04 - UART0_SCLK configuration register

§uart0_pd_ctrl: UART0_PD_CTRL

0x08 - UART0 power control register

§uart1_conf: UART1_CONF

0x0c - UART1 configuration register

§uart1_sclk_conf: UART1_SCLK_CONF

0x10 - UART1_SCLK configuration register

§uart1_pd_ctrl: UART1_PD_CTRL

0x14 - UART1 power control register

§mspi_conf: MSPI_CONF

0x18 - MSPI configuration register

§mspi_clk_conf: MSPI_CLK_CONF

0x1c - MSPI_CLK configuration register

§i2c0_conf: I2C0_CONF

0x20 - I2C configuration register

§i2c_sclk_conf: I2C_SCLK_CONF

0x24 - I2C_SCLK configuration register

§uhci_conf: UHCI_CONF

0x28 - UHCI configuration register

§rmt_conf: RMT_CONF

0x2c - RMT configuration register

§rmt_sclk_conf: RMT_SCLK_CONF

0x30 - RMT_SCLK configuration register

§ledc_conf: LEDC_CONF

0x34 - LEDC configuration register

§ledc_sclk_conf: LEDC_SCLK_CONF

0x38 - LEDC_SCLK configuration register

§timergroup0_conf: TIMERGROUP0_CONF

0x3c - TIMERGROUP0 configuration register

§timergroup0_timer_clk_conf: TIMERGROUP0_TIMER_CLK_CONF

0x40 - TIMERGROUP0_TIMER_CLK configuration register

§timergroup0_wdt_clk_conf: TIMERGROUP0_WDT_CLK_CONF

0x44 - TIMERGROUP0_WDT_CLK configuration register

§timergroup1_conf: TIMERGROUP1_CONF

0x48 - TIMERGROUP1 configuration register

§timergroup1_timer_clk_conf: TIMERGROUP1_TIMER_CLK_CONF

0x4c - TIMERGROUP1_TIMER_CLK configuration register

§timergroup1_wdt_clk_conf: TIMERGROUP1_WDT_CLK_CONF

0x50 - TIMERGROUP1_WDT_CLK configuration register

§systimer_conf: SYSTIMER_CONF

0x54 - SYSTIMER configuration register

§systimer_func_clk_conf: SYSTIMER_FUNC_CLK_CONF

0x58 - SYSTIMER_FUNC_CLK configuration register

§twai0_conf: TWAI0_CONF

0x5c - TWAI0 configuration register

§twai0_func_clk_conf: TWAI0_FUNC_CLK_CONF

0x60 - TWAI0_FUNC_CLK configuration register

§twai1_conf: TWAI1_CONF

0x64 - TWAI1 configuration register

§twai1_func_clk_conf: TWAI1_FUNC_CLK_CONF

0x68 - TWAI1_FUNC_CLK configuration register

§i2s_conf: I2S_CONF

0x6c - I2S configuration register

§i2s_tx_clkm_conf: I2S_TX_CLKM_CONF

0x70 - I2S_TX_CLKM configuration register

§i2s_tx_clkm_div_conf: I2S_TX_CLKM_DIV_CONF

0x74 - I2S_TX_CLKM_DIV configuration register

§i2s_rx_clkm_conf: I2S_RX_CLKM_CONF

0x78 - I2S_RX_CLKM configuration register

§i2s_rx_clkm_div_conf: I2S_RX_CLKM_DIV_CONF

0x7c - I2S_RX_CLKM_DIV configuration register

§saradc_conf: SARADC_CONF

0x80 - SARADC configuration register

§saradc_clkm_conf: SARADC_CLKM_CONF

0x84 - SARADC_CLKM configuration register

§tsens_clk_conf: TSENS_CLK_CONF

0x88 - TSENS_CLK configuration register

§usb_device_conf: USB_DEVICE_CONF

0x8c - USB_DEVICE configuration register

§intmtx_conf: INTMTX_CONF

0x90 - INTMTX configuration register

§pcnt_conf: PCNT_CONF

0x94 - PCNT configuration register

§etm_conf: ETM_CONF

0x98 - ETM configuration register

§pwm_conf: PWM_CONF

0x9c - PWM configuration register

§pwm_clk_conf: PWM_CLK_CONF

0xa0 - PWM_CLK configuration register

§parl_io_conf: PARL_IO_CONF

0xa4 - PARL_IO configuration register

§parl_clk_rx_conf: PARL_CLK_RX_CONF

0xa8 - PARL_CLK_RX configuration register

§parl_clk_tx_conf: PARL_CLK_TX_CONF

0xac - PARL_CLK_TX configuration register

§sdio_slave_conf: SDIO_SLAVE_CONF

0xb0 - SDIO_SLAVE configuration register

§pvt_monitor_conf: PVT_MONITOR_CONF

0xb4 - PVT_MONITOR configuration register

§pvt_monitor_func_clk_conf: PVT_MONITOR_FUNC_CLK_CONF

0xb8 - PVT_MONITOR function clock configuration register

§gdma_conf: GDMA_CONF

0xbc - GDMA configuration register

§spi2_conf: SPI2_CONF

0xc0 - SPI2 configuration register

§spi2_clkm_conf: SPI2_CLKM_CONF

0xc4 - SPI2_CLKM configuration register

§aes_conf: AES_CONF

0xc8 - AES configuration register

§sha_conf: SHA_CONF

0xcc - SHA configuration register

§rsa_conf: RSA_CONF

0xd0 - RSA configuration register

§rsa_pd_ctrl: RSA_PD_CTRL

0xd4 - RSA power control register

§ecc_conf: ECC_CONF

0xd8 - ECC configuration register

§ecc_pd_ctrl: ECC_PD_CTRL

0xdc - ECC power control register

§ds_conf: DS_CONF

0xe0 - DS configuration register

§hmac_conf: HMAC_CONF

0xe4 - HMAC configuration register

§iomux_conf: IOMUX_CONF

0xe8 - IOMUX configuration register

§iomux_clk_conf: IOMUX_CLK_CONF

0xec - IOMUX_CLK configuration register

§mem_monitor_conf: MEM_MONITOR_CONF

0xf0 - MEM_MONITOR configuration register

§regdma_conf: REGDMA_CONF

0xf4 - REGDMA configuration register

§retention_conf: RETENTION_CONF

0xf8 - retention configuration register

§trace_conf: TRACE_CONF

0xfc - TRACE configuration register

§assist_conf: ASSIST_CONF

0x100 - ASSIST configuration register

§cache_conf: CACHE_CONF

0x104 - CACHE configuration register

§modem_apb_conf: MODEM_APB_CONF

0x108 - MODEM_APB configuration register

§timeout_conf: TIMEOUT_CONF

0x10c - TIMEOUT configuration register

§sysclk_conf: SYSCLK_CONF

0x110 - SYSCLK configuration register

§cpu_waiti_conf: CPU_WAITI_CONF

0x114 - CPU_WAITI configuration register

§cpu_freq_conf: CPU_FREQ_CONF

0x118 - CPU_FREQ configuration register

§ahb_freq_conf: AHB_FREQ_CONF

0x11c - AHB_FREQ configuration register

§apb_freq_conf: APB_FREQ_CONF

0x120 - APB_FREQ configuration register

§sysclk_freq_query_0: SYSCLK_FREQ_QUERY_0

0x124 - SYSCLK frequency query 0 register

§pll_div_clk_en: PLL_DIV_CLK_EN

0x128 - SPLL DIV clock-gating configuration register

§ctrl_clk_out_en: CTRL_CLK_OUT_EN

0x12c - CLK_OUT_EN configuration register

§ctrl_tick_conf: CTRL_TICK_CONF

0x130 - TICK configuration register

§ctrl_32k_conf: CTRL_32K_CONF

0x134 - 32KHz clock configuration register

§sram_power_conf: SRAM_POWER_CONF

0x138 - HP SRAM/ROM configuration register

§reset_event_bypass: RESET_EVENT_BYPASS

0xff0 - reset event bypass backdoor configuration register

§fpga_debug: FPGA_DEBUG

0xff4 - fpga debug register

§clock_gate: CLOCK_GATE

0xff8 - PCR clock gating configure register

§date: DATE

0xffc - Date register.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. 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 Twhere 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 Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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.