Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 25 of 285) sorted by relevance

12345678910>>...12

/hal_nxp-3.6.0/mcux/mcux-sdk/components/flash/nor/spifi/
Dfsl_spifi_nor_flash.c263 spifi_command_t cmd; in spifi_nor_read_status() local
266 cmd.dataLen = 0x01U; in spifi_nor_read_status()
267 cmd.isPollMode = false; in spifi_nor_read_status()
268 cmd.direction = kSPIFI_DataInput; in spifi_nor_read_status()
269 cmd.intermediateBytes = 0; in spifi_nor_read_status()
270 cmd.format = kSPIFI_CommandAllSerial; in spifi_nor_read_status()
271 cmd.type = kSPIFI_CommandOpcodeOnly; in spifi_nor_read_status()
272 cmd.opcode = readCmd; in spifi_nor_read_status()
273 SPIFI_SetCommand(base, &cmd); in spifi_nor_read_status()
281 spifi_command_t cmd; in spifi_check_norflash_finish() local
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/components/mx25r_flash/
Dmx25r_flash.c26 instance->cmd[0] = 0x9f; in mx25r_cmd_rdid()
27 instance->callback(instance->prv, instance->cmd, NULL, 1, false); in mx25r_cmd_rdid()
39 instance->cmd[0] = 0x03; in mx25r_cmd_read()
40 instance->cmd[1] = MX25R_BYTE_ADDR1(address); in mx25r_cmd_read()
41 instance->cmd[2] = MX25R_BYTE_ADDR2(address); in mx25r_cmd_read()
42 instance->cmd[3] = MX25R_BYTE_ADDR3(address); in mx25r_cmd_read()
43 instance->callback(instance->prv, instance->cmd, NULL, 4, false); in mx25r_cmd_read()
51 instance->callback(instance->prv, instance->cmd, NULL, 1, true); in mx25r_cmd_nop()
58 instance->cmd[0] = 0x05; in mx25r_cmd_rdsr()
59 instance->callback(instance->prv, instance->cmd, NULL, 1, false); in mx25r_cmd_rdsr()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/components/extern_flash/
Dfsl_adapter_eeprom_AT45DBxxxx.c94 const uint8_t cmd = EEPROM_RDSR; in EEPROM_ReadStatusReq() local
100 EEPROM_SetSpiTransferValue(&xfer, (uint8_t *)(uint32_t)cmd, NULL, sizeof(cmd)); in EEPROM_ReadStatusReq()
175 uint8_t cmd[4]; in EEPROM_Command() local
178 cmd[0] = opCode; in EEPROM_Command()
179 cmd[1] = (uint8_t)((addre >> 16) & ADDRESS_MASK); in EEPROM_Command()
180 cmd[2] = (uint8_t)((addre >> 8) & ADDRESS_MASK); in EEPROM_Command()
181 cmd[3] = (uint8_t)((addre >> 0) & ADDRESS_MASK); in EEPROM_Command()
184 EEPROM_SetSpiTransferValue(&xfer, (uint8_t *)cmd, NULL, sizeof(cmd)); in EEPROM_Command()
229 uint8_t cmd[] = {0x3D, 0x2A, 0x80, 0xA6}; in EEPROM_Init() local
266 EEPROM_SetSpiTransferValue(&xfer, (uint8_t *)cmd, NULL, sizeof(cmd)); in EEPROM_Init()
[all …]
Dfsl_adapter_eeprom_AT25Fxxxx.c83 uint8_t cmd = EEPROM_RDSR; in EEPROM_ReadStatusReq() local
87 EEPROM_SetSpiTransferValue(&xfer, &cmd, NULL, sizeof(cmd), in EEPROM_ReadStatusReq()
131 uint8_t cmd = EEPROM_WR_ENABLE; in EEPROM_PrepareForWrite() local
137 EEPROM_SetSpiTransferValue(&xfer, &cmd, NULL, sizeof(cmd), in EEPROM_PrepareForWrite()
146 uint8_t cmd[4]; in EEPROM_Command() local
149 cmd[0] = opCode; in EEPROM_Command()
150 cmd[1] = (uint8_t)((addre >> 16) & ADDRESS_MASK); in EEPROM_Command()
151 cmd[2] = (uint8_t)((addre >> 8) & ADDRESS_MASK); in EEPROM_Command()
152 cmd[3] = (uint8_t)((addre >> 0) & ADDRESS_MASK); in EEPROM_Command()
154 EEPROM_SetSpiTransferValue(&xfer, (uint8_t *)cmd, NULL, sizeof(cmd), SPI_FIFOWR_RXIGNORE(1)); in EEPROM_Command()
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/spifi/
Dfsl_spifi.c139 void SPIFI_SetCommand(SPIFI_Type *base, spifi_command_t *cmd) in SPIFI_SetCommand() argument
152 …base->CMD = SPIFI_CMD_DATALEN(cmd->dataLen) | SPIFI_CMD_POLL(cmd->isPollMode) | SPIFI_CMD_DOUT(cmd in SPIFI_SetCommand()
153 SPIFI_CMD_INTLEN(cmd->intermediateBytes) | SPIFI_CMD_FIELDFORM(cmd->format) | in SPIFI_SetCommand()
154 SPIFI_CMD_FRAMEFORM(cmd->type) | SPIFI_CMD_OPCODE(cmd->opcode); in SPIFI_SetCommand()
166 void SPIFI_SetMemoryCommand(SPIFI_Type *base, spifi_command_t *cmd) in SPIFI_SetMemoryCommand() argument
173 …base->MCMD = SPIFI_MCMD_POLL(0U) | SPIFI_MCMD_DOUT(0U) | SPIFI_MCMD_INTLEN(cmd->intermediateBytes)… in SPIFI_SetMemoryCommand()
174 …SPIFI_MCMD_FIELDFORM(cmd->format) | SPIFI_MCMD_FRAMEFORM(cmd->type) | SPIFI_MCMD_OPCODE(cmd->opcod… in SPIFI_SetMemoryCommand()
/hal_nxp-3.6.0/mcux/mcux-sdk/components/flash/nor/lpspi/
Dfsl_lpspi_mem_adapter.c101 txXfer.txData = xfer->cmd; in LPSPI_MemXfer()
111 cmdXfer.txData = xfer->cmd; in LPSPI_MemXfer()
131 cmdXfer.txData = xfer->cmd; in LPSPI_MemXfer()
175 spiMemXfer.cmd = cmdBuffer; in LPSPI_MemReadId()
247 spiMemXfer.cmd = cmdBuffer; in LPSPI_MemWaitBusy()
272 spiMemXfer.cmd = cmdBuffer; in LPSPI_MemIsBusy()
315 spiMemXfer.cmd = cmdBuffer; in LPSPI_MemRead()
337 spiMemXfer.cmd = cmdBuffer; in LPSPI_MemWriteEnable()
379 spiMemXfer.cmd = cmdBuffer; in LPSPI_MemWritePage()
457 spiMemXfer.cmd = cmdBuffer; in LPSPI_MemErase()
/hal_nxp-3.6.0/mcux/mcux-sdk/components/codec/port/
Dfsl_codec_adapter.c892 status_t HAL_CODEC_ModuleControl(void *handle, uint32_t cmd, uint32_t data) in HAL_CODEC_ModuleControl() argument
901 retVal = HAL_CODEC_WM8904_ModuleControl(handle, cmd, data); in HAL_CODEC_ModuleControl()
907 retVal = HAL_CODEC_WM8960_ModuleControl(handle, cmd, data); in HAL_CODEC_ModuleControl()
913 retVal = HAL_CODEC_WM8962_ModuleControl(handle, cmd, data); in HAL_CODEC_ModuleControl()
919 retVal = HAL_CODEC_WM8524_ModuleControl(handle, cmd, data); in HAL_CODEC_ModuleControl()
925 retVal = HAL_CODEC_SGTL5000_ModuleControl(handle, cmd, data); in HAL_CODEC_ModuleControl()
931 retVal = HAL_CODEC_DA7212_ModuleControl(handle, cmd, data); in HAL_CODEC_ModuleControl()
937 retVal = HAL_CODEC_CS42888_ModuleControl(handle, cmd, data); in HAL_CODEC_ModuleControl()
943 retVal = HAL_CODEC_CS42448_ModuleControl(handle, cmd, data); in HAL_CODEC_ModuleControl()
949 retVal = HAL_CODEC_AK4497_ModuleControl(handle, cmd, data); in HAL_CODEC_ModuleControl()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/LPC55S36/utilities/
Dfsl_shell.c147 static int32_t SHELL_ParseLine(const char *cmd, uint32_t len, char *argv[]); /*!< parse line comman…
151 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd); /*!<…
550 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd)
562 tmpLen = (uint8_t)strlen(cmd);
563 argc = SHELL_ParseLine(cmd, tmpLen, argv);
574 if ((cmd[tmpCommandLen] == ' ') || (cmd[tmpCommandLen] == (char)0x00))
619 tmpLen = (uint8_t)strlen(cmd);
621 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c…
630 tmpLen = (uint8_t)strlen(cmd);
631 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen);
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/LPC5534/utilities/
Dfsl_shell.c147 static int32_t SHELL_ParseLine(const char *cmd, uint32_t len, char *argv[]); /*!< parse line comman…
151 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd); /*!<…
550 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd)
562 tmpLen = (uint8_t)strlen(cmd);
563 argc = SHELL_ParseLine(cmd, tmpLen, argv);
574 if ((cmd[tmpCommandLen] == ' ') || (cmd[tmpCommandLen] == (char)0x00))
619 tmpLen = (uint8_t)strlen(cmd);
621 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c…
630 tmpLen = (uint8_t)strlen(cmd);
631 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen);
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/LPC5536/utilities/
Dfsl_shell.c147 static int32_t SHELL_ParseLine(const char *cmd, uint32_t len, char *argv[]); /*!< parse line comman…
151 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd); /*!<…
550 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd)
562 tmpLen = (uint8_t)strlen(cmd);
563 argc = SHELL_ParseLine(cmd, tmpLen, argv);
574 if ((cmd[tmpCommandLen] == ' ') || (cmd[tmpCommandLen] == (char)0x00))
619 tmpLen = (uint8_t)strlen(cmd);
621 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c…
630 tmpLen = (uint8_t)strlen(cmd);
631 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen);
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MK22F12/utilities/
Dfsl_shell.c147 static int32_t SHELL_ParseLine(const char *cmd, uint32_t len, char *argv[]); /*!< parse line comman…
151 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd); /*!<…
550 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd)
562 tmpLen = (uint8_t)strlen(cmd);
563 argc = SHELL_ParseLine(cmd, tmpLen, argv);
574 if ((cmd[tmpCommandLen] == ' ') || (cmd[tmpCommandLen] == (char)0x00))
619 tmpLen = (uint8_t)strlen(cmd);
621 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c…
630 tmpLen = (uint8_t)strlen(cmd);
631 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen);
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MKE14F16/utilities/
Dfsl_shell.c147 static int32_t SHELL_ParseLine(const char *cmd, uint32_t len, char *argv[]); /*!< parse line comman…
151 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd); /*!<…
550 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd)
562 tmpLen = (uint8_t)strlen(cmd);
563 argc = SHELL_ParseLine(cmd, tmpLen, argv);
574 if ((cmd[tmpCommandLen] == ' ') || (cmd[tmpCommandLen] == (char)0x00))
619 tmpLen = (uint8_t)strlen(cmd);
621 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c…
630 tmpLen = (uint8_t)strlen(cmd);
631 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen);
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MKE16F16/utilities/
Dfsl_shell.c147 static int32_t SHELL_ParseLine(const char *cmd, uint32_t len, char *argv[]); /*!< parse line comman…
151 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd); /*!<…
550 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd)
562 tmpLen = (uint8_t)strlen(cmd);
563 argc = SHELL_ParseLine(cmd, tmpLen, argv);
574 if ((cmd[tmpCommandLen] == ' ') || (cmd[tmpCommandLen] == (char)0x00))
619 tmpLen = (uint8_t)strlen(cmd);
621 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c…
630 tmpLen = (uint8_t)strlen(cmd);
631 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen);
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MKV58F24/utilities/
Dfsl_shell.c147 static int32_t SHELL_ParseLine(const char *cmd, uint32_t len, char *argv[]); /*!< parse line comman…
151 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd); /*!<…
550 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd)
562 tmpLen = (uint8_t)strlen(cmd);
563 argc = SHELL_ParseLine(cmd, tmpLen, argv);
574 if ((cmd[tmpCommandLen] == ' ') || (cmd[tmpCommandLen] == (char)0x00))
619 tmpLen = (uint8_t)strlen(cmd);
621 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c…
630 tmpLen = (uint8_t)strlen(cmd);
631 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen);
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MKE18F16/utilities/
Dfsl_shell.c147 static int32_t SHELL_ParseLine(const char *cmd, uint32_t len, char *argv[]); /*!< parse line comman…
151 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd); /*!<…
550 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd)
562 tmpLen = (uint8_t)strlen(cmd);
563 argc = SHELL_ParseLine(cmd, tmpLen, argv);
574 if ((cmd[tmpCommandLen] == ' ') || (cmd[tmpCommandLen] == (char)0x00))
619 tmpLen = (uint8_t)strlen(cmd);
621 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c…
630 tmpLen = (uint8_t)strlen(cmd);
631 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen);
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MKV56F24/utilities/
Dfsl_shell.c147 static int32_t SHELL_ParseLine(const char *cmd, uint32_t len, char *argv[]); /*!< parse line comman…
151 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd); /*!<…
550 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd)
562 tmpLen = (uint8_t)strlen(cmd);
563 argc = SHELL_ParseLine(cmd, tmpLen, argv);
574 if ((cmd[tmpCommandLen] == ' ') || (cmd[tmpCommandLen] == (char)0x00))
619 tmpLen = (uint8_t)strlen(cmd);
621 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c…
630 tmpLen = (uint8_t)strlen(cmd);
631 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen);
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MK24F12/utilities/
Dfsl_shell.c181 static int32_t SHELL_ParseLine(const char *cmd, uint32_t len, char *argv[]); /*!< parse line comman…
185 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd); /*!<…
598 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd) in SHELL_ProcessCommand() argument
610 tmpLen = (uint8_t)strlen(cmd); in SHELL_ProcessCommand()
611 argc = SHELL_ParseLine(cmd, tmpLen, argv); in SHELL_ProcessCommand()
622 if ((cmd[tmpCommandLen] == ' ') || (cmd[tmpCommandLen] == (char)0x00)) in SHELL_ProcessCommand()
667 tmpLen = (uint8_t)strlen(cmd); in SHELL_ProcessCommand()
669 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… in SHELL_ProcessCommand()
678 tmpLen = (uint8_t)strlen(cmd); in SHELL_ProcessCommand()
679 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); in SHELL_ProcessCommand()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MK26F18/utilities/
Dfsl_shell.c181 static int32_t SHELL_ParseLine(const char *cmd, uint32_t len, char *argv[]); /*!< parse line comman…
185 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd); /*!<…
598 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd) in SHELL_ProcessCommand() argument
610 tmpLen = (uint8_t)strlen(cmd); in SHELL_ProcessCommand()
611 argc = SHELL_ParseLine(cmd, tmpLen, argv); in SHELL_ProcessCommand()
622 if ((cmd[tmpCommandLen] == ' ') || (cmd[tmpCommandLen] == (char)0x00)) in SHELL_ProcessCommand()
667 tmpLen = (uint8_t)strlen(cmd); in SHELL_ProcessCommand()
669 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… in SHELL_ProcessCommand()
678 tmpLen = (uint8_t)strlen(cmd); in SHELL_ProcessCommand()
679 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); in SHELL_ProcessCommand()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MK27FA15/utilities/
Dfsl_shell.c147 static int32_t SHELL_ParseLine(const char *cmd, uint32_t len, char *argv[]); /*!< parse line comman…
151 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd); /*!<…
552 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd)
564 tmpLen = (uint8_t)strlen(cmd);
565 argc = SHELL_ParseLine(cmd, tmpLen, argv);
576 if ((cmd[tmpCommandLen] == ' ') || (cmd[tmpCommandLen] == (char)0x00))
621 tmpLen = (uint8_t)strlen(cmd);
623 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c…
632 tmpLen = (uint8_t)strlen(cmd);
633 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen);
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MK28FA15/utilities/
Dfsl_shell.c147 static int32_t SHELL_ParseLine(const char *cmd, uint32_t len, char *argv[]); /*!< parse line comman…
151 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd); /*!<…
552 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd)
564 tmpLen = (uint8_t)strlen(cmd);
565 argc = SHELL_ParseLine(cmd, tmpLen, argv);
576 if ((cmd[tmpCommandLen] == ' ') || (cmd[tmpCommandLen] == (char)0x00))
621 tmpLen = (uint8_t)strlen(cmd);
623 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c…
632 tmpLen = (uint8_t)strlen(cmd);
633 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen);
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MIMX8DX6/utilities/
Dfsl_shell.c147 static int32_t SHELL_ParseLine(const char *cmd, uint32_t len, char *argv[]); /*!< parse line comman…
151 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd); /*!<…
552 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd)
564 tmpLen = (uint8_t)strlen(cmd);
565 argc = SHELL_ParseLine(cmd, tmpLen, argv);
576 if ((cmd[tmpCommandLen] == ' ') || (cmd[tmpCommandLen] == (char)0x00))
621 tmpLen = (uint8_t)strlen(cmd);
623 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c…
632 tmpLen = (uint8_t)strlen(cmd);
633 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen);
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MK63F12/utilities/
Dfsl_shell.c181 static int32_t SHELL_ParseLine(const char *cmd, uint32_t len, char *argv[]); /*!< parse line comman…
185 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd); /*!<…
598 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd) in SHELL_ProcessCommand() argument
610 tmpLen = (uint8_t)strlen(cmd); in SHELL_ProcessCommand()
611 argc = SHELL_ParseLine(cmd, tmpLen, argv); in SHELL_ProcessCommand()
622 if ((cmd[tmpCommandLen] == ' ') || (cmd[tmpCommandLen] == (char)0x00)) in SHELL_ProcessCommand()
667 tmpLen = (uint8_t)strlen(cmd); in SHELL_ProcessCommand()
669 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… in SHELL_ProcessCommand()
678 tmpLen = (uint8_t)strlen(cmd); in SHELL_ProcessCommand()
679 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); in SHELL_ProcessCommand()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MK64F12/utilities/
Dfsl_shell.c181 static int32_t SHELL_ParseLine(const char *cmd, uint32_t len, char *argv[]); /*!< parse line comman…
185 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd); /*!<…
598 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd) in SHELL_ProcessCommand() argument
610 tmpLen = (uint8_t)strlen(cmd); in SHELL_ProcessCommand()
611 argc = SHELL_ParseLine(cmd, tmpLen, argv); in SHELL_ProcessCommand()
622 if ((cmd[tmpCommandLen] == ' ') || (cmd[tmpCommandLen] == (char)0x00)) in SHELL_ProcessCommand()
667 tmpLen = (uint8_t)strlen(cmd); in SHELL_ProcessCommand()
669 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… in SHELL_ProcessCommand()
678 tmpLen = (uint8_t)strlen(cmd); in SHELL_ProcessCommand()
679 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); in SHELL_ProcessCommand()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MIMX8DX5/utilities/
Dfsl_shell.c147 static int32_t SHELL_ParseLine(const char *cmd, uint32_t len, char *argv[]); /*!< parse line comman…
151 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd); /*!<…
552 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd)
564 tmpLen = (uint8_t)strlen(cmd);
565 argc = SHELL_ParseLine(cmd, tmpLen, argv);
576 if ((cmd[tmpCommandLen] == ' ') || (cmd[tmpCommandLen] == (char)0x00))
621 tmpLen = (uint8_t)strlen(cmd);
623 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c…
632 tmpLen = (uint8_t)strlen(cmd);
633 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen);
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MKE04Z1284/utilities/
Dfsl_shell.c181 static int32_t SHELL_ParseLine(const char *cmd, uint32_t len, char *argv[]); /*!< parse line comman…
185 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd); /*!<…
598 static void SHELL_ProcessCommand(shell_context_handle_t *shellContextHandle, const char *cmd) in SHELL_ProcessCommand() argument
610 tmpLen = (uint8_t)strlen(cmd); in SHELL_ProcessCommand()
611 argc = SHELL_ParseLine(cmd, tmpLen, argv); in SHELL_ProcessCommand()
622 if ((cmd[tmpCommandLen] == ' ') || (cmd[tmpCommandLen] == (char)0x00)) in SHELL_ProcessCommand()
667 tmpLen = (uint8_t)strlen(cmd); in SHELL_ProcessCommand()
669 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… in SHELL_ProcessCommand()
678 tmpLen = (uint8_t)strlen(cmd); in SHELL_ProcessCommand()
679 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); in SHELL_ProcessCommand()
[all …]

12345678910>>...12