mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 05:13:46 -07:00
updates from make style
This commit is contained in:
parent
6eea476076
commit
48ca513a96
8 changed files with 16 additions and 63 deletions
|
@ -112,56 +112,10 @@ uint16_t FlashSendLastByte(uint32_t data);
|
||||||
|
|
||||||
|
|
||||||
#ifndef AS_BOOTROM
|
#ifndef AS_BOOTROM
|
||||||
// Bootrom does not require these functions.
|
|
||||||
// Wrap in #ifndef to avoid accidental bloat of bootrom
|
|
||||||
// Bootrom needs only enough to get uniqueID from flash.
|
|
||||||
// It calls three functions. Full call trees listed:
|
|
||||||
//
|
|
||||||
// FlashInit()
|
|
||||||
// |
|
|
||||||
// \____ FlashSetup()
|
|
||||||
// | \____ leaf
|
|
||||||
// |
|
|
||||||
// \____ StartTicks()
|
|
||||||
// | \____ leaf
|
|
||||||
// |
|
|
||||||
// \____ Flash_CheckBusy() [*]
|
|
||||||
// | \____ WaitUS()
|
|
||||||
// | | \____ WaitTicks()
|
|
||||||
// | | \____ leaf
|
|
||||||
// | |
|
|
||||||
// | \____ StartCountUS()
|
|
||||||
// | | \____ leaf
|
|
||||||
// | |
|
|
||||||
// | \____ GetCountUS()
|
|
||||||
// | | \____ leaf
|
|
||||||
// | |
|
|
||||||
// | \____ Flash_ReadStat1()
|
|
||||||
// | \____ FlashSendByte()
|
|
||||||
// | | \____ leaf
|
|
||||||
// | |
|
|
||||||
// | \____ FlashSendLastByte()
|
|
||||||
// | \____ FlashSendByte()
|
|
||||||
// | \____ leaf
|
|
||||||
// |
|
|
||||||
// \____ StopTicks()
|
|
||||||
// \____ leaf
|
|
||||||
//
|
|
||||||
// Flash_UniqueID()
|
|
||||||
// \____ FlashCheckBusy() (see FlashInit)
|
|
||||||
// \____ FlashSendByteByte() (see FlashInit)
|
|
||||||
// \____ FlashSendByteLastByte() (see FlashInit)
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// FlashStop() [*]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void FlashmemSetSpiBaudrate(uint32_t baudrate);
|
void FlashmemSetSpiBaudrate(uint32_t baudrate);
|
||||||
bool Flash_WaitIdle(void);
|
bool Flash_WaitIdle(void);
|
||||||
void Flash_TransferAdresse(uint32_t address);
|
void Flash_TransferAdresse(uint32_t address);
|
||||||
|
|
||||||
|
|
||||||
void Flash_WriteEnable(void);
|
void Flash_WriteEnable(void);
|
||||||
bool Flash_WipeMemoryPage(uint8_t page);
|
bool Flash_WipeMemoryPage(uint8_t page);
|
||||||
bool Flash_WipeMemory(void);
|
bool Flash_WipeMemory(void);
|
||||||
|
|
|
@ -3099,10 +3099,9 @@
|
||||||
"--fc <dec> facility code",
|
"--fc <dec> facility code",
|
||||||
"--cn <dec> card number",
|
"--cn <dec> card number",
|
||||||
"-w, --wiegand <format> see `wiegand list` for available formats",
|
"-w, --wiegand <format> see `wiegand list` for available formats",
|
||||||
"--shallow use shallow (ASK) reader modulation instead of OOK",
|
"--shallow use shallow (ASK) reader modulation instead of OOK"
|
||||||
"-v verbose (print encoded blocks)"
|
|
||||||
],
|
],
|
||||||
"usage": "hf iclass encode [-hv] [--bin <bin>] --ki <dec> [--credit] [--elite] [--raw] [--enckey <hex>] [--fc <dec>] [--cn <dec>] [-w <format>] [--shallow]"
|
"usage": "hf iclass encode [-h] [--bin <bin>] --ki <dec> [--credit] [--elite] [--raw] [--enckey <hex>] [--fc <dec>] [--cn <dec>] [-w <format>] [--shallow]"
|
||||||
},
|
},
|
||||||
"hf iclass encrypt": {
|
"hf iclass encrypt": {
|
||||||
"command": "hf iclass encrypt",
|
"command": "hf iclass encrypt",
|
||||||
|
@ -11507,7 +11506,7 @@
|
||||||
},
|
},
|
||||||
"script help": {
|
"script help": {
|
||||||
"command": "script help",
|
"command": "script help",
|
||||||
"description": "This is a feature to run Lua/Cmd scripts. You can place scripts within the luascripts/cmdscripts folders. --------------------------------------------------------------------------------------- script list available offline: yes",
|
"description": "This is a feature to run Lua/Cmd/Python scripts. You can place scripts within the luascripts/cmdscripts/pyscripts folders. --------------------------------------------------------------------------------------- script list available offline: yes",
|
||||||
"notes": [],
|
"notes": [],
|
||||||
"offline": true,
|
"offline": true,
|
||||||
"options": [],
|
"options": [],
|
||||||
|
@ -11904,6 +11903,6 @@
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"commands_extracted": 749,
|
"commands_extracted": 749,
|
||||||
"extracted_by": "PM3Help2JSON v1.00",
|
"extracted_by": "PM3Help2JSON v1.00",
|
||||||
"extracted_on": "2023-02-11T10:42:29"
|
"extracted_on": "2023-02-18T01:26:44"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue