test

Fork of mbed-dev by mbed official

targets/TARGET_Realtek/TARGET_AMEBA/ota_api.h

Committer:
AnnaBridge
Date:
2017-11-08
Revision:
178:d650f5d4c87a
Parent:
174:e131a1973e81

File content as of revision 178:d650f5d4c87a:

#ifndef MBED_OTA_API_H
#define MBED_OTA_API_H

#ifdef __cplusplus
 extern "C" {
#endif

extern uint32_t OTA_UpdateImage(uint32_t offset, uint32_t len, uint8_t *data);
extern uint32_t OTA_ReadImage(uint32_t offset, uint32_t len, uint8_t *data);
extern uint32_t OTA_MarkUpdateDone(void);
extern void OTA_ResetTarget(void);

#ifdef __cplusplus
}
#endif

#endif /* MBED_OTA_API_H */