Struct esp32::pcnt::RegisterBlock

source ·
#[repr(C)]
pub struct RegisterBlock {
Show 32 fields pub u0_conf0: U_CONF0, pub u0_conf1: U_CONF1, pub u0_conf2: U_CONF2, pub u1_conf0: U_CONF0, pub u1_conf1: U_CONF1, pub u1_conf2: U_CONF2, pub u2_conf0: U_CONF0, pub u2_conf1: U_CONF1, pub u2_conf2: U_CONF2, pub u3_conf0: U_CONF0, pub u3_conf1: U_CONF1, pub u3_conf2: U_CONF2, pub u4_conf0: U_CONF0, pub u4_conf1: U_CONF1, pub u4_conf2: U_CONF2, pub u5_conf0: U_CONF0, pub u5_conf1: U_CONF1, pub u5_conf2: U_CONF2, pub u6_conf0: U_CONF0, pub u6_conf1: U_CONF1, pub u6_conf2: U_CONF2, pub u7_conf0: U_CONF0, pub u7_conf1: U_CONF1, pub u7_conf2: U_CONF2, pub u_cnt: [U_CNT; 8], pub int_raw: INT_RAW, pub int_st: INT_ST, pub int_ena: INT_ENA, pub int_clr: INT_CLR, pub u_status: [U_STATUS; 8], pub ctrl: CTRL, pub date: DATE, /* private fields */
}
Expand description

Register block

Fields§

§u0_conf0: U_CONF0

0x00 -

§u0_conf1: U_CONF1

0x04 -

§u0_conf2: U_CONF2

0x08 -

§u1_conf0: U_CONF0

0x0c -

§u1_conf1: U_CONF1

0x10 -

§u1_conf2: U_CONF2

0x14 -

§u2_conf0: U_CONF0

0x18 -

§u2_conf1: U_CONF1

0x1c -

§u2_conf2: U_CONF2

0x20 -

§u3_conf0: U_CONF0

0x24 -

§u3_conf1: U_CONF1

0x28 -

§u3_conf2: U_CONF2

0x2c -

§u4_conf0: U_CONF0

0x30 -

§u4_conf1: U_CONF1

0x34 -

§u4_conf2: U_CONF2

0x38 -

§u5_conf0: U_CONF0

0x3c -

§u5_conf1: U_CONF1

0x40 -

§u5_conf2: U_CONF2

0x44 -

§u6_conf0: U_CONF0

0x48 -

§u6_conf1: U_CONF1

0x4c -

§u6_conf2: U_CONF2

0x50 -

§u7_conf0: U_CONF0

0x54 -

§u7_conf1: U_CONF1

0x58 -

§u7_conf2: U_CONF2

0x5c -

§u_cnt: [U_CNT; 8]

0x60..0x80 -

§int_raw: INT_RAW

0x80 -

§int_st: INT_ST

0x84 -

§int_ena: INT_ENA

0x88 -

§int_clr: INT_CLR

0x8c -

§u_status: [U_STATUS; 8]

0x90..0xb0 -

§ctrl: CTRL

0xb0 -

§date: DATE

0xfc -

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · 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.
const: unstable · 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.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.