#include <bt8xxemu.h>
Data Fields | |
eve_tchar_t | DeviceType [26] |
ptrdiff_t | SizeBytes |
eve_tchar_t | DataFilePath [260] |
eve_tchar_t | StatusFilePath [260] |
int | Persistent |
int | StdOut |
void * | Data |
ptrdiff_t | DataSizeBytes |
void(* | Log )(BT8XXEMU_Flash *sender, void *context, BT8XXEMU_LogType type, const char *message) |
void * | UserContext |
Definition at line 243 of file bt8xxemu.h.
void* BT8XXEMU_FlashParameters::Data |
Data buffer that is written to the flash initially, overriding any existing contents that may have been loaded from a flash file already, default NULL and 0
Definition at line 274 of file bt8xxemu.h.
eve_tchar_t BT8XXEMU_FlashParameters::DataFilePath[260] |
Data file to load onto the flash, default NULL
Definition at line 252 of file bt8xxemu.h.
ptrdiff_t BT8XXEMU_FlashParameters::DataSizeBytes |
Definition at line 275 of file bt8xxemu.h.
eve_tchar_t BT8XXEMU_FlashParameters::DeviceType[26] |
Device type, by library name, default "mx25lemu"
Definition at line 246 of file bt8xxemu.h.
void(* BT8XXEMU_FlashParameters::Log) (BT8XXEMU_Flash *sender, void *context, BT8XXEMU_LogType type, const char *message) |
Log callback
Definition at line 278 of file bt8xxemu.h.
int BT8XXEMU_FlashParameters::Persistent |
Write actions to the flash are persisted to the used file.
This is accomplished by memory mapping the file, instead of the file being copied to memory. Default false
Definition at line 264 of file bt8xxemu.h.
ptrdiff_t BT8XXEMU_FlashParameters::SizeBytes |
Size of the flash memory in bytes, default 8MB
Definition at line 249 of file bt8xxemu.h.
eve_tchar_t BT8XXEMU_FlashParameters::StatusFilePath[260] |
Internal flash status file, device specific, default NULL
Definition at line 255 of file bt8xxemu.h.
int BT8XXEMU_FlashParameters::StdOut |
Print log to standard output. Default false
Definition at line 267 of file bt8xxemu.h.
void* BT8XXEMU_FlashParameters::UserContext |
User context that will be passed along to callbacks
Definition at line 281 of file bt8xxemu.h.