en:netzer:states

Netzer states

Some Netzer modules like SPI Slave and the process module can access the common state of the Netzer module.

State Value Description
NETZER_STARTING 0x00 Netzer is starting, bootup.
NETZER_NOLINK 0x01 Netzer is idle but has no network link.
NETZER_IP_ERROR 0x02 Netzer has network link but no valid IP address.
NETZER_READY 0x03 Netzer is ready and has a valid IP address.
NETZER_SHUTDOWN 0x04 Netzer is shutting down right now.