mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2025-04-21 12:27:27 +03:00
libatrf: add option to send a pulse with atrf_slp_tr
- include/atrf.h (atrf_slp_tr), lib/atrf.c (atrf_slp_tr): added pulse argument - atrf-proxy/PROTOCOL, atrf-proxy/atrf-proxy.c (cmd_two, cmd_more): added second argument to SLP_TR command - atrf-xtal/atben.c (atben_sample), lib/cwtest.c (cw_test_end): updated for API change - lib/driver.h (struct atrf_driver): added "pulse" argument to slp_tr - lib/atben.c (atben_slp_tr), lib/atnet.c (atnet_slp_tr): added support for pulse mode
This commit is contained in:
@@ -43,7 +43,7 @@ void atrf_reset_rf(struct atrf_dsc *dsc);
|
||||
enum atrf_chip_id atrf_identify(struct atrf_dsc *dsc);
|
||||
|
||||
int atrf_test_mode(struct atrf_dsc *dsc);
|
||||
int atrf_slp_tr(struct atrf_dsc *dsc, int on);
|
||||
int atrf_slp_tr(struct atrf_dsc *dsc, int on, int pulse);
|
||||
int atrf_set_clkm(struct atrf_dsc *dsc, int mhz);
|
||||
|
||||
void atrf_reg_write(struct atrf_dsc *dsc, uint8_t reg, uint8_t value);
|
||||
|
||||
Reference in New Issue
Block a user