IEEE 802.15.4 subsystem
Sign in or create your account | Project List | Help
IEEE 802.15.4 subsystem Commit Details
Date: | 2010-11-11 12:58:47 (13 years 4 months ago) |
---|---|
Author: | Werner Almesberger |
Commit: | cf23ac6128b1ac0697e2d967bea29a1691677df4 |
Message: | The Great ATSPI Renaming, part 4: rename include/atspi.h to
include/atrf.h - include/atspi.h: renamed to include/atrf.h - include/misctxrx.h, lib/atrf.c, lib/misctxrx.c, atspi-id/atspi-id.c, atspi-reset/atspi-reset.c, atspi-rssi/atspi-rssi.c, atspi-rssi/gui.c, atspi-rssi/gui.h, atspi-trim/atspi-trim.c, atspi-txrx/atspi-txrx.c: change #include "atspi.h" to #include "atrf.h" |
Files: |
tools/atspi-id/atspi-id.c (1 diff) tools/atspi-reset/atspi-reset.c (1 diff) tools/atspi-rssi/atspi-rssi.c (1 diff) tools/atspi-rssi/gui.c (1 diff) tools/atspi-rssi/gui.h (1 diff) tools/atspi-trim/atspi-trim.c (1 diff) tools/atspi-txrx/atspi-txrx.c (1 diff) tools/include/atrf.h (1 diff) tools/include/atspi.h (1 diff) tools/include/misctxrx.h (1 diff) tools/lib/atrf.c (1 diff) tools/lib/misctxrx.c (1 diff) |
Change Details
tools/atspi-id/atspi-id.c | ||
---|---|---|
20 | 20 | |
21 | 21 | #include "at86rf230.h" |
22 | 22 | #include "atusb/ep0.h" |
23 | #include "atspi.h" | |
23 | #include "atrf.h" | |
24 | 24 | |
25 | 25 | |
26 | 26 | #ifdef HAVE_USB |
tools/atspi-reset/atspi-reset.c | ||
---|---|---|
15 | 15 | #include <stdio.h> |
16 | 16 | #include <string.h> |
17 | 17 | |
18 | #include "atspi.h" | |
18 | #include "atrf.h" | |
19 | 19 | |
20 | 20 | |
21 | 21 | static void usage(const char *name) |
tools/atspi-rssi/atspi-rssi.c | ||
---|---|---|
18 | 18 | #include <sys/time.h> |
19 | 19 | |
20 | 20 | #include "at86rf230.h" |
21 | #include "atspi.h" | |
21 | #include "atrf.h" | |
22 | 22 | #include "misctxrx.h" |
23 | 23 | |
24 | 24 | #ifdef HAVE_GFX |
tools/atspi-rssi/gui.c | ||
---|---|---|
21 | 21 | #include "SDL_gfxPrimitives.h" |
22 | 22 | |
23 | 23 | #include "at86rf230.h" |
24 | #include "atspi.h" | |
24 | #include "atrf.h" | |
25 | 25 | #include "misctxrx.h" |
26 | 26 | |
27 | 27 | #include "zgrid.h" |
tools/atspi-rssi/gui.h | ||
---|---|---|
13 | 13 | #ifndef GUI_H |
14 | 14 | #define GUI_H |
15 | 15 | |
16 | #include "atspi.h" | |
16 | #include "atrf.h" | |
17 | 17 | |
18 | 18 | |
19 | 19 | void gui(struct atspi_dsc *dsc); |
tools/atspi-trim/atspi-trim.c | ||
---|---|---|
16 | 16 | #include <sys/time.h> |
17 | 17 | |
18 | 18 | #include "at86rf230.h" |
19 | #include "atspi.h" | |
19 | #include "atrf.h" | |
20 | 20 | |
21 | 21 | |
22 | 22 | static void usage(const char *name) |
tools/atspi-txrx/atspi-txrx.c | ||
---|---|---|
20 | 20 | #include <signal.h> |
21 | 21 | |
22 | 22 | #include "at86rf230.h" |
23 | #include "atspi.h" | |
23 | #include "atrf.h" | |
24 | 24 | #include "misctxrx.h" |
25 | 25 | |
26 | 26 |
tools/include/atrf.h | ||
---|---|---|
1 | /* | |
2 | * include/atrf.h - ATRF access functions library | |
3 | * | |
4 | * Written 2010 by Werner Almesberger | |
5 | * Copyright 2010 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 | #ifndef ATRF_H | |
14 | #define ATRF_H | |
15 | ||
16 | #include <stdint.h> | |
17 | ||
18 | ||
19 | struct atspi_dsc; | |
20 | ||
21 | ||
22 | void *atspi_usb_handle(struct atspi_dsc *dsc); /* hack for atspi-id */ | |
23 | ||
24 | struct atspi_dsc *atspi_open(void); | |
25 | void atspi_close(struct atspi_dsc *dsc); | |
26 | ||
27 | int atspi_error(struct atspi_dsc *dsc); | |
28 | int atspi_clear_error(struct atspi_dsc *dsc); | |
29 | ||
30 | void atspi_reset(struct atspi_dsc *dsc); | |
31 | void atspi_reset_rf(struct atspi_dsc *dsc); | |
32 | int atspi_test_mode(struct atspi_dsc *dsc); | |
33 | ||
34 | void atspi_reg_write(struct atspi_dsc *dsc, uint8_t reg, uint8_t value); | |
35 | uint8_t atspi_reg_read(struct atspi_dsc *dsc, uint8_t reg); | |
36 | ||
37 | void atspi_buf_write(struct atspi_dsc *dsc, const void *buf, int size); | |
38 | int atspi_buf_read(struct atspi_dsc *dsc, void *buf, int size); | |
39 | ||
40 | int atspi_interrupt(struct atspi_dsc *dsc); | |
41 | ||
42 | #endif /* !ATRF_H */ |
tools/include/atspi.h | ||
---|---|---|
1 | /* | |
2 | * include/atspi.h - ATSPI access functions library | |
3 | * | |
4 | * Written 2010 by Werner Almesberger | |
5 | * Copyright 2010 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 | #ifndef ATSPI_H | |
14 | #define ATSPI_H | |
15 | ||
16 | #include <stdint.h> | |
17 | ||
18 | ||
19 | struct atspi_dsc; | |
20 | ||
21 | ||
22 | void *atspi_usb_handle(struct atspi_dsc *dsc); /* hack for atspi-id */ | |
23 | ||
24 | struct atspi_dsc *atspi_open(void); | |
25 | void atspi_close(struct atspi_dsc *dsc); | |
26 | ||
27 | int atspi_error(struct atspi_dsc *dsc); | |
28 | int atspi_clear_error(struct atspi_dsc *dsc); | |
29 | ||
30 | void atspi_reset(struct atspi_dsc *dsc); | |
31 | void atspi_reset_rf(struct atspi_dsc *dsc); | |
32 | int atspi_test_mode(struct atspi_dsc *dsc); | |
33 | ||
34 | void atspi_reg_write(struct atspi_dsc *dsc, uint8_t reg, uint8_t value); | |
35 | uint8_t atspi_reg_read(struct atspi_dsc *dsc, uint8_t reg); | |
36 | ||
37 | void atspi_buf_write(struct atspi_dsc *dsc, const void *buf, int size); | |
38 | int atspi_buf_read(struct atspi_dsc *dsc, void *buf, int size); | |
39 | ||
40 | int atspi_interrupt(struct atspi_dsc *dsc); | |
41 | ||
42 | #endif /* !ATSPI_H */ |
tools/include/misctxrx.h | ||
---|---|---|
15 | 15 | |
16 | 16 | #include <stdint.h> |
17 | 17 | |
18 | #include "atspi.h" | |
18 | #include "atrf.h" | |
19 | 19 | |
20 | 20 | |
21 | 21 | uint8_t wait_for_interrupt(struct atspi_dsc *dsc, uint8_t wait_for, |
tools/lib/atrf.c | ||
---|---|---|
15 | 15 | #include <stdio.h> |
16 | 16 | |
17 | 17 | #include "driver.h" |
18 | #include "atspi.h" | |
18 | #include "atrf.h" | |
19 | 19 | |
20 | 20 | |
21 | 21 | extern struct atspi_driver atusb_driver; |
tools/lib/misctxrx.c | ||
---|---|---|
18 | 18 | #include <signal.h> |
19 | 19 | |
20 | 20 | #include "at86rf230.h" |
21 | #include "atspi.h" | |
21 | #include "atrf.h" | |
22 | 22 | #include "misctxrx.h" |
23 | 23 | |
24 | 24 |