]> git.llucax.com Git - z.facultad/66.09/etherled.git/blob - src/c/net.c
Hoja de datos y link del chipset DP83907VF AT/LANTIC II de National
[z.facultad/66.09/etherled.git] / src / c / net.c
1 #include "net.h"
2
3 uint16 net_getw()
4 {
5         byte b = net_getb() << 8;
6         return b + net_getb();
7 }
8
9 void net_putw(uint16 w)
10 {
11         net_putb(HIGH(w));
12         net_putb(LOW(w));
13 }
14