rboot-private.h File Reference
#include <rboot.h>
Include dependency graph for rboot-private.h:
Go to the source code of this file.
Classes | |
| struct | rom_header |
| struct | section_header |
| struct | rom_header_new |
Macros | |
| #define | NOINLINE __attribute__ ((noinline)) |
| #define | ROM_MAGIC 0xe9 |
| #define | ROM_MAGIC_NEW1 0xea |
| #define | ROM_MAGIC_NEW2 0x04 |
| #define | BUFFER_SIZE 0x100 |
| #define | READ_SIZE 0x1000 |
Typedefs | |
| typedef void | stage2a(uint32_t) |
| typedef void | usercode(void) |
Enumerations | |
| enum | rst_reason { REASON_DEFAULT_RST = 0, REASON_WDT_RST = 1, REASON_EXCEPTION_RST = 2, REASON_SOFT_WDT_RST = 3, REASON_SOFT_RESTART = 4, REASON_DEEP_SLEEP_AWAKE = 5, REASON_EXT_SYS_RST = 6 } |
Functions | |
| uint32_t | SPIRead (uint32_t addr, void *outptr, uint32_t len) |
| uint32_t | SPIEraseSector (int) |
| uint32_t | SPIWrite (uint32_t addr, void *inptr, uint32_t len) |
| void | ets_printf (char *,...) |
| void | ets_delay_us (int) |
| void | ets_memset (void *, uint8_t, uint32_t) |
| void | ets_memcpy (void *, const void *, uint32_t) |
Macro Definition Documentation
◆ BUFFER_SIZE
| #define BUFFER_SIZE 0x100 |
◆ NOINLINE
| #define NOINLINE __attribute__ ((noinline)) |
◆ READ_SIZE
| #define READ_SIZE 0x1000 |
◆ ROM_MAGIC
| #define ROM_MAGIC 0xe9 |
◆ ROM_MAGIC_NEW1
| #define ROM_MAGIC_NEW1 0xea |
◆ ROM_MAGIC_NEW2
| #define ROM_MAGIC_NEW2 0x04 |
Typedef Documentation
◆ stage2a
| typedef void stage2a(uint32_t) |
◆ usercode
| typedef void usercode(void) |
Enumeration Type Documentation
◆ rst_reason
| enum rst_reason |
Function Documentation
◆ ets_delay_us()
| void ets_delay_us | ( | int | ) |
◆ ets_memcpy()
| void ets_memcpy | ( | void * | , |
| const void * | , | ||
| uint32_t | |||
| ) |
◆ ets_memset()
| void ets_memset | ( | void * | , |
| uint8_t | , | ||
| uint32_t | |||
| ) |
◆ ets_printf()
| void ets_printf | ( | char * | , |
| ... | |||
| ) |
◆ SPIEraseSector()
| uint32_t SPIEraseSector | ( | int | ) |
◆ SPIRead()
| uint32_t SPIRead | ( | uint32_t | addr, |
| void * | outptr, | ||
| uint32_t | len | ||
| ) |
◆ SPIWrite()
| uint32_t SPIWrite | ( | uint32_t | addr, |
| void * | inptr, | ||
| uint32_t | len | ||
| ) |
1.8.17