WebRadioApp  0.1
main.cpp File Reference
#include "web_radio_config.h"
#include "radio.h"
#include "main.h"
Include dependency graph for main.cpp:

Macros

#define HSEM_ID_0   (0U) /* HW semaphore 0*/
 

Functions

int fputc (int ch, FILE *f)
 
FRESULT scan_files (char *path)
 Scan files. More...
 
void HAL_TIM_PeriodElapsedCallback (TIM_HandleTypeDef *htim)
 TIM HAL for Clock. More...
 
int main (void)
 Main function. More...
 
void Error_Handler (void)
 This function is executed in case of error occurrence. More...
 
function prototypes
static void MX_GPIO_Init (void)
 GPIO Initialization Function. More...
 
static void MX_TIM1_Init (void)
 TIM1 Initialization Function. More...
 
static void MX_SDMMC1_SD_Init (void)
 SDMMC1 Initialization Function. More...
 
static void MX_RNG_Init (void)
 RNG Initialization Function. More...
 

Variables

SD_HandleTypeDef hsd1
 
TIM_HandleTypeDef htim1
 
RNG_HandleTypeDef hrng
 
Variables for USB Memory Stick and SD Disk
ApplicationTypeDef Appli_state
 
FRESULT res
 
FRESULT res0
 
FRESULT res1
 
FRESULT res2 = FR_OK
 
char buff1 [6]
 
FATFS * fs
 
DWORD fre_clust
 
DWORD fre_sect
 
DWORD tot_sect
 
Variables for Timers and Clock
int XTAL_Min
 
int XTAL_Min1
 
int XTAL_Min2
 
int XTAL_Hour
 
int XTAL_Sec
 
int XTAL_Sec1
 
int XTAL_Sec2
 
int XTAL_Day
 
int XTAL_Month
 
int XTAL_Year
 
int XTAL_Weekday
 
int XTAL_MESZ
 
int First_XTAL_Min
 
int First_XTAL_Hour
 
int Leap_year
 
int XTAL_MSEC
 
Variables for Ethernet and Network Interface
struct netif gnetif
 
unsigned long ulIPAddress
 
unsigned long ulIPAddress1
 
unsigned long ulIPAddress2
 
unsigned long ulIPAddress3 = 0
 
unsigned long ulGWAddress
 
unsigned long ulNMAddress
 
unsigned long ulIPv6Address
 
unsigned long ulIPv6Address1
 
unsigned long ulIPv6Address2
 
unsigned long ulIPv6Address3 = 0
 
Variables for MP3 decoding
HMP3Decoder hMP3Decoder
 
uint8_t initialaudiovolume
 
Scratch Variables
char s4 [80]
 
char connectionInfo [80]
 
int timeout = 0
 
volatile uint64_t MS_TIMER1
 
ip_addr_t CurrNTPserver
 

Detailed Description

Author
Kevin Bello (k.bel.nosp@m.lo@t.nosp@m.um.de)
Version
0.1
Date
2021-04-16