COSA
An Object-Oriented Platform for Arduino Programming
W5500.cpp File Reference
#include "W5500.hh"
#include <W5X00.h>
#include <DNS.h>
#include <DHCP.h>
#include <W5X00.inc>
Include dependency graph for W5500.cpp:

Go to the source code of this file.

Macros

#define M_CREG(name)   uint16_t(&m_creg->name), SPI_CP_BSB_CR
 
#define M_SREG(name)   uint16_t(&m_sreg->name), (SPI_CP_BSB_SR | (m_snum<<5))
 
#define W5X00   W5500
 

Detailed Description

Version
1.0

License

Copyright (C) 2014-2017, Mikael Patel, Daniel Sutcliffe

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

This file is part of the Arduino Che Cosa project.

Definition in file W5500.cpp.

Macro Definition Documentation

#define M_CREG (   name)    uint16_t(&m_creg->name), SPI_CP_BSB_CR

Definition at line 28 of file W5500.cpp.

#define M_SREG (   name)    uint16_t(&m_sreg->name), (SPI_CP_BSB_SR | (m_snum<<5))

Definition at line 29 of file W5500.cpp.

#define W5X00   W5500

Definition at line 31 of file W5500.cpp.