1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-12-29 21:27:43 +02:00
ben-wpan/tools/include/cwtest.h
Werner Almesberger 16a48d6931 libatrf: cw test mode can now be resumed, with lower overhead (231 only)
- lib/cwtest.c (enter_test_mode_231, prepare_test_mode_231,
  start_test_mode_231, cw_test_begin): broke enter_test_mode_231 into
  a slow setup component and a fast start/resume component
- include/cwtest.h (cw_test_resume), lib/cwtest.c (cw_test_resume):
  resume transmission in a previously set up test mode
2011-04-13 12:17:02 -03:00

27 lines
645 B
C

/*
* include/cwtest.h - AT86RF230/231 constant wave test mode
*
* Written 2011 by Werner Almesberger
* Copyright 2011 Werner Almesberger
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*/
#ifndef CWTEST_H
#define CWTEST_H
#include <stdint.h>
#include "atrf.h"
void cw_test_begin(struct atrf_dsc *dsc, uint8_t cont_tx);
void cw_test_resume(struct atrf_dsc *dsc);
void cw_test_end(struct atrf_dsc *dsc);
#endif /* !CW_TEST_H */