picolibrary

W5500 Facilities

WIZnet W5500 facilities are defined in the include/picolibrary/wiznet/w5500.h/source/picolibrary/wiznet/w5500.cc header/source file pair.

Table of Contents

  1. Control Byte Information
  2. Socket Count
  3. Socket Identification
  4. Socket Memory Block Identification
  5. Communication Controller
  6. Register Information
  7. Driver
  8. ARP Forcing Configuration Identification
  9. Ping Blocking Configuration Identification
  10. Interrupt Masks
  11. PHY Mode Identification
  12. Link Status Identification
  13. Link Mode Identification
  14. Link Speed Identification
  15. Unicast Blocking Configuration Identification
  16. No Delayed ACK Usage Configuration Identification
  17. Broadcast Blocking Configuration Identification
  18. Socket Interrupt Masks
  19. Socket Buffer Size Identification

Control Byte Information

WIZnet W5500 control byte information is defined in the ::picolibrary::WIZnet::W5500::Control_Byte structure. Control byte field information is defined in the following ::picolibrary::WIZnet::W5500::Control_Byte structures and enums:

Socket Count

The ::picolibrary::WIZnet::W5500::SOCKETS constant stores the WIZnet W5500 socket count.

Socket Identification

The ::picolibrary::WIZnet::W5500::Socket_ID enum class is used to identify WIZnet W5500 sockets.

A std::ostream insertion operator is defined for ::picolibrary::WIZnet::W5500::Socket_ID if the PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON. The insertion operator is defined in the include/picolibrary/testing/automated/wiznet/w5500.h/source/picolibrary/testing/automated/wiznet/w5500.cc header/source file pair.

Socket Memory Block Identification

The ::picolibrary::WIZnet::W5500::Socket_Memory_Block enum class is used to identify WIZnet W5500 socket memory blocks.

A std::ostream insertion operator is defined for ::picolibrary::WIZnet::W5500::Socket_Memory_Block if the PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON. The insertion operator is defined in the include/picolibrary/testing/automated/wiznet/w5500.h/source/picolibrary/testing/automated/wiznet/w5500.cc header/source file pair.

Communication Controller

The ::picolibrary::WIZnet::W5500::Communication_Controller template class implements low level functionality for interacting with a WIZnet W5500.

::picolibrary::WIZnet::W5500::Communication_Controller automated tests are defined in the test/automated/picolibrary/wiznet/w5500/communication_controller/main.cc source file.

The ::picolibrary::Testing::Automated::WIZnet::W5500::Mock_Communication_Controller mock WIZnet W5500 communication controller class is available if the PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON. The mock is defined in the include/picolibrary/testing/automated/wiznet/w5500.h/source/picolibrary/testing/automated/wiznet/w5500.cc header/source file pair.

Register Information

WIZnet W5500 register information is defined in the following structures:

The following type aliases are defined in register information structures:

The following constants are defined in register information structures:

The following register field information structures are defined in register information structures for registers that have fields:

Enums for register field values are defined when appropriate.

Driver

The ::picolibrary::WIZnet::W5500::Driver WIZnet W5500 driver template class is used to interact with a WIZnet W5500.

::picolibrary::WIZnet::W5500::Driver automated tests are defined in the test/automated/picolibrary/wiznet/w5500/driver/main.cc source file.

The ::picolibrary::Testing::Automated::WIZnet::W5500::Mock_Driver mock WIZnet W5500 driver class is available if the PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON. The mock is defined in the include/picolibrary/testing/automated/wiznet/w5500.h/source/picolibrary/testing/automated/wiznet/w5500.cc header/source file pair.

ARP Forcing Configuration Identification

The ::picolibrary::WIZnet::W5500::ARP_Forcing enum class is used to identify WIZnet W5500 ARP forcing configurations.

A std::ostream insertion operator is defined for ::picolibrary::WIZnet::W5500::ARP_Forcing if the PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON. The insertion operator is defined in the include/picolibrary/testing/automated/wiznet/w5500.h/source/picolibrary/testing/automated/wiznet/w5500.cc header/source file pair.

Ping Blocking Configuration Identification

The ::picolibrary::WIZnet::W5500::Ping_Blocking enum class is used to identify WIZnet W5500 Ping blocking configurations.

