18 lines
702 B
C
18 lines
702 B
C
#ifndef F28335_BOOT_PLATFORM_H
|
|
#define F28335_BOOT_PLATFORM_H
|
|
#include "f28335_boot_store.h"
|
|
#ifndef F28335_BOOT_LOADER
|
|
#define F28335_BOOT_LOADER 0
|
|
#endif
|
|
bool F28335Boot_Read(void *u,uint32_t address,pcan_boot_byte_t *p,unsigned int n);
|
|
bool F28335Boot_Write(void *u,uint32_t address,const pcan_boot_byte_t *p,unsigned int n);
|
|
uint32_t F28335Boot_Now(void);
|
|
void F28335Boot_Reset(unsigned int session);
|
|
unsigned int F28335Boot_RunningSlot(void);
|
|
unsigned int F28335Boot_RequestedSession(void);
|
|
void F28335Boot_SetRunning(unsigned int slot);
|
|
void F28335Boot_StartupWatchdog(void);
|
|
/* Application hook must stop outputs before reset. No EEPROM operations here. */
|
|
void F28335Boot_Quiesce(void);
|
|
#endif
|