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:
Woo Youl Kim
2015-04-17 13:33:42 +09:00
parent 8508482bc4
commit cd0b8f5ba9
3 changed files with 16 additions and 8 deletions

View File

@ -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