Struct nrf52840_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 1st piece wise linear function
a1: A1
0x524 - Slope of 2nd piece wise linear function
a2: A2
0x528 - Slope of 3rd piece wise linear function
a3: A3
0x52c - Slope of 4th piece wise linear function
a4: A4
0x530 - Slope of 5th piece wise linear function
a5: A5
0x534 - Slope of 6th piece wise linear function
b0: B0
0x540 - y-intercept of 1st piece wise linear function
b1: B1
0x544 - y-intercept of 2nd piece wise linear function
b2: B2
0x548 - y-intercept of 3rd piece wise linear function
b3: B3
0x54c - y-intercept of 4th piece wise linear function
b4: B4
0x550 - y-intercept of 5th piece wise linear function
b5: B5
0x554 - y-intercept of 6th piece wise linear function
t0: T0
0x560 - End point of 1st piece wise linear function
t1: T1
0x564 - End point of 2nd piece wise linear function
t2: T2
0x568 - End point of 3rd piece wise linear function
t3: T3
0x56c - End point of 4th piece wise linear function
t4: T4
0x570 - End point of 5th piece wise linear function