This function handles NMI exception.
This function handles Hard Fault exception.
This function handles Debug Monitor exception.
This function handles Memory Manage exception.
This function handles Bus Fault exception.
This function handles Usage Fault exception.
This function handles SysTick Handler.
Notify the User about the network interface config status
Should be called at the beginning of the program to set up the network interface. It calls the function low_level_init() to do the actual setup of the hardware. This function should be passed as a parameter to netif_add().
Custom Rx pbuf free callback
PHI IO Functions Initializes the MDIO interface GPIO and clocks.
De-Initializes the MDIO interface .
Read a PHY register through the MDIO interface.
Write a value to a PHY register through the MDIO interface.
Get the time in millisecons used for internal PHY driver process.
This function should be called when a packet is ready to be read from the interface. It uses the function low_level_input() that should handle the actual reception of bytes from the network interface. Then the type of the received packet is determined and the appropriate input function is called.
Ethernet Link periodic check
Initializes the tcp echo server
This function is used to send data for tcp connection
This function implements the tcp_sent LwIP callback (called when ACK is received from remote host for sent data)
This functions closes the tcp connection
System Clock Configuration The system Clock is configured as follow : System Clock source = PLL (HSE) SYSCLK(Hz) = 168000000 HCLK(Hz) = 168000000 AHB Prescaler = 1 APB1 Prescaler = 4 APB2 Prescaler = 2 HSE Frequency(Hz) = 25000000 PLL_M = 25 PLL_N = 336 PLL_P = 2 PLL_Q = 7 VDD(V) = 3.3 Main regulator output voltage = Scale1 mode Flash Latency(WS) = 5
Configurates the network interface
This function is the implementation of tcp_accept LwIP callback
This function implements the tcp_err callback function (called when a fatal tcp_connection error occurs.
This function implements the tcp_poll LwIP callback function
This function is the implementation for tcp_recv LwIP callback
LL Driver Interface ( LwIP stack --> ETH) In this function, the hardware should be initialized. Called from ethernetif_init().
This function should do the actual transmission of the packet. The packet is contained in the pbuf that is passed to the function. This pbuf might be chained.
Should allocate a pbuf and transfer the bytes of the incoming packet from the interface into the pbuf.