Struct nrf52820_pac::temp::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {Show 23 fields
pub tasks_start: TASKS_START,
pub tasks_stop: TASKS_STOP,
pub events_datardy: EVENTS_DATARDY,
pub intenset: INTENSET,
pub intenclr: INTENCLR,
pub temp: TEMP,
pub a0: A0,
pub a1: A1,
pub a2: A2,
pub a3: A3,
pub a4: A4,
pub a5: A5,
pub b0: B0,
pub b1: B1,
pub b2: B2,
pub b3: B3,
pub b4: B4,
pub b5: B5,
pub t0: T0,
pub t1: T1,
pub t2: T2,
pub t3: T3,
pub t4: T4,
/* private fields */
}
Expand description
Register block
Fields
tasks_start: TASKS_START
0x00 - Start temperature measurement
tasks_stop: TASKS_STOP
0x04 - Stop temperature measurement
events_datardy: EVENTS_DATARDY
0x100 - Temperature measurement complete, data ready
intenset: INTENSET
0x304 - Enable interrupt
intenclr: INTENCLR
0x308 - Disable interrupt
temp: TEMP
0x508 - Temperature in degC (0.25deg steps)
a0: A0
0x520 - Slope of first piecewise linear function
a1: A1
0x524 - Slope of second piecewise linear function
a2: A2
0x528 - Slope of third piecewise linear function
a3: A3
0x52c - Slope of fourth piecewise linear function
a4: A4
0x530 - Slope of fifth piecewise linear function
a5: A5
0x534 - Slope of sixth piecewise linear function
b0: B0
0x540 - y-intercept of first piecewise linear function
b1: B1
0x544 - y-intercept of second piecewise linear function
b2: B2
0x548 - y-intercept of third piecewise linear function
b3: B3
0x54c - y-intercept of fourth piecewise linear function
b4: B4
0x550 - y-intercept of fifth piecewise linear function
b5: B5
0x554 - y-intercept of sixth piecewise linear function
t0: T0
0x560 - End point of first piecewise linear function
t1: T1
0x564 - End point of second piecewise linear function
t2: T2
0x568 - End point of third piecewise linear function
t3: T3
0x56c - End point of fourth piecewise linear function
t4: T4
0x570 - End point of fifth piecewise linear function