mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-02-28 11:54:30 +03:00
PEP emulation (didn't test yet)
This commit is contained in:
@@ -58,16 +58,23 @@ static const funcdescr funclist[] = {
|
||||
{"cansnif", -TCMD_CANSNIF, "get/change sniffer state (0 - normal, 1 - sniffer)"},
|
||||
{"canspeed", CMD_CANSPEED, "get/set CAN speed (bps)"},
|
||||
{"dumpconf", -TCMD_DUMPCONF, "dump current configuration"},
|
||||
{"encget", CMD_ENCGET, "read encoder data"},
|
||||
{"encreinit", CMD_ENCREINIT, "reinit encoder"},
|
||||
{"encssi", CMD_ENCISSSI, "encoder is SSI (1) or RS-422 (0)"},
|
||||
{"esw", CMD_GETESW, "anti-bounce read ESW of channel 0 or 1"},
|
||||
{"eswblk", CMD_GETESW_BLK, "blocking read ESW of channel 0 or 1"},
|
||||
{"eraseflash", CMD_ERASESTOR, "erase all flash storage"},
|
||||
{"mcutemp", CMD_MCUTEMP, "get MCU temperature (*10degrC)"},
|
||||
{"pepemul", CMD_EMULPEP, "emulate (1) / not (0) PEP"},
|
||||
{"relay", CMD_RELAY, "get/set relay state (0 - off, 1 - on)"},
|
||||
{"reset", CMD_RESET, "reset MCU"},
|
||||
{"s", -TCMD_CANSEND, "send CAN message: ID 0..8 data bytes"},
|
||||
{"saveconf", CMD_SAVECONF, "save configuration"},
|
||||
{"spiinit", CMD_SPIINIT, "init SPI2"},
|
||||
{"time", CMD_TIME, "get/set time (ms)"},
|
||||
{"spisend", CMD_SPISEND, "send 4 bytes over SPI2"},
|
||||
{"time", CMD_TIME, "get/set time (1ms, 32bit)"},
|
||||
{"timestamp", CMD_TIMESTAMP, "get/set timestamp (2mks, 24bit)"},
|
||||
{"usartspeed", CMD_USARTSPEED, "get/set USART1 speed"},
|
||||
{"wdtest", -TCMD_WDTEST, "test watchdog"},
|
||||
{NULL, 0, NULL} // last record
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user