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 03ee256a3b1a774e72bc79a65e02e62a56fc62dd created 7 years 22 days ago. By Stefan Schmidt, web: add 0.3 firmware binaries into release folder for web page | |
|---|---|
| 1 | /* |
| 2 | * fw/mac.h - HardMAC functions |
| 3 | * |
| 4 | * Written 2011, 2013 by Werner Almesberger |
| 5 | * Copyright 2011, 2013 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 MAC_H |
| 14 | #define MAC_H |
| 15 | |
| 16 | #include <stdbool.h> |
| 17 | #include <stdint.h> |
| 18 | |
| 19 | |
| 20 | extern bool (*mac_irq)(void); |
| 21 | |
| 22 | bool mac_rx(int on); |
| 23 | bool mac_tx(uint16_t flags, uint8_t seq, uint16_t len); |
| 24 | void mac_reset(void); |
| 25 | |
| 26 | #endif /* !MAC_H */ |
| 27 | |
