BlinkenArea - GitList
Repositories
Blog
Wiki
mips_sys
Code
Commits
Branches
Tags
Search
Tree:
2ef1d95
Branches
Tags
master
mips_sys
fw
eth.h
made MAC configurable in ethernet peripheral
Stefan Schuermans
commited
2ef1d95
at 2012-03-11 20:48:30
eth.h
Blame
History
Raw
#ifndef ETH_H #define ETH_H /** initialize MAC address */ void eth_mac_init(void); /** initialize receiver */ void eth_rx_init(void); /** * @brief get next received packet * @param[out] *pptr pointer to packet data * @param[out] *psz size of packet * @return if a packet was received */ int eth_rx(void **pptr, unsigned int *psz); /** * @brief transmit packet * @param[out] ptr pointer to packet data * @param[out] sz size of packet */ void eth_tx(const void *ptr, unsigned int sz); #endif /* #ifndef ETH_H */