ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts  1.0
ESP8266ILI9341DisplayProject
flash.h
Go to the documentation of this file.
1 
25 #ifndef _FLASH_H_
26 #define _FLASH_H_
27 
28 /* flash.c */
31 void cpy_flash ( uint8_t *src , uint8_t *dest , int size );
34 uint64_t read_flash64 ( uint8_t *p );
36 int bittestv ( unsigned char *ptr , int off );
37 int bittestxy ( unsigned char *ptr , int x , int y , int w , int h );
38 
39 #endif
unsigned short uint16_t
Definition: send.c:18
int16_t y[XYSTACK+2]
Definition: ili9341.c:372
unsigned int uint32_t
Definition: send.c:19
uint64_t read_flash64(uint8_t *p)
64 bits reads from Flash memory space Uses cpy_flash() to avoid alighnment problems ...
Definition: flash.c:127
uint32_t read_flash_ptr(uint8_t *p)
Pointer read from Flash memory space Uses cpy_flash() to avoid alighnment problems.
Definition: flash.c:139
uint16_t read_flash16(uint8_t *p)
16 bits reads from Flash memory space Uses cpy_flash() to avoid alighnment problems ...
Definition: flash.c:103
int16_t x[XYSTACK+2]
Definition: ili9341.c:371
void cpy_flash(uint8_t *src, uint8_t *dest, int size)
Copy data from Flash to Ram Uses flash_read8() to avoid alighnment problems.
Definition: flash.c:89
uint8_t read_flash8(uint8_t *p)
Definition: flash.c:46
int bittestv(unsigned char *ptr, int off)
Test bit in byte array.
Definition: flash.c:151
uint32_t read_flash32(uint8_t *p)
32 bits reads from Flash memory space Uses cpy_flash() to avoid alighnment problems ...
Definition: flash.c:115
int bittestxy(unsigned char *ptr, int x, int y, int w, int h)
Test bit in w * h size bit array usng x and y offsets.
Definition: flash.c:166
unsigned char uint8_t
Definition: send.c:17