[riot-notifications] [RIOT] drivers: add driver for encx24j600 ethernet chips (#2800)

Hauke Petersen notifications at github.com
Tue Jun 16 03:10:37 CEST 2015


> +
> +    /* wait until previous packet has been sent */
> +    while ((reg_get(dev, ECON1) & TXRTS));
> +
> +    /* copy packet to SRAM */
> +    sram_op(dev, WGPDATA, TX_BUFFER_START, pkt, len);
> +
> +    /* set start of TX packet and length */
> +    reg_set(dev, ETXST, TX_BUFFER_START);
> +    reg_set(dev, ETXLEN, len);
> +
> +    /* initiate sending */
> +    cmd(dev, SETTXRTS);
> +
> +    /* wait for sending to complete */
> +    //while ((reg_get(dev, ECON1) & TXRTS));

remove?! 

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/2800/files#r32483529
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150615/60938e02/attachment.html>


More information about the notifications mailing list