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

Kaspar Schleiser notifications at github.com
Tue Jun 16 09:47:05 CEST 2015


> +
> +#define SETETHRST   0xca  /* System Reset */
> +#define SETPKTDEC   0xcc  /* Decrements PKTCNT by setting PKTDEC (ECON1<5>) */
> +#define ENABLERX    0xe8  /* Enables packet reception by setting RXEN (ECON1<0>) */
> +#define DISABLERX   0xea  /* Disable packet reception by clearing RXEN (ECON1<0>) */
> +#define SETEIE      0xec  /* Enable Ethernet Interrupts by setting INT (ESTAT<16>) */
> +#define CLREIE      0xee  /* Disable Ethernet Interrupts by clearing INT (ESTAT<16>) */
> +
> +#define B0SEL       0xc0  /* select bank 0 */
> +#define B1SEL       0xc2  /* select bank 0 */
> +#define B2SEL       0xc4  /* select bank 0 */
> +#define B3SEL       0xc6  /* select bank 0 */
> +#define RBSEL       0xc8  /* Read Bank Select */
> +
> +#define SETTXRTS    0xd4  /* Sets TXRTS (ECON1<1>), sends an Ethernet packet */
> +

I'm sorry, I don't share that style preference. If I use newlines to group lines within the doxygen scope, I like that newline at the end of the scope.

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


More information about the notifications mailing list