#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
#include <math.h>
#include <complex.h>
#include "config.h"
#include "LCD.h"
#include "touch.h"
#include "ff.h"
#include "textbox.h"
#include "screenshot.h"
#include "crash.h"
#include "stm32746g_discovery_lcd.h"
#include "keyboard.h"
#include "lodepng.h"
#include "mainwnd.h"
#include "DS3231.h"
#include "sdram_heap.h"
Functions | |
void | Sleep (uint32_t) |
uint8_t | __attribute__ ((section(".user_sdram"))) |
DWORD | get_fattime (void) |
int32_t | ShowLogo (void) |
void | AnalyzeDate (WORD datex, char *str) |
void | AnalyzeTime (WORD datex, char *str) |
int16_t | SCREENSHOT_SelectFileNames (int fileNoMin) |
char * | SCREENSHOT_SelectFileName (void) |
void | SCREENSHOT_DeleteOldest (void) |
void | Date_Time_Stamp (void) |
void | SCREENSHOT_Save (const char *fname) |
void * | lodepng_malloc (size_t size) |
void * | lodepng_realloc (void *ptr, size_t new_size) |
void | lodepng_free (void *ptr) |
static void | _Change_B_R (uint32_t *image) |
void | SCREENSHOT_SavePNG (const char *fname) |
unsigned | lodepng_decode32 (unsigned char **out, unsigned *w, unsigned *h, const unsigned char *in, size_t insize) |
void | SCREENSHOT_ShowPicture (uint16_t Pointer1) |
void | SCREENSHOT_DeleteFile (uint16_t Pointer1) |
Variables | |
static const TCHAR * | SNDIR = "/aa/snapshot" |
static uint32_t | oldest = 0xFFFFFFFFul |
static uint32_t | numfiles = 0 |
static const char * | g_logo_fpath1 = "/aa/logo.bmp" |
static const char * | g_logo_fpath2 = "/aa/logo.png" |
volatile int | Page |
uint16_t | Pointer |
TCHAR | fileNames [13][13] |
static DWORD | FileLength [12] |
static unsigned char * | inBuf |
static unsigned char | InBuf [8000] |
uint8_t __attribute__ | ( | (section(".user_sdram")) | ) |
|
static |
unsigned lodepng_decode32 | ( | unsigned char ** | out, |
unsigned * | w, | ||
unsigned * | h, | ||
const unsigned char * | in, | ||
size_t | insize | ||
) |
void* lodepng_malloc | ( | size_t | size | ) |
void SCREENSHOT_DeleteFile | ( | uint16_t | Pointer1 | ) |
void SCREENSHOT_Save | ( | const char * | fname | ) |
void SCREENSHOT_SavePNG | ( | const char * | fname | ) |
char* SCREENSHOT_SelectFileName | ( | void | ) |
int16_t SCREENSHOT_SelectFileNames | ( | int | fileNoMin | ) |
void SCREENSHOT_ShowPicture | ( | uint16_t | Pointer1 | ) |
int32_t ShowLogo | ( | void | ) |
void Sleep | ( | uint32_t | ) |
|
static |
TCHAR fileNames[13][13] |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
volatile int Page |
uint16_t Pointer |
|
static |