getSIMR() & getSIMR() in w5200.h
In w5200.h, Remove the Mask value 0xA0 in getSIMR() & setSIMR() Add to the Mask value 0xA0 in getIR() & setIR()
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
//*****************************************************************************
|
||||
//
|
||||
//! \file w5200.c
|
||||
//! \brief W5200 HAL Interface.
|
||||
//! \file w5100.c
|
||||
//! \brief W5100 HAL Interface.
|
||||
//! \version 1.0.0
|
||||
//! \date 2013/10/21
|
||||
//! \par Revision history
|
||||
|
@ -196,7 +196,11 @@
|
||||
* - \ref MR_AI : Address Auto-Increment in Indirect Bus Interface
|
||||
* - \ref MR_IND : Indirect Bus Interface mode
|
||||
*/
|
||||
#define MR (_W5100_IO_BASE_ + (0x0000)) // Mode
|
||||
#if _WIZCHIP_IO_MODE_ == _WIZCHIP_IO_MODE_BUS_INDIR_
|
||||
#define MR (_WIZCHIP_IO_BASE_ + (0x0000)) // Mode
|
||||
#else
|
||||
#define MR (_W5500_IO_BASE_ + (0x0000)) // Mode
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @ingroup Common_register_group_W5100
|
||||
|
Reference in New Issue
Block a user