Struct nrf52::temp::RegisterBlock [] [src]

#[repr(C)]
pub struct RegisterBlock { 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, // some fields omitted }

Register block

Fields

0x00 - Start temperature measurement

0x04 - Stop temperature measurement

0x100 - Temperature measurement complete, data ready

0x304 - Enable interrupt

0x308 - Disable interrupt

0x508 - Temperature in degC (0.25deg steps)

0x520 - Slope of 1st piece wise linear function

0x524 - Slope of 2nd piece wise linear function

0x528 - Slope of 3rd piece wise linear function

0x52c - Slope of 4th piece wise linear function

0x530 - Slope of 5th piece wise linear function

0x534 - Slope of 6th piece wise linear function

0x540 - y-intercept of 1st piece wise linear function

0x544 - y-intercept of 2nd piece wise linear function

0x548 - y-intercept of 3rd piece wise linear function

0x54c - y-intercept of 4th piece wise linear function

0x550 - y-intercept of 5th piece wise linear function

0x554 - y-intercept of 6th piece wise linear function

0x560 - End point of 1st piece wise linear function

0x564 - End point of 2nd piece wise linear function

0x568 - End point of 3rd piece wise linear function

0x56c - End point of 4th piece wise linear function

0x570 - End point of 5th piece wise linear function