![]() |
Kinetis Bootloader Host
2.0.0
Host Tools for Kinetis devices
|
HistoryData class stores the operation history. Save users operation steps. More...
#include <HistoryData.h>
Public Types | |
| enum | FileType { kBinary, kSBFile, kIntelHex, kSRecord, kUnsupported } |
| File types. More... | |
Public Member Functions | |
| HistoryData () | |
| Generated standard constructor. | |
| virtual | ~HistoryData () |
| Generated standard destructor. | |
| int32_t | GetCurrentDevice () |
| Get current selected device index at device list. More... | |
| void | SetCurrentDevice (int32_t index) |
| Change the index of current selected device. More... | |
| int32_t | GetBaudRate (size_t index) |
| Get the baud rate at the specified index. More... | |
| size_t | GetBaudRateCount () |
| Get count of the baud rates in the list. More... | |
| int32_t | GetCurrentBaudRate () |
| Get current selected baud rate index at the list. More... | |
| void | SetCurrentBaudRate (int32_t index) |
| Change the index of current selected baud rate. More... | |
| void | AddBaudRate (int32_t baudrate) |
| Append a new baud rate at the end of the list. More... | |
| void | InsertBaudRate (int32_t baudrate) |
| Insert a new baud rate, and change the current selected baud rate. If the baud rate already exists in the list, only change the selected baud rate index. More... | |
| uint16_t | GetVid (size_t index) |
| Get the VID at the specified index. More... | |
| size_t | GetVidCount () |
| Get count of the VID in the list . More... | |
| void | AddVid (uint16_t vid) |
| Append a new VID at the end of the list. More... | |
| void | InsertVid (uint16_t vid) |
| Insert a VID at the head of the list. If the VID already exists in the list, only bubble that VID to list head. More... | |
| void | BubbleSelectedVid (size_t index) |
| bubble the VID at the specified index to the head of the VID list More... | |
| uint16_t | GetPid (size_t index) |
| Get the PID at the specified index. More... | |
| size_t | GetPidCount () |
| Get count of the PID in the list . More... | |
| void | AddPid (uint16_t pid) |
| Append a new PID at the end of the list. More... | |
| void | InsertPid (uint16_t pid) |
| Insert a PID at the head of the list. If the PID already exists in the list, only bubble it to list head. More... | |
| void | BubbleSelectedPid (size_t index) |
| bubble the PID at the specified index to the head of the PID list More... | |
| CString | GetFilePath (int index) |
| Get the file full path at the specified index of the file list. More... | |
| CString | GetFileName (int index) |
| Get the file name at the specified index of the file list. More... | |
| FileType | GetFileType (int index) |
| Get the file type of the file at the specified index of the file list. More... | |
| size_t | GetFileCount () |
| Get count of the files in the list . More... | |
| void | AddFile (CString fullPath) |
| Append a new file at the end of the list. More... | |
| void | InsertFile (CString fullPath) |
| Insert a file at the head of the list. If the file already exists in the list, only bubble that file to list head. More... | |
| void | BubbleSelectedFile (int32_t index) |
| bubble the file at the specified index to the head of the file list More... | |
| uint32_t | GetImageAddress () |
| Get image address previous used. More... | |
| void | SetImageAddress (uint32_t imageAddress) |
| Change image address. More... | |
| CString | GetBackdoorKey () |
| Get the string of backdoor key previous used. More... | |
| void | SetBackdoorKey (CString backdoorKey) |
| Change the string of backdoor key. More... | |
HistoryData class stores the operation history. Save users operation steps.
|
inline |
Append a new baud rate at the end of the list.
| the | value of baud rate. |
|
inline |
Append a new file at the end of the list.
| the | full path of the file. |
|
inline |
Append a new PID at the end of the list.
| the | value of PID. |
|
inline |
Append a new VID at the end of the list.
| the | value of VID. |
|
inline |
bubble the file at the specified index to the head of the file list
| the | index of file. |
|
inline |
bubble the PID at the specified index to the head of the PID list
| the | index of PID. |
|
inline |
bubble the VID at the specified index to the head of the VID list
| the | index of VID. |
|
inline |
Get the string of backdoor key previous used.
|
inline |
Get the baud rate at the specified index.
| index | of the list. |
|
inline |
Get count of the baud rates in the list.
|
inline |
Get current selected baud rate index at the list.
|
inline |
Get current selected device index at device list.
|
inline |
Get count of the files in the list .
|
inline |
Get the file name at the specified index of the file list.
| index | of the list. |
|
inline |
Get the file full path at the specified index of the file list.
| index | of the list. |
|
inline |
Get the file type of the file at the specified index of the file list.
| index | of the list. |
|
inline |
Get image address previous used.
|
inline |
Get the PID at the specified index.
| index | of the list. |
|
inline |
Get count of the PID in the list .
|
inline |
Get the VID at the specified index.
| index | of the list. |
|
inline |
Get count of the VID in the list .
|
inline |
Insert a new baud rate, and change the current selected baud rate. If the baud rate already exists in the list, only change the selected baud rate index.
| the | value of baud rate. |
|
inline |
Insert a file at the head of the list. If the file already exists in the list, only bubble that file to list head.
| the | full path of the file. |
|
inline |
Insert a PID at the head of the list. If the PID already exists in the list, only bubble it to list head.
| the | value of PID. |
|
inline |
Insert a VID at the head of the list. If the VID already exists in the list, only bubble that VID to list head.
| the | value of VID. |
|
inline |
Change the string of backdoor key.
| the | string of backdoor key.; |
|
inline |
Change the index of current selected baud rate.
| index | at baud rate list. |
|
inline |
Change the index of current selected device.
| index | at device list. |
|
inline |
Change image address.
| value | of the image address. |