| LibDriver LLCC68 1.0.0 LLCC68 full function driver

driver_llcc68_cad_test.c
Go to the documentation of this file.
1
37 #include "driver_llcc68_cad_test.h"
38
39 static llcc68_handle_t gs_handle;
48 uint8_t llcc68_cad_test_irq_handler(void)
49 {
50 if (llcc68_irq_handler(&gs_handle) != 0)
51 {
52 return 1;
53 }
54 else
55 {
56 return 0;
57 }
58 }
59
67 uint8_t llcc68_cad_test(void)
68 {
69 uint8_t res;
70 uint32_t reg;
71 uint8_t modulation;
72 uint8_t config;
73 llcc68_bool_t enable;
74
75 /* link interface function */
76 DRIVER_LLCC68_LINK_INIT(&gs_handle, llcc68_handle_t);
77 DRIVER_LLCC68_LINK_SPI_INIT(&gs_handle, llcc68_interface_spi_init);
78 DRIVER_LLCC68_LINK_SPI_DEINIT(&gs_handle, llcc68_interface_spi_deinit);
79 DRIVER_LLCC68_LINK_SPI_WRITE_READ(&gs_handle, llcc68_interface_spi_write_read);
80 DRIVER_LLCC68_LINK_RESET_GPIO_INIT(&gs_handle, llcc68_interface_reset_gpio_init);
81 DRIVER_LLCC68_LINK_RESET_GPIO_DEINIT(&gs_handle, llcc68_interface_reset_gpio_deinit);
82 DRIVER_LLCC68_LINK_RESET_GPIO_WRITE(&gs_handle, llcc68_interface_reset_gpio_write);
83 DRIVER_LLCC68_LINK_BUSY_GPIO_INIT(&gs_handle, llcc68_interface_busy_gpio_init);
84 DRIVER_LLCC68_LINK_BUSY_GPIO_DEINIT(&gs_handle, llcc68_interface_busy_gpio_deinit);
85 DRIVER_LLCC68_LINK_BUSY_GPIO_READ(&gs_handle, llcc68_interface_busy_gpio_read);
86 DRIVER_LLCC68_LINK_DELAY_MS(&gs_handle, llcc68_interface_delay_ms);
87 DRIVER_LLCC68_LINK_DEBUG_PRINT(&gs_handle, llcc68_interface_debug_print);
88 DRIVER_LLCC68_LINK_RECEIVE_CALLBACK(&gs_handle, llcc68_interface_receive_callback);
89
90 /* start cad test */
91 llcc68_interface_debug_print("llcc68: start cad test.\n");
92
93 /* init the llcc68 */
94 res = llcc68_init(&gs_handle);
95 if (res != 0)
96 {
97 llcc68_interface_debug_print("llcc68: init failed.\n");
98
99 return 1;
100 }
101
102 /* enter standby */
103 res = llcc68_set_standby(&gs_handle, LLCC68_CLOCK_SOURCE_XTAL_32MHZ);
104 if (res != 0)
105 {
106 llcc68_interface_debug_print("llcc68: set standby failed.\n");
107 (void)llcc68_deinit(&gs_handle);
108
109 return 1;
110 }
111
112 /* disable stop timer on preamble */
113 res = llcc68_set_stop_timer_on_preamble(&gs_handle, LLCC68_BOOL_FALSE);
114 if (res != 0)
115 {
116 llcc68_interface_debug_print("llcc68: stop timer on preamble failed.\n");
117 (void)llcc68_deinit(&gs_handle);
118
119 return 1;
120 }
121
122 /* set dc dc ldo */
123 res = llcc68_set_regulator_mode(&gs_handle, LLCC68_REGULATOR_MODE_DC_DC_LDO);
124 if (res != 0)
125 {
126 llcc68_interface_debug_print("llcc68: set regulator mode failed.\n");
127 (void)llcc68_deinit(&gs_handle);
128
129 return 1;
130 }
131
132 /* set +17dBm power */
133 res = llcc68_set_pa_config(&gs_handle, 0x02, 0x03);
134 if (res != 0)
135 {
136 llcc68_interface_debug_print("llcc68: set pa config failed.\n");
137 (void)llcc68_deinit(&gs_handle);
138
139 return 1;
140 }
141
142 /* enter to stdby rc mode */
143 res = llcc68_set_rx_tx_fallback_mode(&gs_handle, LLCC68_RX_TX_FALLBACK_MODE_STDBY_XOSC);
144 if (res != 0)
145 {
146 llcc68_interface_debug_print("llcc68: set rx tx fallback mode failed.\n");
147 (void)llcc68_deinit(&gs_handle);
148
149 return 1;
150 }
151
152 /* set dio irq */
153 res = llcc68_set_dio_irq_params(&gs_handle, 0x03FF, 0x03FF, 0x0000, 0x0000);
154 if (res != 0)
155 {
156 llcc68_interface_debug_print("llcc68: set dio irq params failed.\n");
157 (void)llcc68_deinit(&gs_handle);
158
159 return 1;
160 }
161
162 /* clear irq status */
163 res = llcc68_clear_irq_status(&gs_handle, 0x03FF);
164 if (res != 0)
165 {
166 llcc68_interface_debug_print("llcc68: clear irq status failed.\n");
167 (void)llcc68_deinit(&gs_handle);
168
169 return 1;
170 }
171
172 /* set lora mode */
173 res = llcc68_set_packet_type(&gs_handle, LLCC68_PACKET_TYPE_LORA);
174 if (res != 0)
175 {
176 llcc68_interface_debug_print("llcc68: set packet type failed.\n");
177 (void)llcc68_deinit(&gs_handle);
178
179 return 1;
180 }
181
182 /* +17dBm */
183 res = llcc68_set_tx_params(&gs_handle, 17, LLCC68_RAMP_TIME_10US);
184 if (res != 0)
185 {
186 llcc68_interface_debug_print("llcc68: set tx params failed.\n");
187 (void)llcc68_deinit(&gs_handle);
188
189 return 1;
190 }
191
192 /* sf9, 125khz, cr4/5, disable low data rate optimize */
193 res = llcc68_set_lora_modulation_params(&gs_handle, LLCC68_LORA_SF_9, LLCC68_LORA_BANDWIDTH_125_KHZ,
194 LLCC68_LORA_CR_4_5, LLCC68_BOOL_FALSE);
195 if (res != 0)
196 {
197 llcc68_interface_debug_print("llcc68: set lora modulation params failed.\n");
198 (void)llcc68_deinit(&gs_handle);
199
200 return 1;
201 }
202
203 /* convert the frequency */
204 res = llcc68_frequency_convert_to_register(&gs_handle, 480100000, (uint32_t *)&reg);
205 if (res != 0)
206 {
207 llcc68_interface_debug_print("llcc68: convert to register failed.\n");
208 (void)llcc68_deinit(&gs_handle);
209
210 return 1;
211 }
212
213 /* set the frequency */
214 res = llcc68_set_rf_frequency(&gs_handle, reg);
215 if (res != 0)
216 {
217 llcc68_interface_debug_print("llcc68: set rf frequency failed.\n");
218 (void)llcc68_deinit(&gs_handle);
219
220 return 1;
221 }
222
223 /* set base address */
224 res = llcc68_set_buffer_base_address(&gs_handle, 0x00, 0x00);
225 if (res != 0)
226 {
227 llcc68_interface_debug_print("llcc68: set buffer base address failed.\n");
228 (void)llcc68_deinit(&gs_handle);
229
230 return 1;
231 }
232
233 /* 1 lora symb num */
234 res = llcc68_set_lora_symb_num_timeout(&gs_handle, 0);
235 if (res != 0)
236 {
237 llcc68_interface_debug_print("llcc68: set lora symb num timeout failed.\n");
238 (void)llcc68_deinit(&gs_handle);
239
240 return 1;
241 }
242
243 /* reset stats */
244 res = llcc68_reset_stats(&gs_handle, 0x0000, 0x0000, 0x0000);
245 if (res != 0)
246 {
247 llcc68_interface_debug_print("llcc68: reset stats failed.\n");
248 (void)llcc68_deinit(&gs_handle);
249
250 return 1;
251 }
252
253 /* clear device errors */
254 res = llcc68_clear_device_errors(&gs_handle);
255 if (res != 0)
256 {
257 llcc68_interface_debug_print("llcc68: clear device errors failed.\n");
258 (void)llcc68_deinit(&gs_handle);
259
260 return 1;
261 }
262
263 /* set the lora sync word */
264 res = llcc68_set_lora_sync_word(&gs_handle, 0x1424);
265 if (res != 0)
266 {
267 llcc68_interface_debug_print("llcc68: set lora sync word failed.\n");
268 (void)llcc68_deinit(&gs_handle);
269
270 return 1;
271 }
272
273 /* get tx modulation */
274 res = llcc68_get_tx_modulation(&gs_handle, (uint8_t *)&modulation);
275 if (res != 0)
276 {
277 llcc68_interface_debug_print("llcc68: get tx modulation failed.\n");
278 (void)llcc68_deinit(&gs_handle);
279
280 return 1;
281 }
282 modulation |= 0x04;
283
284 /* set the tx modulation */
285 res = llcc68_set_tx_modulation(&gs_handle, modulation);
286 if (res != 0)
287 {
288 llcc68_interface_debug_print("llcc68: set tx modulation failed.\n");
289 (void)llcc68_deinit(&gs_handle);
290
291 return 1;
292 }
293
294 /* set the rx gain */
295 res = llcc68_set_rx_gain(&gs_handle, 0x94);
296 if (res != 0)
297 {
298 llcc68_interface_debug_print("llcc68: set rx gain failed.\n");
299 (void)llcc68_deinit(&gs_handle);
300
301 return 1;
302 }
303
304 /* set the ocp */
305 res = llcc68_set_ocp(&gs_handle, 0x38);
306 if (res != 0)
307 {
308 llcc68_interface_debug_print("llcc68: set ocp failed.\n");
309 (void)llcc68_deinit(&gs_handle);
310
311 return 1;
312 }
313
314 /* get the tx clamp config */
315 res = llcc68_get_tx_clamp_config(&gs_handle, (uint8_t *)&config);
316 if (res != 0)
317 {
318 llcc68_interface_debug_print("llcc68: get tx clamp config failed.\n");
319 (void)llcc68_deinit(&gs_handle);
320
321 return 1;
322 }
323 config |= 0x1E;
324
325 /* set the tx clamp config */
326 res = llcc68_set_tx_clamp_config(&gs_handle, config);
327 if (res != 0)
328 {
329 llcc68_interface_debug_print("llcc68: set tx clamp config failed.\n");
330 (void)llcc68_deinit(&gs_handle);
331
332 return 1;
333 }
334
335 /* set cad params */
336 res = llcc68_set_cad_params(&gs_handle, LLCC68_LORA_CAD_SYMBOL_NUM_2,
337 24, 10, LLCC68_LORA_CAD_EXIT_MODE_ONLY,
338 0);
339 if (res != 0)
340 {
341 llcc68_interface_debug_print("llcc68: set cad params failed.\n");
342 (void)llcc68_deinit(&gs_handle);
343
344 return 1;
345 }
346
347 /* run the cad */
348 res = llcc68_lora_cad(&gs_handle, &enable);
349 if (res != 0)
350 {
351 llcc68_interface_debug_print("llcc68: lora cad failed.\n");
352 (void)llcc68_deinit(&gs_handle);
353
354 return 1;
355 }
356
357 /* output the result */
358 if (enable == LLCC68_BOOL_TRUE)
359 {
360 llcc68_interface_debug_print("llcc68: cad detected.\n");
361 }
362 else
363 {
364 llcc68_interface_debug_print("llcc68: cad not detected.\n");
365 }
366
367 /* finish cad test */
368 llcc68_interface_debug_print("llcc68: finish cad test.\n");
369
370 /* deinit */
371 (void)llcc68_deinit(&gs_handle);
372
373 return 0;
374 }
driver_llcc68_cad_test.h
driver llcc68 cad test header file
llcc68_irq_handler
uint8_t llcc68_irq_handler(llcc68_handle_t *handle)
irq handler
Definition: driver_llcc68.c:400
llcc68_bool_t
llcc68_bool_t
llcc68 bool enumeration definition
Definition: driver_llcc68.h:63
llcc68_set_rf_frequency
uint8_t llcc68_set_rf_frequency(llcc68_handle_t *handle, uint32_t reg)
set the rf frequency
Definition: driver_llcc68.c:2531
llcc68_set_lora_modulation_params
uint8_t llcc68_set_lora_modulation_params(llcc68_handle_t *handle, llcc68_lora_sf_t sf, llcc68_lora_bandwidth_t bw, llcc68_lora_cr_t cr, llcc68_bool_t low_data_rate_optimize_enable)
set the modulation params in LoRa mode
Definition: driver_llcc68.c:2888
llcc68_set_pa_config
uint8_t llcc68_set_pa_config(llcc68_handle_t *handle, uint8_t pa_duty_cycle, uint8_t hp_max)
set the pa config
Definition: driver_llcc68.c:2135
llcc68_clear_device_errors
uint8_t llcc68_clear_device_errors(llcc68_handle_t *handle)
clear the device errors
Definition: driver_llcc68.c:3622
llcc68_clear_irq_status
uint8_t llcc68_clear_irq_status(llcc68_handle_t *handle, uint16_t clear_irq_param)
clear the irq status
Definition: driver_llcc68.c:2334
llcc68_deinit
uint8_t llcc68_deinit(llcc68_handle_t *handle)
close the chip
Definition: driver_llcc68.c:754
llcc68_reset_stats
uint8_t llcc68_reset_stats(llcc68_handle_t *handle, uint16_t pkt_received, uint16_t pkt_crc_error, uint16_t pkt_length_header_error)
reset the stats
Definition: driver_llcc68.c:3526
llcc68_set_stop_timer_on_preamble
uint8_t llcc68_set_stop_timer_on_preamble(llcc68_handle_t *handle, llcc68_bool_t enable)
stop timer on preamble
Definition: driver_llcc68.c:1767
llcc68_set_regulator_mode
uint8_t llcc68_set_regulator_mode(llcc68_handle_t *handle, llcc68_regulator_mode_t mode)
set the regulator_mode
Definition: driver_llcc68.c:1994
llcc68_set_rx_tx_fallback_mode
uint8_t llcc68_set_rx_tx_fallback_mode(llcc68_handle_t *handle, llcc68_rx_tx_fallback_mode_t mode)
set the rx tx fallback mode
Definition: driver_llcc68.c:2184
llcc68_set_lora_symb_num_timeout
uint8_t llcc68_set_lora_symb_num_timeout(llcc68_handle_t *handle, uint8_t symb_num)
set the lora symbol number timeout
Definition: driver_llcc68.c:3173
llcc68_set_tx_params
uint8_t llcc68_set_tx_params(llcc68_handle_t *handle, int8_t dbm, llcc68_ramp_time_t t)
set the tx params
Definition: driver_llcc68.c:2673
llcc68_set_cad_params
uint8_t llcc68_set_cad_params(llcc68_handle_t *handle, llcc68_lora_cad_symbol_num_t num, uint8_t cad_det_peak, uint8_t cad_det_min, llcc68_lora_cad_exit_mode_t mode, uint32_t timeout)
set the cad params
Definition: driver_llcc68.c:3071
llcc68_set_dio_irq_params
uint8_t llcc68_set_dio_irq_params(llcc68_handle_t *handle, uint16_t irq_mask, uint16_t dio1_mask, uint16_t dio2_mask, uint16_t dio3_mask)
set the dio irq params
Definition: driver_llcc68.c:2233
llcc68_set_standby
uint8_t llcc68_set_standby(llcc68_handle_t *handle, llcc68_clock_source_t src)
enter to the standby mode
Definition: driver_llcc68.c:1527
llcc68_set_buffer_base_address
uint8_t llcc68_set_buffer_base_address(llcc68_handle_t *handle, uint8_t tx_base_addr, uint8_t rx_base_addr)
set the buffer base address
Definition: driver_llcc68.c:3126
llcc68_frequency_convert_to_register
uint8_t llcc68_frequency_convert_to_register(llcc68_handle_t *handle, uint32_t freq, uint32_t *reg)
convert the frequency to the register raw data
Definition: driver_llcc68.c:2476
llcc68_lora_cad
uint8_t llcc68_lora_cad(llcc68_handle_t *handle, llcc68_bool_t *enable)
run the cad
Definition: driver_llcc68.c:959
llcc68_set_packet_type
uint8_t llcc68_set_packet_type(llcc68_handle_t *handle, llcc68_packet_type_t type)
set the packet type
Definition: driver_llcc68.c:2580
llcc68_init
uint8_t llcc68_init(llcc68_handle_t *handle)
initialize the chip
Definition: driver_llcc68.c:583
LLCC68_LORA_BANDWIDTH_125_KHZ
@ LLCC68_LORA_BANDWIDTH_125_KHZ
Definition: driver_llcc68.h:234
LLCC68_BOOL_TRUE
@ LLCC68_BOOL_TRUE
Definition: driver_llcc68.h:65
LLCC68_BOOL_FALSE
@ LLCC68_BOOL_FALSE
Definition: driver_llcc68.h:64
LLCC68_CLOCK_SOURCE_XTAL_32MHZ
@ LLCC68_CLOCK_SOURCE_XTAL_32MHZ
Definition: driver_llcc68.h:83
LLCC68_LORA_SF_9
@ LLCC68_LORA_SF_9
Definition: driver_llcc68.h:224
LLCC68_REGULATOR_MODE_DC_DC_LDO
@ LLCC68_REGULATOR_MODE_DC_DC_LDO
Definition: driver_llcc68.h:92
LLCC68_RAMP_TIME_10US
@ LLCC68_RAMP_TIME_10US
Definition: driver_llcc68.h:165
LLCC68_LORA_CAD_SYMBOL_NUM_2
@ LLCC68_LORA_CAD_SYMBOL_NUM_2
Definition: driver_llcc68.h:319
LLCC68_LORA_CR_4_5
@ LLCC68_LORA_CR_4_5
Definition: driver_llcc68.h:244
LLCC68_PACKET_TYPE_LORA
@ LLCC68_PACKET_TYPE_LORA
Definition: driver_llcc68.h:157
LLCC68_RX_TX_FALLBACK_MODE_STDBY_XOSC
@ LLCC68_RX_TX_FALLBACK_MODE_STDBY_XOSC
Definition: driver_llcc68.h:132
LLCC68_LORA_CAD_EXIT_MODE_ONLY
@ LLCC68_LORA_CAD_EXIT_MODE_ONLY
Definition: driver_llcc68.h:330
llcc68_interface_reset_gpio_init
uint8_t llcc68_interface_reset_gpio_init(void)
interface reset gpio init
Definition: driver_llcc68_interface_template.c:87
llcc68_interface_busy_gpio_read
uint8_t llcc68_interface_busy_gpio_read(uint8_t *value)
interface busy gpio read
Definition: driver_llcc68_interface_template.c:149
llcc68_interface_busy_gpio_deinit
uint8_t llcc68_interface_busy_gpio_deinit(void)
interface busy gpio deinit
Definition: driver_llcc68_interface_template.c:136
llcc68_interface_spi_deinit
uint8_t llcc68_interface_spi_deinit(void)
interface spi bus deinit
Definition: driver_llcc68_interface_template.c:58
llcc68_interface_spi_write_read
uint8_t llcc68_interface_spi_write_read(uint8_t *in_buf, uint32_t in_len, uint8_t *out_buf, uint32_t out_len)
interface spi bus write read
Definition: driver_llcc68_interface_template.c:74
llcc68_interface_reset_gpio_deinit
uint8_t llcc68_interface_reset_gpio_deinit(void)
interface reset gpio deinit
Definition: driver_llcc68_interface_template.c:99
llcc68_interface_receive_callback
void llcc68_interface_receive_callback(uint16_t type, uint8_t *buf, uint16_t len)
interface receive callback
Definition: driver_llcc68_interface_template.c:181
llcc68_interface_debug_print
void llcc68_interface_debug_print(const char *const fmt,...)
interface print format data
Definition: driver_llcc68_interface_template.c:169
llcc68_interface_delay_ms
void llcc68_interface_delay_ms(uint32_t ms)
interface delay ms
Definition: driver_llcc68_interface_template.c:159
llcc68_interface_spi_init
uint8_t llcc68_interface_spi_init(void)
interface spi bus init
Definition: driver_llcc68_interface_template.c:46
llcc68_interface_busy_gpio_init
uint8_t llcc68_interface_busy_gpio_init(void)
interface busy gpio init
Definition: driver_llcc68_interface_template.c:124
llcc68_interface_reset_gpio_write
uint8_t llcc68_interface_reset_gpio_write(uint8_t data)
interface reset gpio write
Definition: driver_llcc68_interface_template.c:112
DRIVER_LLCC68_LINK_BUSY_GPIO_READ
#define DRIVER_LLCC68_LINK_BUSY_GPIO_READ(HANDLE, FUC)
link busy_gpio_read function
Definition: driver_llcc68.h:501
DRIVER_LLCC68_LINK_SPI_INIT
#define DRIVER_LLCC68_LINK_SPI_INIT(HANDLE, FUC)
link spi_init function
Definition: driver_llcc68.h:437
DRIVER_LLCC68_LINK_DELAY_MS
#define DRIVER_LLCC68_LINK_DELAY_MS(HANDLE, FUC)
link delay_ms function
Definition: driver_llcc68.h:509
DRIVER_LLCC68_LINK_RESET_GPIO_WRITE
#define DRIVER_LLCC68_LINK_RESET_GPIO_WRITE(HANDLE, FUC)
link reset_gpio_write function
Definition: driver_llcc68.h:477
DRIVER_LLCC68_LINK_BUSY_GPIO_DEINIT
#define DRIVER_LLCC68_LINK_BUSY_GPIO_DEINIT(HANDLE, FUC)
link busy_gpio_deinit function
Definition: driver_llcc68.h:493
DRIVER_LLCC68_LINK_SPI_WRITE_READ
#define DRIVER_LLCC68_LINK_SPI_WRITE_READ(HANDLE, FUC)
link spi_write_read function
Definition: driver_llcc68.h:453
DRIVER_LLCC68_LINK_INIT
#define DRIVER_LLCC68_LINK_INIT(HANDLE, STRUCTURE)
initialize llcc68_handle_t structure
Definition: driver_llcc68.h:429
DRIVER_LLCC68_LINK_RECEIVE_CALLBACK
#define DRIVER_LLCC68_LINK_RECEIVE_CALLBACK(HANDLE, FUC)
link receive_callback function
Definition: driver_llcc68.h:525
DRIVER_LLCC68_LINK_DEBUG_PRINT
#define DRIVER_LLCC68_LINK_DEBUG_PRINT(HANDLE, FUC)
link debug_print function
Definition: driver_llcc68.h:517
DRIVER_LLCC68_LINK_SPI_DEINIT
#define DRIVER_LLCC68_LINK_SPI_DEINIT(HANDLE, FUC)
link spi_deinit function
Definition: driver_llcc68.h:445
DRIVER_LLCC68_LINK_RESET_GPIO_INIT
#define DRIVER_LLCC68_LINK_RESET_GPIO_INIT(HANDLE, FUC)
link reset_gpio_init function
Definition: driver_llcc68.h:461
DRIVER_LLCC68_LINK_RESET_GPIO_DEINIT
#define DRIVER_LLCC68_LINK_RESET_GPIO_DEINIT(HANDLE, FUC)
link reset_gpio_deinit function
Definition: driver_llcc68.h:469
DRIVER_LLCC68_LINK_BUSY_GPIO_INIT
#define DRIVER_LLCC68_LINK_BUSY_GPIO_INIT(HANDLE, FUC)
link busy_gpio_init function
Definition: driver_llcc68.h:485
llcc68_set_lora_sync_word
uint8_t llcc68_set_lora_sync_word(llcc68_handle_t *handle, uint16_t sync_word)
set the lora sync word
Definition: driver_llcc68.c:4300
llcc68_set_ocp
uint8_t llcc68_set_ocp(llcc68_handle_t *handle, uint8_t ocp)
set the ocp
Definition: driver_llcc68.c:4704
llcc68_set_tx_clamp_config
uint8_t llcc68_set_tx_clamp_config(llcc68_handle_t *handle, uint8_t config)
set the tx clamp config
Definition: driver_llcc68.c:4616
llcc68_set_rx_gain
uint8_t llcc68_set_rx_gain(llcc68_handle_t *handle, uint8_t gain)
set the rx gain
Definition: driver_llcc68.c:4528
llcc68_set_tx_modulation
uint8_t llcc68_set_tx_modulation(llcc68_handle_t *handle, uint8_t modulation)
set the tx modulation
Definition: driver_llcc68.c:4440
llcc68_get_tx_modulation
uint8_t llcc68_get_tx_modulation(llcc68_handle_t *handle, uint8_t *modulation)
get the tx modulation
Definition: driver_llcc68.c:4484
llcc68_get_tx_clamp_config
uint8_t llcc68_get_tx_clamp_config(llcc68_handle_t *handle, uint8_t *config)
get the tx clamp config
Definition: driver_llcc68.c:4660
llcc68_cad_test
uint8_t llcc68_cad_test(void)
send test
Definition: driver_llcc68_cad_test.c:67
llcc68_cad_test_irq_handler
uint8_t llcc68_cad_test_irq_handler(void)
llcc68 cad test irq
Definition: driver_llcc68_cad_test.c:48
llcc68_handle_s
llcc68 handle structure definition
Definition: driver_llcc68.h:371