diff options
Diffstat (limited to 'os/io/mac.h')
-rw-r--r-- | os/io/mac.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/os/io/mac.h b/os/io/mac.h index 0a6f0e000..129c700d4 100644 --- a/os/io/mac.h +++ b/os/io/mac.h @@ -18,7 +18,7 @@ */
/**
- * @file serial.h
+ * @file mac.h
* @brief MAC Driver macros and structures.
* @addtogroup MAC
* @{
@@ -27,10 +27,20 @@ #ifndef _MAC_H_
#define _MAC_H_
+#include "mac_lld.h"
+
#ifdef __cplusplus
extern "C" {
#endif
void macInit(void);
+ void macSetAddress(uint8_t *p);
+ void macStart(void);
+ void macStop(void);
+ MACTransmissionDescriptor *macGetTransmitDescriptor(systime_t time);
+ void macReleaseTransmitDescriptor(MACTransmitDescriptor *tdp);
+ void macAddTransmitData(MACTransmitDescriptor *tdp,
+ uint8_t *buf,
+ size_t size);
#ifdef __cplusplus
}
#endif
|