nrf5340_net_pac/
temp_ns.rs

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