IEEE 802.15.4 subsystem
Sign in or create your account | Project List | Help
IEEE 802.15.4 subsystem Git Source Tree
Root/
Source at commit ac349b0bc0340d47c7764e60fde7a13bd930e53a created 13 years 7 months ago. By Werner Almesberger, Introduce library with ATSPI access functions (largely untested) | |
---|---|
1 | #ifndef ATSPI_H |
2 | #define ATSPI_H |
3 | |
4 | |
5 | #include <stdint.h> |
6 | #include <usb.h> |
7 | |
8 | |
9 | int atspi_error(void); |
10 | int atspi_clear_error(void); |
11 | |
12 | usb_dev_handle *atspi_open(void); |
13 | void atspi_close(usb_dev_handle *dev); |
14 | |
15 | void atspi_reg_write(usb_dev_handle *dev, uint8_t reg, uint8_t value); |
16 | uint8_t atspi_reg_read(usb_dev_handle *dev, uint8_t reg); |
17 | |
18 | #endif /* !ATSPI_H */ |
19 |