A std::ostream insertion operator is defined for ::picolibrary::WIZnet::W5500::Ping_Blocking if the PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON. The insertion operator is defined in the include/picolibrary/testing/automated/wiznet/w5500.h/source/picolibrary/testing/automated/wiznet/w5500.cc header/source file pair.

Interrupt Masks

WIZnet W5500 interrupt masks are defined in the ::picolibrary::WIZnet::W5500::Interrupt structure.

PHY Mode Identification

The ::picolibrary::WIZnet::W5500::PHY_Mode enum class is used to identify WIZnet W5500 PHY modes.

A std::ostream insertion operator is defined for ::picolibrary::WIZnet::W5500::PHY_Mode if the PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON. The insertion operator is defined in the include/picolibrary/testing/automated/wiznet/w5500.h/source/picolibrary/testing/automated/wiznet/w5500.cc header/source file pair.

The ::picolibrary::WIZnet::W5500::Link_Status enum class is used to identify WIZnet W5500 link statuses.

A std::ostream insertion operator is defined for ::picolibrary::WIZnet::W5500::Link_Status if the PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON. The insertion operator is defined in the include/picolibrary/testing/automated/wiznet/w5500.h/source/picolibrary/testing/automated/wiznet/w5500.cc header/source file pair.

The ::picolibrary::WIZnet::W5500::Link_Mode enum class is used to identify WIZnet W5500 link modes.

A std::ostream insertion operator is defined for ::picolibrary::WIZnet::W5500::Link_Mode if the PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON. The insertion operator is defined in the include/picolibrary/testing/automated/wiznet/w5500.h/source/picolibrary/testing/automated/wiznet/w5500.cc header/source file pair.

The ::picolibrary::WIZnet::W5500::Link_Speed enum class is used to identify WIZnet W5500 link speeds.

A std::ostream insertion operator is defined for ::picolibrary::WIZnet::W5500::Link_Speed if the PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON. The insertion operator is defined in the include/picolibrary/testing/automated/wiznet/w5500.h/source/picolibrary/testing/automated/wiznet/w5500.cc header/source file pair.

Unicast Blocking Configuration Identification

The ::picolibrary::WIZnet::W5500::Unicast_Blocking enum class is used to identify WIZnet W5500 unicast blocking configurations.

A std::ostream insertion operator is defined for ::picolibrary::WIZnet::W5500::Unicast_Blocking if the PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON. The insertion operator is defined in the include/picolibrary/testing/automated/wiznet/w5500.h/source/picolibrary/testing/automated/wiznet/w5500.cc header/source file pair.

No Delayed ACK Usage Configuration Identification

The ::picolibrary::WIZnet::W5500::No_Delayed_ACK_Usage enum class is used to identify WIZnet W5500 no delayed ACK usage configurations.

A std::ostream insertion operator is defined for ::picolibrary::WIZnet::W5500::No_Delayed_ACK_Usage if the PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON. The insertion operator is defined in the include/picolibrary/testing/automated/wiznet/w5500.h/source/picolibrary/testing/automated/wiznet/w5500.cc header/source file pair.

Broadcast Blocking Configuration Identification

The ::picolibrary::WIZnet::W5500::Broadcast_Blocking enum class is used to identify WIZnet W5500 broadcast blocking configurations.

A std::ostream insertion operator is defined for ::picolibrary::WIZnet::W5500::Broadcast_Blocking if the PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON. The insertion operator is defined in the include/picolibrary/testing/automated/wiznet/w5500.h/source/picolibrary/testing/automated/wiznet/w5500.cc header/source file pair.

Socket Interrupt Masks

WIZnet W5500 socket interrupt masks are defined in the ::picolibrary::WIZnet::W5500::Socket_Interrupt structure.

Socket Buffer Size Identification

The ::picolibrary::WIZnet::W5500::Socket_Buffer_Size enum class is used to identify WIZnet W5500 socket buffer sizes.

A std::ostream insertion operator is defined for ::picolibrary::WIZnet::W5500::Socket_Buffer_Size if the PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON. The insertion operator is defined in the include/picolibrary/testing/automated/wiznet/w5500.h/source/picolibrary/testing/automated/wiznet/w5500.cc header/source file pair.