STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Functions | Variables
main_http.c File Reference
#include "main.h"
#include "lwip/netif.h"
#include "lwip/tcpip.h"
#include <lwip/sockets.h>
#include "cmsis_os.h"
#include "ethernetif.h"
#include "app_ethernet.h"
#include "lcd_log.h"
#include "httpserver-netconn.h"
#include "udp.h"
#include "ip4.h"
#include "raw.h"
#include "init.h"

Go to the source code of this file.

Functions

void SystemClock_Config (void)
 System Clock Configuration The system Clock is configured as follow : System Clock source = PLL (HSE) SYSCLK(Hz) = 200000000 HCLK(Hz) = 200000000 AHB Prescaler = 1 APB1 Prescaler = 4 APB2 Prescaler = 2 HSE Frequency(Hz) = 25000000 PLL_M = 25 PLL_N = 400 PLL_P = 2 PLL_Q = 9 PLL_R = 7 VDD(V) = 3.3 Main regulator output voltage = Scale1 mode Flash Latency(WS) = 7. More...
 
void MPU_Config (void)
 Configure the MPU attributes as Write Through for SRAM1/2. More...
 
void CPU_CACHE_Enable (void)
 CPU L1-Cache enable. More...
 
void StartHTTPDThread (void const *argument)
 Start Thread. More...
 
void http_taskCreate (void)
 
int main_http (void)
 Main program. More...
 
void UDanteUDP_Receive (void *arg, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *addr, u16_t port)
 
void main_UDanteUDP (void)
 
void Netif_AddUDANTE (ip_addr_t ipAddr)
 

Variables

struct netif gnetif
 
struct netif gnetifUDANTE
 
struct udp_pcb * pcb0
 
int recCnt = 0
 

Function Documentation

int main_http ( void  )

Main program.

Parameters
None
Return values
None

Definition at line 105 of file main_http.c.

void main_UDanteUDP ( void  )

Definition at line 202 of file main_http.c.

void Netif_AddUDANTE ( ip_addr_t  ipAddr)

Definition at line 290 of file main_http.c.

void StartHTTPDThread ( void const *  argument)

Start Thread.

Parameters
argumentnot used
Return values
None

Definition at line 248 of file main_http.c.

void UDanteUDP_Receive ( void *  arg,
struct udp_pcb *  pcb,
struct pbuf p,
const ip_addr_t addr,
u16_t  port 
)

Definition at line 157 of file main_http.c.

Variable Documentation

struct netif gnetif

Definition at line 71 of file main_http.c.

struct netif gnetifUDANTE

Definition at line 72 of file main_http.c.

struct udp_pcb* pcb0

Definition at line 147 of file main_http.c.

int recCnt = 0

Definition at line 155 of file main_http.c.