diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-09-25 10:38:58 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-09-25 10:38:58 +0000 |
commit | df471c97569f94d75efcdd00d19274bab243c981 (patch) | |
tree | 6fd7aaf635ed18f73f82992cbde409313dd09c22 /os/io/mac.h | |
parent | d107ffedee36864fc238e791bddb02320a7bb30e (diff) | |
download | ChibiOS-df471c97569f94d75efcdd00d19274bab243c981.tar.gz ChibiOS-df471c97569f94d75efcdd00d19274bab243c981.tar.bz2 ChibiOS-df471c97569f94d75efcdd00d19274bab243c981.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1180 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/io/mac.h')
-rw-r--r-- | os/io/mac.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/os/io/mac.h b/os/io/mac.h index b405f6814..e79f29919 100644 --- a/os/io/mac.h +++ b/os/io/mac.h @@ -49,14 +49,17 @@ extern "C" {
#endif
void macInit(void);
- void macSetAddress(uint8_t *p);
- void macStart(void);
- void macStop(void);
- MACTransmitDescriptor *macWaitTransmitDescriptor(systime_t time);
- void macReleaseTransmitDescriptor(MACTransmitDescriptor *tdp);
- void macAddTransmitData(MACTransmitDescriptor *tdp,
- uint8_t *buf,
- size_t size);
+ void macSetAddress(MACDriver *macp, uint8_t *p);
+ void macStart(MACDriver *macp);
+ void macStop(MACDriver *macp);
+ MACTransmitDescriptor *macWaitTransmitDescriptor(MACDriver *macp,
+ systime_t time);
+ void macReleaseTransmitDescriptor(MACDriver *macp,
+ MACTransmitDescriptor *tdp);
+ MACReceiveDescriptor *macWaitReceiveDescriptor(MACDriver *macp,
+ systime_t time);
+ void macReleaseReceiveDescriptor(MACDriver *macp,
+ MACReceiveDescriptor *rdp);
#ifdef __cplusplus
}
#endif
|