Home
last modified time | relevance | path

Searched refs:command (Results 1 – 24 of 24) sorted by relevance

/hal_nxp-2.7.6/mcux/drivers/lpc/
Dfsl_flashiap.c57 uint32_t command[5] = {0x00U}; in FLASHIAP_PrepareSectorForWrite() local
60 command[0] = (uint32_t)kIapCmd_FLASHIAP_PrepareSectorforWrite; in FLASHIAP_PrepareSectorForWrite()
61 command[1] = startSector; in FLASHIAP_PrepareSectorForWrite()
62 command[2] = endSector; in FLASHIAP_PrepareSectorForWrite()
63 iap_entry(command, result); in FLASHIAP_PrepareSectorForWrite()
96 uint32_t command[5] = {0x00U}; in FLASHIAP_CopyRamToFlash() local
99 command[0] = (uint32_t)kIapCmd_FLASHIAP_CopyRamToFlash; in FLASHIAP_CopyRamToFlash()
100 command[1] = dstAddr; in FLASHIAP_CopyRamToFlash()
101 command[2] = (uint32_t)srcAddr; in FLASHIAP_CopyRamToFlash()
102 command[3] = numOfBytes; in FLASHIAP_CopyRamToFlash()
[all …]
Dfsl_sdif.c76 static status_t SDIF_WaitCommandDone(SDIF_Type *base, sdif_command_t *command);
91 static status_t SDIF_ReadCommandResponse(SDIF_Type *base, sdif_command_t *command);
233 sdif_command_t *command = transfer->command; in SDIF_TransferConfig() local
236 if ((command == NULL) || ((data != NULL) && (data->blockSize > SDIF_BLKSIZ_BLOCK_SIZE_MASK))) in SDIF_TransferConfig()
249 command->flags |= (uint32_t)kSDIF_DataExpect; /* need transfer data flag */ in SDIF_TransferConfig()
253 command->flags |= (uint32_t)kSDIF_DataWriteToCard; /* data transfer direction */ in SDIF_TransferConfig()
270 command->flags |= in SDIF_TransferConfig()
277 command->flags |= (uint32_t)kSDIF_DataTransferAutoStop; in SDIF_TransferConfig()
281 if (command->responseType == (uint32_t)kCARD_ResponseTypeR2) in SDIF_TransferConfig()
283command->flags |= ((uint32_t)kSDIF_CmdCheckResponseCRC | (uint32_t)kSDIF_CmdResponseLengthLong | in SDIF_TransferConfig()
[all …]
Dfsl_sdif.h344 sdif_command_t *command; /*!< Command to send */ member
395 sdif_command_t *volatile command; /*!< Command to send */ member
/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_sdhc.c57 static void SDHC_StartTransfer(SDHC_Type *base, sdhc_command_t *command, sdhc_data_t *data, sdhc_dm…
65 static status_t SDHC_ReceiveCommandResponse(SDHC_Type *base, sdhc_command_t *command);
115 static status_t SDHC_SendCommandBlocking(SDHC_Type *base, sdhc_command_t *command);
233 static void SDHC_StartTransfer(SDHC_Type *base, sdhc_command_t *command, sdhc_data_t *data, sdhc_dm… in SDHC_StartTransfer() argument
239 if (command->responseType == kCARD_ResponseTypeR1) /* Response 1 */ in SDHC_StartTransfer()
244 else if (command->responseType == kCARD_ResponseTypeR1b) /* Response 1 with busy */ in SDHC_StartTransfer()
249 else if (command->responseType == kCARD_ResponseTypeR2) /* Response 2 */ in SDHC_StartTransfer()
253 else if (command->responseType == kCARD_ResponseTypeR3) /* Response 3 */ in SDHC_StartTransfer()
257 else if (command->responseType == kCARD_ResponseTypeR4) /* Response 4 */ in SDHC_StartTransfer()
261 else if (command->responseType == kCARD_ResponseTypeR5) /* Response 5 */ in SDHC_StartTransfer()
[all …]
Dfsl_dspi.h362 volatile uint32_t command; /*!< The desired data command. */ member
880 static inline void DSPI_MasterWriteData(SPI_Type *base, dspi_command_data_config_t *command, uint16… in DSPI_MasterWriteData() argument
882 base->PUSHR = SPI_PUSHR_CONT(command->isPcsContinuous) | SPI_PUSHR_CTAS(command->whichCtar) | in DSPI_MasterWriteData()
883 SPI_PUSHR_PCS(command->whichPcs) | SPI_PUSHR_EOQ(command->isEndOfQueue) | in DSPI_MasterWriteData()
884 SPI_PUSHR_CTCNT(command->clearTransferCount) | SPI_PUSHR_TXDATA(data); in DSPI_MasterWriteData()
899 void DSPI_GetDefaultDataCommandConfig(dspi_command_data_config_t *command);
928 void DSPI_MasterWriteDataBlocking(SPI_Type *base, dspi_command_data_config_t *command, uint16_t dat…
946 static inline uint32_t DSPI_MasterGetFormattedCommand(dspi_command_data_config_t *command) in DSPI_MasterGetFormattedCommand() argument
949 … return (uint32_t)(SPI_PUSHR_CONT(command->isPcsContinuous) | SPI_PUSHR_CTAS(command->whichCtar) | in DSPI_MasterGetFormattedCommand()
950 SPI_PUSHR_PCS(command->whichPcs) | SPI_PUSHR_EOQ(command->isEndOfQueue) | in DSPI_MasterGetFormattedCommand()
[all …]
Dfsl_dspi.c665 void DSPI_GetDefaultDataCommandConfig(dspi_command_data_config_t *command) in DSPI_GetDefaultDataCommandConfig() argument
667 assert(NULL != command); in DSPI_GetDefaultDataCommandConfig()
670 (void)memset(command, 0, sizeof(*command)); in DSPI_GetDefaultDataCommandConfig()
672 command->isPcsContinuous = false; in DSPI_GetDefaultDataCommandConfig()
673 command->whichCtar = (uint8_t)kDSPI_Ctar0; in DSPI_GetDefaultDataCommandConfig()
674 command->whichPcs = (uint8_t)kDSPI_Pcs0; in DSPI_GetDefaultDataCommandConfig()
675 command->isEndOfQueue = false; in DSPI_GetDefaultDataCommandConfig()
676 command->clearTransferCount = false; in DSPI_GetDefaultDataCommandConfig()
706 void DSPI_MasterWriteDataBlocking(SPI_Type *base, dspi_command_data_config_t *command, uint16_t dat… in DSPI_MasterWriteDataBlocking() argument
708 assert(NULL != command); in DSPI_MasterWriteDataBlocking()
[all …]
Dfsl_dspi_edma.c192 handle->command = DSPI_MasterGetFormattedCommand(&(commandStruct)); in DSPI_MasterTransferEDMA()
285 handle->command = handle->lastCommand; in DSPI_MasterTransferEDMA()
300 handle->command = (handle->command & 0xffff0000U) | wordToSend; in DSPI_MasterTransferEDMA()
318 handle->command = handle->lastCommand; in DSPI_MasterTransferEDMA()
322 handle->command = (handle->command & 0xffff0000U) | wordToSend; in DSPI_MasterTransferEDMA()
369 base->PUSHR = (handle->command & 0xffff0000U) | wordToSend; in DSPI_MasterTransferEDMA()
405 base->PUSHR = (handle->command & 0xffff0000U) | wordToSend; in DSPI_MasterTransferEDMA()
666 *((uint16_t *)&(base->PUSHR) + 1) = (handle->command >> 16U); in DSPI_MasterTransferEDMA()
680 transferConfigB.destAddr = (uint32_t) & (handle->command); in DSPI_MasterTransferEDMA()
710 transferConfigB.destAddr = (uint32_t)(&handle->command); in DSPI_MasterTransferEDMA()
[all …]
Dfsl_qspi.h545 } command; in QSPI_SetIPCommandSize() local
546 command.commandRegBase = &(base->IPCR); in QSPI_SetIPCommandSize()
547 ip_command_config_t *ipCommand = command.commandConfigPtr; in QSPI_SetIPCommandSize()
Dfsl_sdramc.c169 void SDRAMC_SendCommand(SDRAM_Type *base, sdramc_block_selection_t block, sdramc_command_t command) in SDRAMC_SendCommand() argument
171 switch (command) in SDRAMC_SendCommand()
Dfsl_sdhc.h496 sdhc_command_t *command; /*!< Command to send */ member
529 sdhc_command_t *volatile command; /*!< Command to send */ member
Dfsl_sdramc.h213 void SDRAMC_SendCommand(SDRAM_Type *base, sdramc_block_selection_t block, sdramc_command_t command);
Dfsl_dspi_edma.h75 volatile uint32_t command; /*!< The desired data command. */ member
/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/
Dfsl_usdhc.c86 static status_t USDHC_ReceiveCommandResponse(USDHC_Type *base, usdhc_command_t *command);
147 static status_t USDHC_WaitCommandDone(USDHC_Type *base, usdhc_command_t *command, bool pollingCmdDo…
361 static status_t USDHC_ReceiveCommandResponse(USDHC_Type *base, usdhc_command_t *command) in USDHC_ReceiveCommandResponse() argument
363 assert(command != NULL); in USDHC_ReceiveCommandResponse()
369 if (command->responseType != kCARD_ResponseTypeNone) in USDHC_ReceiveCommandResponse()
371 command->response[0U] = response0; in USDHC_ReceiveCommandResponse()
372 if (command->responseType == kCARD_ResponseTypeR2) in USDHC_ReceiveCommandResponse()
376 command->response[0U] <<= 8U; in USDHC_ReceiveCommandResponse()
377 command->response[1U] = (response1 << 8U) | ((response0 & 0xFF000000U) >> 24U); in USDHC_ReceiveCommandResponse()
378 command->response[2U] = (response2 << 8U) | ((response1 & 0xFF000000U) >> 24U); in USDHC_ReceiveCommandResponse()
[all …]
Dfsl_usdhc.h693 usdhc_command_t *command; /*!< Command to send. */ member
719 usdhc_command_t *command; /*!< Command to send. */ member
754 usdhc_command_t *volatile command; /*!< Transfer parameter. Command to send. */ member
1161 void USDHC_SendCommand(USDHC_Type *base, usdhc_command_t *command);
/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_usdhc.c86 static status_t USDHC_ReceiveCommandResponse(USDHC_Type *base, usdhc_command_t *command);
147 static status_t USDHC_WaitCommandDone(USDHC_Type *base, usdhc_command_t *command, bool pollingCmdDo…
361 static status_t USDHC_ReceiveCommandResponse(USDHC_Type *base, usdhc_command_t *command) in USDHC_ReceiveCommandResponse() argument
363 assert(command != NULL); in USDHC_ReceiveCommandResponse()
369 if (command->responseType != kCARD_ResponseTypeNone) in USDHC_ReceiveCommandResponse()
371 command->response[0U] = response0; in USDHC_ReceiveCommandResponse()
372 if (command->responseType == kCARD_ResponseTypeR2) in USDHC_ReceiveCommandResponse()
376 command->response[0U] <<= 8U; in USDHC_ReceiveCommandResponse()
377 command->response[1U] = (response1 << 8U) | ((response0 & 0xFF000000U) >> 24U); in USDHC_ReceiveCommandResponse()
378 command->response[2U] = (response2 << 8U) | ((response1 & 0xFF000000U) >> 24U); in USDHC_ReceiveCommandResponse()
[all …]
Dfsl_usdhc.h693 usdhc_command_t *command; /*!< Command to send. */ member
719 usdhc_command_t *command; /*!< Command to send. */ member
754 usdhc_command_t *volatile command; /*!< Transfer parameter. Command to send. */ member
1161 void USDHC_SendCommand(USDHC_Type *base, usdhc_command_t *command);
Dfsl_flexio_mculcd.h146 uint32_t command; /*!< Command to send. */ member
557 void FLEXIO_MCULCD_WriteCommandBlocking(FLEXIO_MCULCD_Type *base, uint32_t command);
Dfsl_flexio_mculcd.c717 void FLEXIO_MCULCD_WriteCommandBlocking(FLEXIO_MCULCD_Type *base, uint32_t command) in FLEXIO_MCULCD_WriteCommandBlocking() argument
734 flexioBase->SHIFTBUF[base->txShifterStartIndex] = command; in FLEXIO_MCULCD_WriteCommandBlocking()
962 FLEXIO_MCULCD_WriteCommandBlocking(base, xfer->command); in FLEXIO_MCULCD_TransferBlocking()
1064 FLEXIO_MCULCD_WriteCommandBlocking(base, xfer->command); in FLEXIO_MCULCD_TransferNonBlocking()
Dfsl_semc.c1103 …SEMC_Type *base, semc_mem_type_t type, uint32_t address, uint32_t command, uint32_t write, uint32_… in SEMC_SendIPCommand() argument
1116 cmdMode = (uint32_t)command & 0x0FU; in SEMC_SendIPCommand()
1150 base->IPCMD = command | SEMC_IPCMD_KEY(SEMC_IPCOMMANDMAGICKEY); in SEMC_SendIPCommand()
Dfsl_flexio_mculcd_edma.c464 FLEXIO_MCULCD_WriteCommandBlocking(base, xfer->command); in FLEXIO_MCULCD_TransferEDMA()
Dfsl_semc.h834 …SEMC_Type *base, semc_mem_type_t type, uint32_t address, uint32_t command, uint32_t write, uint32_…
/hal_nxp-2.7.6/mcux/drivers/imx8/
Dfsl_sdma.c267 s_SDMABD[instance][0].command = (uint8_t)kSDMA_BDCommandSETDM; in SDMA_LoadContext()
294 s_SDMABD[instance][0].command = (uint8_t)kSDMA_BDCommandSETPM; in SDMA_LoadScript()
317 s_SDMABD[instance][0].command = (uint8_t)kSDMA_BDCommandGETPM; in SDMA_DumpScript()
519 bd->command = (uint8_t)busWidth; in SDMA_ConfigBufferDescriptor()
Dfsl_sdma.h254 uint32_t command : 8; /*!< command mostlky used for channel 0 */ member
/hal_nxp-2.7.6/mcux/middleware/usb/device/
Dusb_device_dci.h110 usb_device_control_type_t command,