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§
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more