Struct nrf52832_hal::pac::temp::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 23 fields
pub tasks_start: Reg<TASKS_START_SPEC>,
pub tasks_stop: Reg<TASKS_STOP_SPEC>,
pub events_datardy: Reg<EVENTS_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
events_datardy: Reg<EVENTS_DATARDY_SPEC>
0x100 - Temperature measurement complete, data ready
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 1st piece wise linear function
a1: Reg<A1_SPEC>
0x524 - Slope of 2nd piece wise linear function
a2: Reg<A2_SPEC>
0x528 - Slope of 3rd piece wise linear function
a3: Reg<A3_SPEC>
0x52c - Slope of 4th piece wise linear function
a4: Reg<A4_SPEC>
0x530 - Slope of 5th piece wise linear function
a5: Reg<A5_SPEC>
0x534 - Slope of 6th piece wise linear function
b0: Reg<B0_SPEC>
0x540 - y-intercept of 1st piece wise linear function
b1: Reg<B1_SPEC>
0x544 - y-intercept of 2nd piece wise linear function
b2: Reg<B2_SPEC>
0x548 - y-intercept of 3rd piece wise linear function
b3: Reg<B3_SPEC>
0x54c - y-intercept of 4th piece wise linear function
b4: Reg<B4_SPEC>
0x550 - y-intercept of 5th piece wise linear function
b5: Reg<B5_SPEC>
0x554 - y-intercept of 6th piece wise linear function
t0: Reg<T0_SPEC>
0x560 - End point of 1st piece wise linear function
t1: Reg<T1_SPEC>
0x564 - End point of 2nd piece wise linear function
t2: Reg<T2_SPEC>
0x568 - End point of 3rd piece wise linear function
t3: Reg<T3_SPEC>
0x56c - End point of 4th piece wise linear function
t4: Reg<T4_SPEC>
0x570 - End point of 5th piece wise linear function