add getsock(), setsock()
Fork of WIZnetInterface by
Diff: arch/ext/W5500.h
- Revision:
- 9:40d25592e6a0
- Parent:
- 8:4c02de1dbf3a
- Child:
- 12:99e8386ba225
diff -r 4c02de1dbf3a -r 40d25592e6a0 arch/ext/W5500.h --- a/arch/ext/W5500.h Tue Jun 16 11:11:11 2015 +0900 +++ b/arch/ext/W5500.h Tue Jun 16 11:20:00 2015 +0900 @@ -487,27 +487,6 @@ /** * @ingroup Common_register_access_function - * @brief Set INTLEVEL register - * @param (uint16_t)intlevel Value to set @ref INTLEVEL register. - * @sa getINTLEVEL() - */ - void setINTLEVEL(uint16_t intlevel) { - reg_wr<uint16_t>(INTLEVEL, intlevel); - } - - -/** - * @ingroup Common_register_access_function - * @brief Get INTLEVEL register - * @return uint16_t. Value of @ref INTLEVEL register. - * @sa setINTLEVEL() - */ - uint16_t getINTLEVEL() { - return reg_rd<uint16_t>(INTLEVEL); - } - -/** - * @ingroup Common_register_access_function * @brief Set @ref IR register * @param (uint8_t)ir Value to set @ref IR register. * @sa getIR()