1 // ===========================================================================
2 // This file is autogenerated, please DO NOT modify!
3 //
4 // Generated on  2024-05-23 12:09:02
5 // by user:      developer
6 // on machine:   swtools
7 // CWD:          /home/developer/.conan/data/loki-lrf/8.11.00.04/library-lprf/eng/build/0c46501566d33cb4afdce9818f8c3e61ffe04c9a/build/lrfbledig/iar/pbe/generic
8 // Commandline:  /home/developer/.conan/data/loki-lrf/8.11.00.04/library-lprf/eng/build/0c46501566d33cb4afdce9818f8c3e61ffe04c9a/lrfbledig/../tools/topsm/regtxtconv.pl -x /home/developer/.conan/data/f65lokilrfbledig/1.3.19-1/library-lprf/eng/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/source/ti.com_LOKI_LRFBLEDIG_1.0.xml -f acr --devices CC2340R5:B (2.0) /home/developer/.conan/data/loki-lrf/8.11.00.04/library-lprf/eng/build/0c46501566d33cb4afdce9818f8c3e61ffe04c9a/lrfbledig/pbe/generic/doc/pbe_generic_ram_regs.txt /home/developer/.conan/data/loki-lrf/8.11.00.04/library-lprf/eng/build/0c46501566d33cb4afdce9818f8c3e61ffe04c9a/lrfbledig/pbe/generic/doc/pbe_generic_regdef_regs.txt
9 // C&P friendly: /home/developer/.conan/data/loki-lrf/8.11.00.04/library-lprf/eng/build/0c46501566d33cb4afdce9818f8c3e61ffe04c9a/lrfbledig/../tools/topsm/regtxtconv.pl -x /home/developer/.conan/data/f65lokilrfbledig/1.3.19-1/library-lprf/eng/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/source/ti.com_LOKI_LRFBLEDIG_1.0.xml -f acr --devices CC2340R5:B (2.0) /home/developer/.conan/data/loki-lrf/8.11.00.04/library-lprf/eng/build/0c46501566d33cb4afdce9818f8c3e61ffe04c9a/lrfbledig/pbe/generic/doc/pbe_generic_ram_regs.txt /home/developer/.conan/data/loki-lrf/8.11.00.04/library-lprf/eng/build/0c46501566d33cb4afdce9818f8c3e61ffe04c9a/lrfbledig/pbe/generic/doc/pbe_generic_regdef_regs.txt
10 //
11 // Relevant file version(s):
12 //
13 // /home/developer/.conan/data/loki-lrf/8.11.00.04/library-lprf/eng/build/0c46501566d33cb4afdce9818f8c3e61ffe04c9a/lrfbledig/../tools/topsm/regtxtconv.pl
14 //   rcs-info: (file not managed or unknown revision control system)
15 //   git-hash: 68a752a8737845355f7bdb320d25a59eac685840
16 //
17 // /home/developer/.conan/data/loki-lrf/8.11.00.04/library-lprf/eng/build/0c46501566d33cb4afdce9818f8c3e61ffe04c9a/lrfbledig/pbe/generic/doc/pbe_generic_regdef_regs.txt
18 //   rcs-info: (file not managed or unknown revision control system)
19 //   git-hash: 909cc6f86073545ee6bc3a4d5aa0343a4542ddcc
20 //
21 // ===========================================================================
22 
23 
24 #ifndef __PBE_GENERIC_REGDEF_REGS_H
25 #define __PBE_GENERIC_REGDEF_REGS_H
26 
27 //******************************************************************************
28 // REGISTER OFFSETS
29 //******************************************************************************
30 // Packet Building Engine (PBE) interrupt generation register
31 #define PBE_GENERIC_REGDEF_O_IRQ                                     0x00000010U
32 
33 // PBE API Operation Register
34 #define PBE_GENERIC_REGDEF_O_API                                     0x00000030U
35 
36 //******************************************************************************
37 // Register: IRQ
38 //******************************************************************************
39 // Field: [15:15] operror
40 //
41 // Software defined interrupt
42 #define PBE_GENERIC_REGDEF_IRQ_OPERROR                               0x00008000U
43 #define PBE_GENERIC_REGDEF_IRQ_OPERROR_M                             0x00008000U
44 #define PBE_GENERIC_REGDEF_IRQ_OPERROR_S                                     15U
45 #define PBE_GENERIC_REGDEF_IRQ_OPERROR_OFF                           0x00000000U
46 #define PBE_GENERIC_REGDEF_IRQ_OPERROR_ACTIVE                        0x00008000U
47 
48 // Field: [14:14] unused14
49 //
50 // Software defined interrupt
51 #define PBE_GENERIC_REGDEF_IRQ_UNUSED14                              0x00004000U
52 #define PBE_GENERIC_REGDEF_IRQ_UNUSED14_M                            0x00004000U
53 #define PBE_GENERIC_REGDEF_IRQ_UNUSED14_S                                    14U
54 #define PBE_GENERIC_REGDEF_IRQ_UNUSED14_OFF                          0x00000000U
55 #define PBE_GENERIC_REGDEF_IRQ_UNUSED14_ACTIVE                       0x00004000U
56 
57 // Field: [13:13] txdone
58 //
59 // Packet transmitted. MCU shall deallocate or retry.
60 #define PBE_GENERIC_REGDEF_IRQ_TXDONE                                0x00002000U
61 #define PBE_GENERIC_REGDEF_IRQ_TXDONE_M                              0x00002000U
62 #define PBE_GENERIC_REGDEF_IRQ_TXDONE_S                                      13U
63 #define PBE_GENERIC_REGDEF_IRQ_TXDONE_OFF                            0x00000000U
64 #define PBE_GENERIC_REGDEF_IRQ_TXDONE_ACTIVE                         0x00002000U
65 
66 // Field: [12:12] unused12
67 //
68 // Software defined interrupt
69 #define PBE_GENERIC_REGDEF_IRQ_UNUSED12                              0x00001000U
70 #define PBE_GENERIC_REGDEF_IRQ_UNUSED12_M                            0x00001000U
71 #define PBE_GENERIC_REGDEF_IRQ_UNUSED12_S                                    12U
72 #define PBE_GENERIC_REGDEF_IRQ_UNUSED12_OFF                          0x00000000U
73 #define PBE_GENERIC_REGDEF_IRQ_UNUSED12_ACTIVE                       0x00001000U
74 
75 // Field: [11:11] unused11
76 //
77 // Software defined interrupt
78 #define PBE_GENERIC_REGDEF_IRQ_UNUSED11                              0x00000800U
79 #define PBE_GENERIC_REGDEF_IRQ_UNUSED11_M                            0x00000800U
80 #define PBE_GENERIC_REGDEF_IRQ_UNUSED11_S                                    11U
81 #define PBE_GENERIC_REGDEF_IRQ_UNUSED11_OFF                          0x00000000U
82 #define PBE_GENERIC_REGDEF_IRQ_UNUSED11_ACTIVE                       0x00000800U
83 
84 // Field: [10:10] unused10
85 //
86 // Software defined interrupt
87 #define PBE_GENERIC_REGDEF_IRQ_UNUSED10                              0x00000400U
88 #define PBE_GENERIC_REGDEF_IRQ_UNUSED10_M                            0x00000400U
89 #define PBE_GENERIC_REGDEF_IRQ_UNUSED10_S                                    10U
90 #define PBE_GENERIC_REGDEF_IRQ_UNUSED10_OFF                          0x00000000U
91 #define PBE_GENERIC_REGDEF_IRQ_UNUSED10_ACTIVE                       0x00000400U
92 
93 // Field: [9:9] unused9
94 //
95 // Software defined interrupt
96 #define PBE_GENERIC_REGDEF_IRQ_UNUSED9                               0x00000200U
97 #define PBE_GENERIC_REGDEF_IRQ_UNUSED9_M                             0x00000200U
98 #define PBE_GENERIC_REGDEF_IRQ_UNUSED9_S                                      9U
99 #define PBE_GENERIC_REGDEF_IRQ_UNUSED9_OFF                           0x00000000U
100 #define PBE_GENERIC_REGDEF_IRQ_UNUSED9_ACTIVE                        0x00000200U
101 
102 // Field: [8:8] rxok
103 //
104 // Packet received with CRC OK and not to be ignored by the MCU
105 #define PBE_GENERIC_REGDEF_IRQ_RXOK                                  0x00000100U
106 #define PBE_GENERIC_REGDEF_IRQ_RXOK_M                                0x00000100U
107 #define PBE_GENERIC_REGDEF_IRQ_RXOK_S                                         8U
108 #define PBE_GENERIC_REGDEF_IRQ_RXOK_OFF                              0x00000000U
109 #define PBE_GENERIC_REGDEF_IRQ_RXOK_ACTIVE                           0x00000100U
110 
111 // Field: [7:7] rxfovfl
112 //
113 // Packet received which did not fit in the RX FIFO and was not to be discarded.
114 #define PBE_GENERIC_REGDEF_IRQ_RXFOVFL                               0x00000080U
115 #define PBE_GENERIC_REGDEF_IRQ_RXFOVFL_M                             0x00000080U
116 #define PBE_GENERIC_REGDEF_IRQ_RXFOVFL_S                                      7U
117 #define PBE_GENERIC_REGDEF_IRQ_RXFOVFL_OFF                           0x00000000U
118 #define PBE_GENERIC_REGDEF_IRQ_RXFOVFL_ACTIVE                        0x00000080U
119 
120 // Field: [6:6] unused6
121 //
122 // Software defined interrupt
123 #define PBE_GENERIC_REGDEF_IRQ_UNUSED6                               0x00000040U
124 #define PBE_GENERIC_REGDEF_IRQ_UNUSED6_M                             0x00000040U
125 #define PBE_GENERIC_REGDEF_IRQ_UNUSED6_S                                      6U
126 #define PBE_GENERIC_REGDEF_IRQ_UNUSED6_OFF                           0x00000000U
127 #define PBE_GENERIC_REGDEF_IRQ_UNUSED6_ACTIVE                        0x00000040U
128 
129 // Field: [5:5] rxign
130 //
131 // Packet received with correct CRC, but may be ignored by MCU
132 #define PBE_GENERIC_REGDEF_IRQ_RXIGN                                 0x00000020U
133 #define PBE_GENERIC_REGDEF_IRQ_RXIGN_M                               0x00000020U
134 #define PBE_GENERIC_REGDEF_IRQ_RXIGN_S                                        5U
135 #define PBE_GENERIC_REGDEF_IRQ_RXIGN_OFF                             0x00000000U
136 #define PBE_GENERIC_REGDEF_IRQ_RXIGN_ACTIVE                          0x00000020U
137 
138 // Field: [4:4] rxnok
139 //
140 // Packet received with CRC error, no data may be trusted
141 #define PBE_GENERIC_REGDEF_IRQ_RXNOK                                 0x00000010U
142 #define PBE_GENERIC_REGDEF_IRQ_RXNOK_M                               0x00000010U
143 #define PBE_GENERIC_REGDEF_IRQ_RXNOK_S                                        4U
144 #define PBE_GENERIC_REGDEF_IRQ_RXNOK_OFF                             0x00000000U
145 #define PBE_GENERIC_REGDEF_IRQ_RXNOK_ACTIVE                          0x00000010U
146 
147 // Field: [3:3] unused3
148 //
149 // Software defined interrupt
150 #define PBE_GENERIC_REGDEF_IRQ_UNUSED3                               0x00000008U
151 #define PBE_GENERIC_REGDEF_IRQ_UNUSED3_M                             0x00000008U
152 #define PBE_GENERIC_REGDEF_IRQ_UNUSED3_S                                      3U
153 #define PBE_GENERIC_REGDEF_IRQ_UNUSED3_OFF                           0x00000000U
154 #define PBE_GENERIC_REGDEF_IRQ_UNUSED3_ACTIVE                        0x00000008U
155 
156 // Field: [2:2] unused2
157 //
158 // Software defined interrupt
159 #define PBE_GENERIC_REGDEF_IRQ_UNUSED2                               0x00000004U
160 #define PBE_GENERIC_REGDEF_IRQ_UNUSED2_M                             0x00000004U
161 #define PBE_GENERIC_REGDEF_IRQ_UNUSED2_S                                      2U
162 #define PBE_GENERIC_REGDEF_IRQ_UNUSED2_OFF                           0x00000000U
163 #define PBE_GENERIC_REGDEF_IRQ_UNUSED2_ACTIVE                        0x00000004U
164 
165 // Field: [1:1] pingrsp
166 //
167 // PBE responds to PBEOP_PING, basic test to see if the battery is connected.
168 #define PBE_GENERIC_REGDEF_IRQ_PINGRSP                               0x00000002U
169 #define PBE_GENERIC_REGDEF_IRQ_PINGRSP_M                             0x00000002U
170 #define PBE_GENERIC_REGDEF_IRQ_PINGRSP_S                                      1U
171 #define PBE_GENERIC_REGDEF_IRQ_PINGRSP_OFF                           0x00000000U
172 #define PBE_GENERIC_REGDEF_IRQ_PINGRSP_ACTIVE                        0x00000002U
173 
174 // Field: [0:0] opdone
175 //
176 // The operation commanded on PBEAPI has completed succesfully.
177 #define PBE_GENERIC_REGDEF_IRQ_OPDONE                                0x00000001U
178 #define PBE_GENERIC_REGDEF_IRQ_OPDONE_M                              0x00000001U
179 #define PBE_GENERIC_REGDEF_IRQ_OPDONE_S                                       0U
180 #define PBE_GENERIC_REGDEF_IRQ_OPDONE_OFF                            0x00000000U
181 #define PBE_GENERIC_REGDEF_IRQ_OPDONE_ACTIVE                         0x00000001U
182 
183 //******************************************************************************
184 // Register: API
185 //******************************************************************************
186 // Field: [4:0] op
187 //
188 // PBE Operation
189 #define PBE_GENERIC_REGDEF_API_OP_W                                           5U
190 #define PBE_GENERIC_REGDEF_API_OP_M                                  0x0000001FU
191 #define PBE_GENERIC_REGDEF_API_OP_S                                           0U
192 #define PBE_GENERIC_REGDEF_API_OP_PING                               0x00000000U
193 #define PBE_GENERIC_REGDEF_API_OP_STOP                               0x00000001U
194 #define PBE_GENERIC_REGDEF_API_OP_EOPSTOP                            0x00000002U
195 #define PBE_GENERIC_REGDEF_API_OP_TX                                 0x00000010U
196 #define PBE_GENERIC_REGDEF_API_OP_RX                                 0x00000011U
197 #define PBE_GENERIC_REGDEF_API_OP_FS                                 0x00000012U
198 #define PBE_GENERIC_REGDEF_API_OP_STOPFS                             0x00000013U
199 
200 
201 #endif // __PBE_GENERIC_REGDEF_REGS_H
202