1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4#[doc = "0x00 - Start temperature measurement"]
5pub tasks_start: TASKS_START,
6#[doc = "0x04 - Stop temperature measurement"]
7pub tasks_stop: TASKS_STOP,
8 _reserved2: [u8; 0xf8],
9#[doc = "0x100 - Temperature measurement complete, data ready"]
10pub events_datardy: EVENTS_DATARDY,
11 _reserved3: [u8; 0x0200],
12#[doc = "0x304 - Enable interrupt"]
13pub intenset: INTENSET,
14#[doc = "0x308 - Disable interrupt"]
15pub intenclr: INTENCLR,
16 _reserved5: [u8; 0x01fc],
17#[doc = "0x508 - Temperature in degC (0.25deg steps)"]
18pub temp: TEMP,
19 _reserved6: [u8; 0x14],
20#[doc = "0x520 - Slope of 1st piece wise linear function"]
21pub a0: A0,
22#[doc = "0x524 - Slope of 2nd piece wise linear function"]
23pub a1: A1,
24#[doc = "0x528 - Slope of 3rd piece wise linear function"]
25pub a2: A2,
26#[doc = "0x52c - Slope of 4th piece wise linear function"]
27pub a3: A3,
28#[doc = "0x530 - Slope of 5th piece wise linear function"]
29pub a4: A4,
30#[doc = "0x534 - Slope of 6th piece wise linear function"]
31pub a5: A5,
32 _reserved12: [u8; 0x08],
33#[doc = "0x540 - y-intercept of 1st piece wise linear function"]
34pub b0: B0,
35#[doc = "0x544 - y-intercept of 2nd piece wise linear function"]
36pub b1: B1,
37#[doc = "0x548 - y-intercept of 3rd piece wise linear function"]
38pub b2: B2,
39#[doc = "0x54c - y-intercept of 4th piece wise linear function"]
40pub b3: B3,
41#[doc = "0x550 - y-intercept of 5th piece wise linear function"]
42pub b4: B4,
43#[doc = "0x554 - y-intercept of 6th piece wise linear function"]
44pub b5: B5,
45 _reserved18: [u8; 0x08],
46#[doc = "0x560 - End point of 1st piece wise linear function"]
47pub t0: T0,
48#[doc = "0x564 - End point of 2nd piece wise linear function"]
49pub t1: T1,
50#[doc = "0x568 - End point of 3rd piece wise linear function"]
51pub t2: T2,
52#[doc = "0x56c - End point of 4th piece wise linear function"]
53pub t3: T3,
54#[doc = "0x570 - End point of 5th piece wise linear function"]
55pub t4: T4,
56}
57#[doc = "TASKS_START (w) register accessor: an alias for `Reg<TASKS_START_SPEC>`"]
58pub type TASKS_START = crate::Reg<tasks_start::TASKS_START_SPEC>;
59#[doc = "Start temperature measurement"]
60pub mod tasks_start;
61#[doc = "TASKS_STOP (w) register accessor: an alias for `Reg<TASKS_STOP_SPEC>`"]
62pub type TASKS_STOP = crate::Reg<tasks_stop::TASKS_STOP_SPEC>;
63#[doc = "Stop temperature measurement"]
64pub mod tasks_stop;
65#[doc = "EVENTS_DATARDY (rw) register accessor: an alias for `Reg<EVENTS_DATARDY_SPEC>`"]
66pub type EVENTS_DATARDY = crate::Reg<events_datardy::EVENTS_DATARDY_SPEC>;
67#[doc = "Temperature measurement complete, data ready"]
68pub mod events_datardy;
69#[doc = "INTENSET (rw) register accessor: an alias for `Reg<INTENSET_SPEC>`"]
70pub type INTENSET = crate::Reg<intenset::INTENSET_SPEC>;
71#[doc = "Enable interrupt"]
72pub mod intenset;
73#[doc = "INTENCLR (rw) register accessor: an alias for `Reg<INTENCLR_SPEC>`"]
74pub type INTENCLR = crate::Reg<intenclr::INTENCLR_SPEC>;
75#[doc = "Disable interrupt"]
76pub mod intenclr;
77#[doc = "TEMP (r) register accessor: an alias for `Reg<TEMP_SPEC>`"]
78pub type TEMP = crate::Reg<temp::TEMP_SPEC>;
79#[doc = "Temperature in degC (0.25deg steps)"]
80pub mod temp;
81#[doc = "A0 (rw) register accessor: an alias for `Reg<A0_SPEC>`"]
82pub type A0 = crate::Reg<a0::A0_SPEC>;
83#[doc = "Slope of 1st piece wise linear function"]
84pub mod a0;
85#[doc = "A1 (rw) register accessor: an alias for `Reg<A1_SPEC>`"]
86pub type A1 = crate::Reg<a1::A1_SPEC>;
87#[doc = "Slope of 2nd piece wise linear function"]
88pub mod a1;
89#[doc = "A2 (rw) register accessor: an alias for `Reg<A2_SPEC>`"]
90pub type A2 = crate::Reg<a2::A2_SPEC>;
91#[doc = "Slope of 3rd piece wise linear function"]
92pub mod a2;
93#[doc = "A3 (rw) register accessor: an alias for `Reg<A3_SPEC>`"]
94pub type A3 = crate::Reg<a3::A3_SPEC>;
95#[doc = "Slope of 4th piece wise linear function"]
96pub mod a3;
97#[doc = "A4 (rw) register accessor: an alias for `Reg<A4_SPEC>`"]
98pub type A4 = crate::Reg<a4::A4_SPEC>;
99#[doc = "Slope of 5th piece wise linear function"]
100pub mod a4;
101#[doc = "A5 (rw) register accessor: an alias for `Reg<A5_SPEC>`"]
102pub type A5 = crate::Reg<a5::A5_SPEC>;
103#[doc = "Slope of 6th piece wise linear function"]
104pub mod a5;
105#[doc = "B0 (rw) register accessor: an alias for `Reg<B0_SPEC>`"]
106pub type B0 = crate::Reg<b0::B0_SPEC>;
107#[doc = "y-intercept of 1st piece wise linear function"]
108pub mod b0;
109#[doc = "B1 (rw) register accessor: an alias for `Reg<B1_SPEC>`"]
110pub type B1 = crate::Reg<b1::B1_SPEC>;
111#[doc = "y-intercept of 2nd piece wise linear function"]
112pub mod b1;
113#[doc = "B2 (rw) register accessor: an alias for `Reg<B2_SPEC>`"]
114pub type B2 = crate::Reg<b2::B2_SPEC>;
115#[doc = "y-intercept of 3rd piece wise linear function"]
116pub mod b2;
117#[doc = "B3 (rw) register accessor: an alias for `Reg<B3_SPEC>`"]
118pub type B3 = crate::Reg<b3::B3_SPEC>;
119#[doc = "y-intercept of 4th piece wise linear function"]
120pub mod b3;
121#[doc = "B4 (rw) register accessor: an alias for `Reg<B4_SPEC>`"]
122pub type B4 = crate::Reg<b4::B4_SPEC>;
123#[doc = "y-intercept of 5th piece wise linear function"]
124pub mod b4;
125#[doc = "B5 (rw) register accessor: an alias for `Reg<B5_SPEC>`"]
126pub type B5 = crate::Reg<b5::B5_SPEC>;
127#[doc = "y-intercept of 6th piece wise linear function"]
128pub mod b5;
129#[doc = "T0 (rw) register accessor: an alias for `Reg<T0_SPEC>`"]
130pub type T0 = crate::Reg<t0::T0_SPEC>;
131#[doc = "End point of 1st piece wise linear function"]
132pub mod t0;
133#[doc = "T1 (rw) register accessor: an alias for `Reg<T1_SPEC>`"]
134pub type T1 = crate::Reg<t1::T1_SPEC>;
135#[doc = "End point of 2nd piece wise linear function"]
136pub mod t1;
137#[doc = "T2 (rw) register accessor: an alias for `Reg<T2_SPEC>`"]
138pub type T2 = crate::Reg<t2::T2_SPEC>;
139#[doc = "End point of 3rd piece wise linear function"]
140pub mod t2;
141#[doc = "T3 (rw) register accessor: an alias for `Reg<T3_SPEC>`"]
142pub type T3 = crate::Reg<t3::T3_SPEC>;
143#[doc = "End point of 4th piece wise linear function"]
144pub mod t3;
145#[doc = "T4 (rw) register accessor: an alias for `Reg<T4_SPEC>`"]
146pub type T4 = crate::Reg<t4::T4_SPEC>;
147#[doc = "End point of 5th piece wise linear function"]
148pub mod t4;