Struct esp32c6::SLCHOST

source ·
pub struct SLCHOST { /* private fields */ }
Expand description

SLCHOST Peripheral

Implementations§

source§

impl SLCHOST

source

pub const PTR: *const RegisterBlock = {0x60017000 as *const slchost::RegisterBlock}

Pointer to the register block

source

pub const fn ptr() -> *const RegisterBlock

Return the pointer to the register block

source

pub unsafe fn steal() -> Self

Steal an instance of this peripheral

§Safety

Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.

Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.

Methods from Deref<Target = RegisterBlock>§

source

pub fn func2_0(&self) -> &FUNC2_0

0x10 - Description****

source

pub fn func2_1(&self) -> &FUNC2_1

0x14 - Description****

source

pub fn func2_2(&self) -> &FUNC2_2

0x20 - Description****

source

pub fn gpio_status0(&self) -> &GPIO_STATUS0

0x34 - Description****

source

pub fn gpio_status1(&self) -> &GPIO_STATUS1

0x38 - Description****

source

pub fn gpio_in0(&self) -> &GPIO_IN0

0x3c - Description****

source

pub fn gpio_in1(&self) -> &GPIO_IN1

0x40 - Description****

source

pub fn slc0host_token_rdata(&self) -> &SLC0HOST_TOKEN_RDATA

0x44 - Description****

source

pub fn slc0_host_pf(&self) -> &SLC0_HOST_PF

0x48 - Description****

source

pub fn slc1_host_pf(&self) -> &SLC1_HOST_PF

0x4c - Description****

source

pub fn slc0host_int_raw(&self) -> &SLC0HOST_INT_RAW

0x50 - Description****

source

pub fn slc1host_int_raw(&self) -> &SLC1HOST_INT_RAW

0x54 - Description****

source

pub fn slc0host_int_st(&self) -> &SLC0HOST_INT_ST

0x58 - Description****

source

pub fn slc1host_int_st(&self) -> &SLC1HOST_INT_ST

0x5c - Description****

source

pub fn pkt_len(&self) -> &PKT_LEN

0x60 - Description****

source

pub fn state_w0(&self) -> &STATE_W0

0x64 - Description****

source

pub fn state_w1(&self) -> &STATE_W1

0x68 - Description****

source

pub fn conf_w0(&self) -> &CONF_W0

0x6c - Description****

source

pub fn conf_w1(&self) -> &CONF_W1

0x70 - Description****

source

pub fn conf_w2(&self) -> &CONF_W2

0x74 - Description****

source

pub fn conf_w3(&self) -> &CONF_W3

0x78 - Description****

source

pub fn conf_w4(&self) -> &CONF_W4

0x7c - Description****

source

pub fn conf_w5(&self) -> &CONF_W5

0x80 - Description****

source

pub fn win_cmd(&self) -> &WIN_CMD

0x84 - Description****

source

pub fn conf_w6(&self) -> &CONF_W6

0x88 - Description****

source

pub fn conf_w7(&self) -> &CONF_W7

0x8c - Description****

source

pub fn pkt_len0(&self) -> &PKT_LEN0

0x90 - Description****

source

pub fn pkt_len1(&self) -> &PKT_LEN1

0x94 - Description****

source

pub fn pkt_len2(&self) -> &PKT_LEN2

0x98 - Description****

source

pub fn conf_w8(&self) -> &CONF_W8

0x9c - Description****

source

pub fn conf_w9(&self) -> &CONF_W9

0xa0 - Description****

source

pub fn conf_w10(&self) -> &CONF_W10

0xa4 - Description****

source

pub fn conf_w11(&self) -> &CONF_W11

0xa8 - Description****

source

pub fn conf_w12(&self) -> &CONF_W12

0xac - Description****

source

pub fn conf_w13(&self) -> &CONF_W13

0xb0 - Description****

source

pub fn conf_w14(&self) -> &CONF_W14

0xb4 - Description****

source

pub fn conf_w15(&self) -> &CONF_W15

0xb8 - Description****

source

pub fn check_sum0(&self) -> &CHECK_SUM0

0xbc - Description****

source

pub fn check_sum1(&self) -> &CHECK_SUM1

0xc0 - Description****

source

pub fn slc1host_token_rdata(&self) -> &SLC1HOST_TOKEN_RDATA

0xc4 - Description****

source

pub fn slc0host_token_wdata(&self) -> &SLC0HOST_TOKEN_WDATA

0xc8 - Description****

source

pub fn slc1host_token_wdata(&self) -> &SLC1HOST_TOKEN_WDATA

0xcc - Description****

source

pub fn token_con(&self) -> &TOKEN_CON

0xd0 - Description****

source

pub fn slc0host_int_clr(&self) -> &SLC0HOST_INT_CLR

0xd4 - Description****

source

pub fn slc1host_int_clr(&self) -> &SLC1HOST_INT_CLR

0xd8 - Description****

source

pub fn slc0host_func1_int_ena(&self) -> &SLC0HOST_FUNC1_INT_ENA

0xdc - Description****

source

pub fn slc1host_func1_int_ena(&self) -> &SLC1HOST_FUNC1_INT_ENA

0xe0 - Description****

source

pub fn slc0host_func2_int_ena(&self) -> &SLC0HOST_FUNC2_INT_ENA

0xe4 - Description****

source

pub fn slc1host_func2_int_ena(&self) -> &SLC1HOST_FUNC2_INT_ENA

0xe8 - Description****

source

pub fn slc0host_int_ena(&self) -> &SLC0HOST_INT_ENA

0xec - Description****

source

pub fn slc1host_int_ena(&self) -> &SLC1HOST_INT_ENA

0xf0 - Description****

source

pub fn slc0host_rx_infor(&self) -> &SLC0HOST_RX_INFOR

0xf4 - Description****

source

pub fn slc1host_rx_infor(&self) -> &SLC1HOST_RX_INFOR

0xf8 - Description****

source

pub fn slc0host_len_wd(&self) -> &SLC0HOST_LEN_WD

0xfc - Description****

source

pub fn slc_apbwin_wdata(&self) -> &SLC_APBWIN_WDATA

0x100 - Description****

source

pub fn slc_apbwin_conf(&self) -> &SLC_APBWIN_CONF

0x104 - Description****

source

pub fn slc_apbwin_rdata(&self) -> &SLC_APBWIN_RDATA

0x108 - Description****

source

pub fn rdclr0(&self) -> &RDCLR0

0x10c - Description****

source

pub fn rdclr1(&self) -> &RDCLR1

0x110 - Description****

source

pub fn slc0host_int_ena1(&self) -> &SLC0HOST_INT_ENA1

0x114 - Description****

source

pub fn slc1host_int_ena1(&self) -> &SLC1HOST_INT_ENA1

0x118 - Description****

source

pub fn slchostdate(&self) -> &SLCHOSTDATE

0x178 - Description****

source

pub fn slchostid(&self) -> &SLCHOSTID

0x17c - Description****

source

pub fn conf(&self) -> &CONF

0x1f0 - Description****

source

pub fn inf_st(&self) -> &INF_ST

0x1f4 - Description****

Trait Implementations§

source§

impl Debug for SLCHOST

source§

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

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

impl Deref for SLCHOST

§

type Target = RegisterBlock

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Send for SLCHOST

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> 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>,

§

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>,

§

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.