Struct nrf5340_net_pac::temp_ns::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {Show 26 fields
pub tasks_start: Reg<TASKS_START_SPEC>,
pub tasks_stop: Reg<TASKS_STOP_SPEC>,
pub subscribe_start: Reg<SUBSCRIBE_START_SPEC>,
pub subscribe_stop: Reg<SUBSCRIBE_STOP_SPEC>,
pub events_datardy: Reg<EVENTS_DATARDY_SPEC>,
pub publish_datardy: Reg<PUBLISH_DATARDY_SPEC>,
pub intenset: Reg<INTENSET_SPEC>,
pub intenclr: Reg<INTENCLR_SPEC>,
pub temp: Reg<TEMP_SPEC>,
pub a0: Reg<A0_SPEC>,
pub a1: Reg<A1_SPEC>,
pub a2: Reg<A2_SPEC>,
pub a3: Reg<A3_SPEC>,
pub a4: Reg<A4_SPEC>,
pub a5: Reg<A5_SPEC>,
pub b0: Reg<B0_SPEC>,
pub b1: Reg<B1_SPEC>,
pub b2: Reg<B2_SPEC>,
pub b3: Reg<B3_SPEC>,
pub b4: Reg<B4_SPEC>,
pub b5: Reg<B5_SPEC>,
pub t0: Reg<T0_SPEC>,
pub t1: Reg<T1_SPEC>,
pub t2: Reg<T2_SPEC>,
pub t3: Reg<T3_SPEC>,
pub t4: Reg<T4_SPEC>,
/* private fields */
}Expand description
Register block
Fields
tasks_start: Reg<TASKS_START_SPEC>0x00 - Start temperature measurement
tasks_stop: Reg<TASKS_STOP_SPEC>0x04 - Stop temperature measurement
subscribe_start: Reg<SUBSCRIBE_START_SPEC>0x80 - Subscribe configuration for task START
subscribe_stop: Reg<SUBSCRIBE_STOP_SPEC>0x84 - Subscribe configuration for task STOP
events_datardy: Reg<EVENTS_DATARDY_SPEC>0x100 - Temperature measurement complete, data ready
publish_datardy: Reg<PUBLISH_DATARDY_SPEC>0x180 - Publish configuration for event DATARDY
intenset: Reg<INTENSET_SPEC>0x304 - Enable interrupt
intenclr: Reg<INTENCLR_SPEC>0x308 - Disable interrupt
temp: Reg<TEMP_SPEC>0x508 - Temperature in degC (0.25deg steps)
a0: Reg<A0_SPEC>0x520 - Slope of first piecewise linear function
a1: Reg<A1_SPEC>0x524 - Slope of second piecewise linear function
a2: Reg<A2_SPEC>0x528 - Slope of third piecewise linear function
a3: Reg<A3_SPEC>0x52c - Slope of fourth piecewise linear function
a4: Reg<A4_SPEC>0x530 - Slope of fifth piecewise linear function
a5: Reg<A5_SPEC>0x534 - Slope of sixth piecewise linear function
b0: Reg<B0_SPEC>0x540 - y-intercept of first piecewise linear function
b1: Reg<B1_SPEC>0x544 - y-intercept of second piecewise linear function
b2: Reg<B2_SPEC>0x548 - y-intercept of third piecewise linear function
b3: Reg<B3_SPEC>0x54c - y-intercept of fourth piecewise linear function
b4: Reg<B4_SPEC>0x550 - y-intercept of fifth piecewise linear function
b5: Reg<B5_SPEC>0x554 - y-intercept of sixth piecewise linear function
t0: Reg<T0_SPEC>0x560 - Endpoint of first piecewise linear function
t1: Reg<T1_SPEC>0x564 - Endpoint of second piecewise linear function
t2: Reg<T2_SPEC>0x568 - Endpoint of third piecewise linear function
t3: Reg<T3_SPEC>0x56c - Endpoint of fourth piecewise linear function
t4: Reg<T4_SPEC>0x570 - Endpoint of fifth piecewise linear function
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more