| Linduino 1.3.0 Linear Technology Arduino-Compatible Demonstration Board

LTC6952.h
Go to the documentation of this file.
1 /*!
2 LTC6952: Ultralow Jitter, 4.5GHz PLL with 11 Outputs and JESD204B Support
3
4 @verbatim
5 SPI DATA FORMAT (MSB First):
6
7 Write Sequence:
8 Byte #1 Byte #2
9 MOSI: A6 A5 A4 A3 A2 A1 A0 W D7 D6 D5 D4 D3 D2 D1 D0
10 MISO: X X X X X X X X X X X X X X X X
11
12 Read Sequence:
13 Byte #1 Byte #2
14 MOSI: A6 A5 A4 A3 A2 A1 A0 R X X X X X X X X
15 MISO: X X X X X X X X D7 D6 D5 D4 D3 D2 D1 D0
16
17 W : SPI Write (0)
18 R : SPI Read (1)
19 Ax : Address
20 Dx : Data Bits
21 X : Don't care
22
23 @endverbatim
24
25 http://www.linear.com/product/LTC6952
26
27 http://www.linear.com/product/LTC6952#demoboards
28
29
30 Copyright 2018(c) Analog Devices, Inc.
31
32 All rights reserved.
33
34 Redistribution and use in source and binary forms, with or without
35 modification, are permitted provided that the following conditions are met:
36 - Redistributions of source code must retain the above copyright
37 notice, this list of conditions and the following disclaimer.
38 - Redistributions in binary form must reproduce the above copyright
39 notice, this list of conditions and the following disclaimer in
40 the documentation and/or other materials provided with the
41 distribution.
42 - Neither the name of Analog Devices, Inc. nor the names of its
43 contributors may be used to endorse or promote products derived
44 from this software without specific prior written permission.
45 - The use of this software may or may not infringe the patent rights
46 of one or more patent holders. This license does not release you
47 from the requirement that you obtain separate licenses from these
48 patent holders to use this software.
49 - Use of the software either in source or binary form, must be run
50 on or directly connected to an Analog Devices Inc. component.
51
52 THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR
53 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT,
54 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
55 IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT,
56 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
57 LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, PROCUREMENT OF SUBSTITUTE GOODS OR
58 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
59 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
60 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
61 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
62 */
63
64 /*! @file
65 @ingroup LTC6952
66 Header for LTC6952: Ultralow Jitter, 4.5GHz PLL with 11 Outputs and JESD204B Support
67 */
68
69 #ifndef LTC6952_H
70
71 #define LTC6952_H
72
73
74 //! Define the SPI CS pin
75 #ifndef LTC6952_CS
76 #define LTC6952_CS QUIKEVAL_CS //! SPI Chip Select Pin
77 #endif
78
79
80 #define LTC6952_ADEL0 1 //!< for spi_map array, defines location for field specific information used to create the spi map
81 #define LTC6952_ADEL1 2 //!< for spi_map array, defines location for field specific information used to create the spi map
82 #define LTC6952_ADEL2 3 //!< for spi_map array, defines location for field specific information used to create the spi map
83 #define LTC6952_ADEL3 4 //!< for spi_map array, defines location for field specific information used to create the spi map
84 #define LTC6952_ADEL4 5 //!< for spi_map array, defines location for field specific information used to create the spi map
85 #define LTC6952_ADEL5 6 //!< for spi_map array, defines location for field specific information used to create the spi map
86 #define LTC6952_ADEL6 7 //!< for spi_map array, defines location for field specific information used to create the spi map
87 #define LTC6952_ADEL7 8 //!< for spi_map array, defines location for field specific information used to create the spi map
88 #define LTC6952_ADEL8 9 //!< for spi_map array, defines location for field specific information used to create the spi map
89 #define LTC6952_ADEL9 10 //!< for spi_map array, defines location for field specific information used to create the spi map
90 #define LTC6952_ADEL10 11 //!< for spi_map array, defines location for field specific information used to create the spi map
91 #define LTC6952_BST 12 //!< for spi_map array, defines location for field specific information used to create the spi map
92 #define LTC6952_CP 13 //!< for spi_map array, defines location for field specific information used to create the spi map
93 #define LTC6952_CPDN 14 //!< for spi_map array, defines location for field specific information used to create the spi map
94 #define LTC6952_CPINV 15 //!< for spi_map array, defines location for field specific information used to create the spi map
95 #define LTC6952_CPMID 16 //!< for spi_map array, defines location for field specific information used to create the spi map
96 #define LTC6952_CPRST 17 //!< for spi_map array, defines location for field specific information used to create the spi map
97 #define LTC6952_CPUP 18 //!< for spi_map array, defines location for field specific information used to create the spi map
98 #define LTC6952_CPWIDE 19 //!< for spi_map array, defines location for field specific information used to create the spi map
99 #define LTC6952_DDEL0 20 //!< for spi_map array, defines location for field specific information used to create the spi map
100 #define LTC6952_DDEL1 21 //!< for spi_map array, defines location for field specific information used to create the spi map
101 #define LTC6952_DDEL2 22 //!< for spi_map array, defines location for field specific information used to create the spi map
102 #define LTC6952_DDEL3 23 //!< for spi_map array, defines location for field specific information used to create the spi map
103 #define LTC6952_DDEL4 24 //!< for spi_map array, defines location for field specific information used to create the spi map
104 #define LTC6952_DDEL5 25 //!< for spi_map array, defines location for field specific information used to create the spi map
105 #define LTC6952_DDEL6 26 //!< for spi_map array, defines location for field specific information used to create the spi map
106 #define LTC6952_DDEL7 27 //!< for spi_map array, defines location for field specific information used to create the spi map
107 #define LTC6952_DDEL8 28 //!< for spi_map array, defines location for field specific information used to create the spi map
108 #define LTC6952_DDEL9 29 //!< for spi_map array, defines location for field specific information used to create the spi map
109 #define LTC6952_DDEL10 30 //!< for spi_map array, defines location for field specific information used to create the spi map
110 #define LTC6952_EZMD 31 //!< for spi_map array, defines location for field specific information used to create the spi map
111 #define LTC6952_FILTR 32 //!< for spi_map array, defines location for field specific information used to create the spi map
112 #define LTC6952_FILTV 33 //!< for spi_map array, defines location for field specific information used to create the spi map
113 #define LTC6952_INVSTAT 34 //!< for spi_map array, defines location for field specific information used to create the spi map
114 #define LTC6952_LKCT 35 //!< for spi_map array, defines location for field specific information used to create the spi map
115 #define LTC6952_LKWIN 36 //!< for spi_map array, defines location for field specific information used to create the spi map
116 #define LTC6952_nLOCK 37 //!< for spi_map array, defines location for field specific information used to create the spi map
117 #define LTC6952_LOCK 38 //!< for spi_map array, defines location for field specific information used to create the spi map
118 #define LTC6952_MD0 39 //!< for spi_map array, defines location for field specific information used to create the spi map
119 #define LTC6952_MD1 40 //!< for spi_map array, defines location for field specific information used to create the spi map
120 #define LTC6952_MD2 41 //!< for spi_map array, defines location for field specific information used to create the spi map
121 #define LTC6952_MD3 42 //!< for spi_map array, defines location for field specific information used to create the spi map
122 #define LTC6952_MD4 43 //!< for spi_map array, defines location for field specific information used to create the spi map
123 #define LTC6952_MD5 44 //!< for spi_map array, defines location for field specific information used to create the spi map
124 #define LTC6952_MD6 45 //!< for spi_map array, defines location for field specific information used to create the spi map
125 #define LTC6952_MD7 46 //!< for spi_map array, defines location for field specific information used to create the spi map
126 #define LTC6952_MD8 47 //!< for spi_map array, defines location for field specific information used to create the spi map
127 #define LTC6952_MD9 48 //!< for spi_map array, defines location for field specific information used to create the spi map
128 #define LTC6952_MD10 49 //!< for spi_map array, defines location for field specific information used to create the spi map
129 #define LTC6952_MODE0 50 //!< for spi_map array, defines location for field specific information used to create the spi map
130 #define LTC6952_MODE1 51 //!< for spi_map array, defines location for field specific information used to create the spi map
131 #define LTC6952_MODE2 52 //!< for spi_map array, defines location for field specific information used to create the spi map
132 #define LTC6952_MODE3 53 //!< for spi_map array, defines location for field specific information used to create the spi map
133 #define LTC6952_MODE4 54 //!< for spi_map array, defines location for field specific information used to create the spi map
134 #define LTC6952_MODE5 55 //!< for spi_map array, defines location for field specific information used to create the spi map
135 #define LTC6952_MODE6 56 //!< for spi_map array, defines location for field specific information used to create the spi map
136 #define LTC6952_MODE7 57 //!< for spi_map array, defines location for field specific information used to create the spi map
137 #define LTC6952_MODE8 58 //!< for spi_map array, defines location for field specific information used to create the spi map
138 #define LTC6952_MODE9 59 //!< for spi_map array, defines location for field specific information used to create the spi map
139 #define LTC6952_MODE10 60 //!< for spi_map array, defines location for field specific information used to create the spi map
140 #define LTC6952_MP0 61 //!< for spi_map array, defines location for field specific information used to create the spi map
141 #define LTC6952_MP1 62 //!< for spi_map array, defines location for field specific information used to create the spi map
142 #define LTC6952_MP2 63 //!< for spi_map array, defines location for field specific information used to create the spi map
143 #define LTC6952_MP3 64 //!< for spi_map array, defines location for field specific information used to create the spi map
144 #define LTC6952_MP4 65 //!< for spi_map array, defines location for field specific information used to create the spi map
145 #define LTC6952_MP5 66 //!< for spi_map array, defines location for field specific information used to create the spi map
146 #define LTC6952_MP6 67 //!< for spi_map array, defines location for field specific information used to create the spi map
147 #define LTC6952_MP7 68 //!< for spi_map array, defines location for field specific information used to create the spi map
148 #define LTC6952_MP8 69 //!< for spi_map array, defines location for field specific information used to create the spi map
149 #define LTC6952_MP9 70 //!< for spi_map array, defines location for field specific information used to create the spi map
150 #define LTC6952_MP10 71 //!< for spi_map array, defines location for field specific information used to create the spi map
151 #define LTC6952_ND 72 //!< for spi_map array, defines location for field specific information used to create the spi map
152 #define LTC6952_OINV0 73 //!< for spi_map array, defines location for field specific information used to create the spi map
153 #define LTC6952_OINV1 74 //!< for spi_map array, defines location for field specific information used to create the spi map
154 #define LTC6952_OINV2 75 //!< for spi_map array, defines location for field specific information used to create the spi map
155 #define LTC6952_OINV3 76 //!< for spi_map array, defines location for field specific information used to create the spi map
156 #define LTC6952_OINV4 77 //!< for spi_map array, defines location for field specific information used to create the spi map
157 #define LTC6952_OINV5 78 //!< for spi_map array, defines location for field specific information used to create the spi map
158 #define LTC6952_OINV6 79 //!< for spi_map array, defines location for field specific information used to create the spi map
159 #define LTC6952_OINV7 80 //!< for spi_map array, defines location for field specific information used to create the spi map
160 #define LTC6952_OINV8 81 //!< for spi_map array, defines location for field specific information used to create the spi map
161 #define LTC6952_OINV9 82 //!< for spi_map array, defines location for field specific information used to create the spi map
162 #define LTC6952_OINV10 83 //!< for spi_map array, defines location for field specific information used to create the spi map
163 #define LTC6952_PARSYNC 84 //!< for spi_map array, defines location for field specific information used to create the spi map
164 #define LTC6952_PART 85 //!< for spi_map array, defines location for field specific information used to create the spi map
165 #define LTC6952_PDALL 86 //!< for spi_map array, defines location for field specific information used to create the spi map
166 #define LTC6952_PDPLL 87 //!< for spi_map array, defines location for field specific information used to create the spi map
167 #define LTC6952_PDREFPK 88 //!< for spi_map array, defines location for field specific information used to create the spi map
168 #define LTC6952_PDVCOPK 89 //!< for spi_map array, defines location for field specific information used to create the spi map
169 #define LTC6952_PD10 90 //!< for spi_map array, defines location for field specific information used to create the spi map
170 #define LTC6952_PD9 91 //!< for spi_map array, defines location for field specific information used to create the spi map
171 #define LTC6952_PD8 92 //!< for spi_map array, defines location for field specific information used to create the spi map
172 #define LTC6952_PD7 93 //!< for spi_map array, defines location for field specific information used to create the spi map
173 #define LTC6952_PD6 94 //!< for spi_map array, defines location for field specific information used to create the spi map
174 #define LTC6952_PD5 95 //!< for spi_map array, defines location for field specific information used to create the spi map
175 #define LTC6952_PD4 96 //!< for spi_map array, defines location for field specific information used to create the spi map
176 #define LTC6952_PD3 97 //!< for spi_map array, defines location for field specific information used to create the spi map
177 #define LTC6952_PD2 98 //!< for spi_map array, defines location for field specific information used to create the spi map
178 #define LTC6952_PD1 99 //!< for spi_map array, defines location for field specific information used to create the spi map
179 #define LTC6952_PD0 100 //!< for spi_map array, defines location for field specific information used to create the spi map
180 #define LTC6952_POR 101 //!< for spi_map array, defines location for field specific information used to create the spi map
181 #define LTC6952_RAO 102 //!< for spi_map array, defines location for field specific information used to create the spi map
182 #define LTC6952_RD 103 //!< for spi_map array, defines location for field specific information used to create the spi map
183 #define LTC6952_nREFOK 104 //!< for spi_map array, defines location for field specific information used to create the spi map
184 #define LTC6952_REFOK 105 //!< for spi_map array, defines location for field specific information used to create the spi map
185 #define LTC6952_REV 106 //!< for spi_map array, defines location for field specific information used to create the spi map
186 #define LTC6952_SYSCT 107 //!< for spi_map array, defines location for field specific information used to create the spi map
187 #define LTC6952_SRQMD 108 //!< for spi_map array, defines location for field specific information used to create the spi map
188 #define LTC6952_SSRQ 109 //!< for spi_map array, defines location for field specific information used to create the spi map
189 #define LTC6952_SRQEN0 110 //!< for spi_map array, defines location for field specific information used to create the spi map
190 #define LTC6952_SRQEN1 111 //!< for spi_map array, defines location for field specific information used to create the spi map
191 #define LTC6952_SRQEN2 112 //!< for spi_map array, defines location for field specific information used to create the spi map
192 #define LTC6952_SRQEN3 113 //!< for spi_map array, defines location for field specific information used to create the spi map
193 #define LTC6952_SRQEN4 114 //!< for spi_map array, defines location for field specific information used to create the spi map
194 #define LTC6952_SRQEN5 115 //!< for spi_map array, defines location for field specific information used to create the spi map
195 #define LTC6952_SRQEN6 116 //!< for spi_map array, defines location for field specific information used to create the spi map
196 #define LTC6952_SRQEN7 117 //!< for spi_map array, defines location for field specific information used to create the spi map
197 #define LTC6952_SRQEN8 118 //!< for spi_map array, defines location for field specific information used to create the spi map
198 #define LTC6952_SRQEN9 119 //!< for spi_map array, defines location for field specific information used to create the spi map
199 #define LTC6952_SRQEN10 120 //!< for spi_map array, defines location for field specific information used to create the spi map
200 #define LTC6952_TEMPO 121 //!< for spi_map array, defines location for field specific information used to create the spi map
201 #define LTC6952_UNLOCK 122 //!< for spi_map array, defines location for field specific information used to create the spi map
202 #define LTC6952_nVCOOK 123 //!< for spi_map array, defines location for field specific information used to create the spi map
203 #define LTC6952_VCOOK 124 //!< for spi_map array, defines location for field specific information used to create the spi map
204 #define LTC6952_x 125 //!< for spi_map array, defines location for field specific information used to create the spi map
205
206 #define LTC6952_NUM_REGADDR 57 //!< Defines number of LTC6952 SPI registers, used in spi_map array
207 #define LTC6952_NUM_REGFIELD 125 //!< Defines number of LTC6952 SPI fields, used in spi_map array
208
209 #define ADDRx 0 //!< used for 2nd dim of 2d spi_map array
210 #define DxMSB 1 //!< used for 2nd dim of 2d spi_map array
211 #define NUMBITS 2 //!< used for 2nd dim of 2d spi_map array
212 #define R_ONLY 3 //!< used for 2nd dim of 2d spi_map array
213
214 //! @} */
215
216 /* ------------------------------------------------------------------------- */
217 //! LTC6952 Read Single Address
218 //! reads 8 bit Data field to LTC6952.
219 //! has to shift data by one bit to account for RW bit
220 //! @return data that was read from address
221 uint8_t LTC6952_read(uint8_t cs, //!< Chip Select Pin
222 int8_t address //!< Register address for the LTC6952.
223 );
224
225
226 /* ------------------------------------------------------------------------- */
227 //! LTC6952 Read Single Field
228 //! For SPI FIELDS located in 1 or multiple address location
229 //! reads specific address locations
230 //! identifies and returns specific field in question
231 //! can handle SPI fields in multiple addresses, if MSB bit is in the lower number address
232 //! @return data that was read from field
233 long LTC6952_read_field(uint8_t cs, //!< Chip Select Pin
234 uint8_t address, //!< Register address for the LTC6952.
235 uint8_t MSB_loc, //!< MSB bit location of field
236 uint8_t numbits //!< length of field (i.e. number of bits in field)
237 );
238
239
240 /* ------------------------------------------------------------------------- */
241 //! Gets the LTC6952 SPI field value
242 //! calls function LTC6952_read_field, which
243 //! reads specific address locations
244 //! identifies and returns specific field in question
245 //! can handle SPI fields in multiple addresses, if MSB bit is in the lower number address
246 //! @return data that was read from field
247 long get_LTC6952_SPI_FIELD(uint8_t cs, //!< Chip Select Pin
248 uint8_t f //!< SPI field number
249 );
250
251
252 /* ------------------------------------------------------------------------- */
253 //! LTC6952 Write Single Address
254 //! writes 8 bit Data field to LTC6952.
255 //! has to shift data by one bit to account for RW bit
256 //! @return void
257 void LTC6952_write(uint8_t cs, //!< Chip Select Pin
258 uint8_t address, //!< Register address for the LTC6952.
259 uint8_t Data //!< 8-bit data to be written to register
260 );
261
262
263 /* ------------------------------------------------------------------------- */
264 //! LTC6952 Write Single Field
265 //! For SPI FIELDS in 1 or multiple address locations
266 //! reads specific address/field location then writes to specific field
267 //! can handle SPI fields in multiple addresses, if MSB bit is in the lower number address
268 //! @return void
269 uint8_t LTC6952_write_field(uint8_t cs, //!< Chip Select Pin
270 long field_data, //!< Value field value to be set to
271 uint8_t address, //!< Register address for the LTC6952.
272 uint8_t MSB_loc, //!< MSB bit location of field
273 uint8_t numbits //!< length of field (i.e. number of bits in field)
274 );
275
276
277 /* ------------------------------------------------------------------------- */
278 //! Sets the LTC6952 SPI field value
279 //! calls function LTC6952_read_field, which
280 //! reads specific address/field location then writes to specific field
281 //! can handle SPI fields in multiple addresses, if MSB bit is in the lower number address
282 //! @return void
283 void set_LTC6952_SPI_FIELD(uint8_t cs, //!< Chip Select Pin
284 uint8_t f, //!< SPI field number
285 long field_data //!< Value field value to be set to
286 );
287
288
289 /* ------------------------------------------------------------------------- */
290 //! Writes values to ALL LTC6952 RW addresses from a look-up table
291 //! - uses the Multi-byte write option for more efficient data transfer
292 //! - Either SPI Syncs or recommends the use to SYNC pin based on RAO value
293 //! @return void
294 void set_LTC6952_REGS_lkup_tbl(uint8_t lkup_tbl_row //!< Any number 0-2, lookup table has 2 options
295 );
296
297 /* ------------------------------------------------------------------------- */
298 //! Initializes the SPI MAP arrays
299 //! The values set in initialization are used for all the LTC6952 SPI/WRITE and
300 //! read functions (set_LTC6952_SPI_FIELD, get_LTC6952_SPI_FIELD,
301 //! LTC6952_read, LTC6952_write, etc, etc)
302 //! @return void
303 void LTC6952_init();
304
305
306 /* ------------------------------------------------------------------------- */
307 //! returns # of addresses in parts register map (array size)
308 //! @return # of addresses in parts register map
309 uint8_t get_LTC6952_REGSIZE();
310
311
312 /* ------------------------------------------------------------------------- */
313 //! returns the number of bits for a given field name in the SPI map
314 //! @return the number of bits for a given field name in the SPI map
315 uint8_t get_LTC6952_SPI_FIELD_NUMBITS(uint8_t f //!< SPI field number
316 );
317
318
319 /* ------------------------------------------------------------------------- */
320 //! returns if the given field name is (0)read/write or (1)read_only field
321 //! @return if the given field is a (0)read/write or (1)read_only field
322 uint8_t get_LTC6952_SPI_FIELD_RW(uint8_t f //!< SPI field number
323 ) ;
324
325 /* ------------------------------------------------------------------------- */
326 //! Read the ID string from the EEPROM and determine if any demo board is connected.
327 //! Returns 1 if successful, 0 if not successful
328 int8_t discover_demo_board_local(char *demo_name
329 );
330
331 #endif // LTC6952_H
set_LTC6952_REGS_lkup_tbl
void set_LTC6952_REGS_lkup_tbl(uint8_t lkup_tbl_row)
Writes values to ALL LTC6952 RW addresses from a look-up table.
Definition: LTC6952.cpp:305
LTC6952_read
uint8_t LTC6952_read(uint8_t cs, int8_t address)
LTC6952 Read Single Address reads 8 bit Data field to LTC6952.
Definition: LTC6952.cpp:100
discover_demo_board_local
int8_t discover_demo_board_local(char *demo_name)
Read the ID string from the EEPROM and determine if any demo board is connected.
Definition: LTC6951.cpp:831
LTC6952_read_field
long LTC6952_read_field(uint8_t cs, uint8_t address, uint8_t MSB_loc, uint8_t numbits)
LTC6952 Read Single Field For SPI FIELDS located in 1 or multiple address location reads specific add...
Definition: LTC6952.cpp:120
LTC6952_init
void LTC6952_init()
Initializes the SPI MAP arrays The values set in initialization are used for all the LTC6952 SPI/WRIT...
Definition: LTC6952.cpp:355
LTC6952_write
void LTC6952_write(uint8_t cs, uint8_t address, uint8_t Data)
LTC6952 Write Single Address writes 8 bit Data field to LTC6952.
Definition: LTC6952.cpp:177
address
static uint8_t address
Definition: DC2091A.ino:83
set_LTC6952_SPI_FIELD
void set_LTC6952_SPI_FIELD(uint8_t cs, uint8_t f, long field_data)
Sets the LTC6952 SPI field value calls function LTC6952_read_field, which reads specific address/fiel...
Definition: LTC6952.cpp:283
get_LTC6952_SPI_FIELD_RW
uint8_t get_LTC6952_SPI_FIELD_RW(uint8_t f)
returns if the given field name is (0)read/write or (1)read_only field
Definition: LTC6952.cpp:267
get_LTC6952_SPI_FIELD_NUMBITS
uint8_t get_LTC6952_SPI_FIELD_NUMBITS(uint8_t f)
returns the number of bits for a given field name in the SPI map
Definition: LTC6952.cpp:254
get_LTC6952_REGSIZE
uint8_t get_LTC6952_REGSIZE()
returns # of addresses in parts register map (array size)
Definition: LTC6952.cpp:244
demo_name
char demo_name[]
Demo Board Name stored in QuikEval EEPROM.
Definition: DC1880A.ino:97
LTC6952_write_field
uint8_t LTC6952_write_field(uint8_t cs, long field_data, uint8_t address, uint8_t MSB_loc, uint8_t numbits)
LTC6952 Write Single Field For SPI FIELDS in 1 or multiple address locations reads specific address/f...
Definition: LTC6952.cpp:193
get_LTC6952_SPI_FIELD
long get_LTC6952_SPI_FIELD(uint8_t cs, uint8_t f)
Gets the LTC6952 SPI field value calls function LTC6952_read_field, which reads specific address loca...
Definition: LTC6952.cpp:156