SingingCat
0
application
include
espressif
esp8266_flash_from_any_source.h
1
#ifndef ESP_FLASH_SERIAL_PORT_H_
2
#define ESP_FLASH__SERIAL_PORT_H_ 1
3
4
#include "main-header.h"
5
6
#define ESP_FLASH_SERIAL_COM_READY 1
7
#define ESP_FLASH_SERIAL_COM_PREPARE 2
8
#define ESP_FLASH_SERIAL_COM_WRITE 3
9
#define ESP_FLASH_SERIAL_COM_FINISH 4
10
#define ESP_FLASH_SERIAL_COM_EXIT 5
11
#define ESP_FLASH_SERIAL_COM_FAILURE 6
12
13
typedef
struct
flashsercom
{
14
int
com;
15
long
val1;
16
long
val2;
17
}
_flashsercom
;
18
19
20
typedef
byte
* (*flash_get_adr_of_command)();
21
typedef
int (*flash_wait_for_command)(
struct
flashsercom
*com);
22
23
int
esp8266_flash_from_any_source(flash_wait_for_command, flash_get_adr_of_command);
24
int
espflash_unescapebuf(
byte
*buf);
25
26
#endif
flashsercom
Definition:
esp8266_flash_from_any_source.h:13
Generated on Tue May 28 2024 19:13:43 for SingingCat by
1.9.4