PER Firmware
Loading...
Searching...
No Matches
ethernet.h
Go to the documentation of this file.
1#ifndef ETHERNET_H
2#define ETHERNET_H
3
13#include <stdint.h>
14#include "w5500/wizchip_conf.h"
15
24
25typedef struct {
26 wiz_NetInfo net_info;
27 uint8_t udp_address[4];
28 uint16_t udp_port;
29 uint8_t udp_socket;
31
33void ethernet_periodic(void);
34
35#endif // ETHERNET_H
void ethernet_periodic(void)
Definition ethernet.c:120
ethernet_state_t
Definition ethernet.h:16
@ ETHERNET_STATE_FATAL
Definition ethernet.h:22
@ ETHERNET_STATE_READY2TX
Definition ethernet.h:20
@ ETHERNET_STATE_UDP_INIT
Definition ethernet.h:18
@ ETHERNET_STATE_HW_INIT
Definition ethernet.h:17
@ ETHERNET_STATE_RECOVERING
Definition ethernet.h:21
@ ETHERNET_STATE_LINKING
Definition ethernet.h:19
void w5500_register_callbacks(void)
Definition w5500_callbacks.c:136
Definition ethernet.h:25
wiz_NetInfo net_info
Definition ethernet.h:26
uint8_t udp_socket
Definition ethernet.h:29
uint16_t udp_port
Definition ethernet.h:28