aboutsummaryrefslogtreecommitdiffstats
path: root/os/io/templates
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-09-25 14:56:57 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-09-25 14:56:57 +0000
commit7c2813c27119ed1f3c9c433dc37583cc919d5a3f (patch)
tree5f5cc8ea003f288e05a06c9d14ea9aaf5b8e11f3 /os/io/templates
parentdf471c97569f94d75efcdd00d19274bab243c981 (diff)
downloadChibiOS-7c2813c27119ed1f3c9c433dc37583cc919d5a3f.tar.gz
ChibiOS-7c2813c27119ed1f3c9c433dc37583cc919d5a3f.tar.bz2
ChibiOS-7c2813c27119ed1f3c9c433dc37583cc919d5a3f.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1181 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/io/templates')
-rw-r--r--os/io/templates/mac_lld.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/os/io/templates/mac_lld.h b/os/io/templates/mac_lld.h
index 01889aa12..0ded4b690 100644
--- a/os/io/templates/mac_lld.h
+++ b/os/io/templates/mac_lld.h
@@ -46,7 +46,10 @@
* @brief Structure representing a MAC driver.
*/
typedef struct {
-
+ enum {ifStopped = 0,
+ ifStarted} md_state; /**< @brief Interface status.*/
+ Semaphore md_tdsem; /**< Transmit semaphore.*/
+ Semaphore md_rdsem; /**< Receive semaphore.*/
} MACDriver;
/**