1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-18 09:35:20 +02:00
ben-wpan/tools/atrf-xtal/atrf-xtal.h
Werner Almesberger 61e656e143 atrf-xtal: added atusb support (via ATUSB_TIMER)
- Makefile: removed limitation to Ben and added host build
- atusb.c: atusb-specific acquisition and calculations
- atrf-xtal.h (do_atusb): interface to atusb.c
- atrf-xtal.c (atben, atusb, main): added switch to board-specific driver
- atrf-xtal.c (usage, main): added support for atusb
2011-05-30 19:17:43 -03:00

26 lines
689 B
C

/*
* atrf-xtal/atrf-xtal.h - AT86RF230/1 crystal diagnostic utility
*
* 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 ATRF_XTAL_H
#define ATRF_XTAL_H
#include "atrf.h"
void do_atben(struct atrf_dsc *dsc, int size, int trim, int rep,
int dump_raw, double base, double ppm);
void do_atusb(struct atrf_dsc *dsc, int trim, int dump_raw, double ppm,
int n);
#endif /* !ATRF_XTAL_H */