2019-12-22 18:16:59 +08:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// Copyright (C) 2019 iceman
|
|
|
|
//
|
|
|
|
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
|
|
|
|
// at your option, any later version. See the LICENSE.txt file for the text of
|
|
|
|
// the license.
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// LTO-CM commands
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#ifndef CMDHFLTO_H__
|
|
|
|
#define CMDHFLTO_H__
|
|
|
|
|
|
|
|
#include "common.h"
|
|
|
|
|
|
|
|
int infoLTO(bool verbose);
|
2020-02-07 02:38:58 +08:00
|
|
|
int dumpLTO(uint8_t *dump, bool verbose);
|
|
|
|
int restoreLTO(uint8_t *dump, bool verbose);
|
2020-01-23 02:55:37 +08:00
|
|
|
int rdblLTO(uint8_t st_blk, uint8_t end_blk, bool verbose);
|
2020-01-28 03:39:38 +08:00
|
|
|
int wrblLTO(uint8_t blk, uint8_t *data, bool verbose);
|
2019-12-22 18:16:59 +08:00
|
|
|
int CmdHFLTO(const char *Cmd);
|
|
|
|
|
|
|
|
#endif
|
2020-01-23 02:55:37 +08:00
|
|
|
|