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.
This function handles SVCall exception.
This function handles PendSVC exception.
This function handles DMA2 Stream 3 interrupt request.
This function handles DMA2 Stream 6 interrupt request.
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().
This function handles SDIO interrupt request.
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
Sends a TFTP error message
Cleanup after end of TFTP write operation
tftp receive callback on port 69
Extracts the block number from TFTP message
set the opcode in TFTP message: RRQ / WRQ / DATA / ACK / ERROR
Cleanup after end of TFTP read operation
Extracts the opcode from a TFTP message
Extracts the filename from TFTP message
Initializes the udp pcb for TFTP
processes tftp write operation
processes tftp read operation
sends next data block during TFTP READ operation
Set the errorcode in TFTP message
Check if the received acknowledgement is correct
construct an error message into buf
receive callback during tftp read operation (not on standard port 69)
receive callback during tftp write operation (not on standard port 69)
processes the tftp request on port 69
Initializes the STM324xG-EVAL's LCD and LEDs resources.
Configurates the network interface
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
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.