Root/tools/atrf-txrx/perdump.h

Source at commit 624caeb00652f6118dc64698b7dad6fa3e5bdcc2 created 2 years 8 months ago.
By Werner Almesberger, atusb/: use VR, POWERED, and LED from kicad-libs
1/*
2 * atrf-txrx/perdump.h - Analyze and dump a recorded PER test
3 *
4 * Written 2011 by Werner Almesberger
5 * Copyright 2011 Werner Almesberger
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 */
12
13
14#ifndef PERDUMP_H
15#define PERDUMP_H
16
17struct result_ops {
18    void (*begin)(void);
19    void (*undecided)(int symbols, double t);
20    void (*packet)(int symbols, int skip, double t);
21    void (*error)(int symbol);
22    void (*finish)(void);
23};
24
25
26extern struct result_ops text_ops;
27
28#endif /* !PERDUMP_H */
29

Archive Download this file



interactive