- synchronize STM8 application and external flash layout updates\n- add assembly bootloader and assembly application test projects\n- add UART1 interrupt receive ring buffer\n- parse JDY-28M Mesh outer frames and source addresses\n- add CRC-16/MODBUS validation\n- implement relay control command 0x01 and response 0x81\n- support unicast and broadcast relay control frames\n- update host protocol, OTA documents, and serial tools
13 lines
520 B
C
13 lines
520 B
C
/** @file w25q64_app.h @brief 主程序侧W25Q64结果读取接口。 */
|
|
#ifndef W25Q64_APP_H
|
|
#define W25Q64_APP_H
|
|
#include <stdint.h>
|
|
uint8_t W25Q64App_Init(void);
|
|
uint8_t W25Q64App_ReadByte(uint32_t address, uint8_t *value);
|
|
uint8_t W25Q64App_Read(uint32_t address, uint8_t *buffer, uint16_t length);
|
|
uint8_t W25Q64App_EraseSector(uint32_t address);
|
|
uint8_t W25Q64App_PageProgram(uint32_t address, const uint8_t *data,
|
|
uint16_t length);
|
|
uint8_t W25Q64App_ClearUpgradeResult(void);
|
|
#endif
|