Home
last modified time | relevance | path

Searched refs:data (Results 1 – 25 of 86) sorted by relevance

1234

/hal_stm32-3.5.0/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_pssi.c668 uint16_t data; in HAL_PSSI_Transmit() local
683 data = (uint16_t)*pbuffer ; in HAL_PSSI_Transmit()
685 data = (((uint16_t)*pbuffer) << 8U) | data; in HAL_PSSI_Transmit()
687 *(__IO uint32_t *)((uint32_t)(&hpssi->Instance->DR)) = data; in HAL_PSSI_Transmit()
697 uint32_t data; in HAL_PSSI_Transmit() local
712 data = (uint32_t)*pbuffer ; in HAL_PSSI_Transmit()
714 data = (((uint32_t)*pbuffer) << 8U) | data; in HAL_PSSI_Transmit()
716 data = (((uint32_t)*pbuffer) << 16U) | data; in HAL_PSSI_Transmit()
718 data = (((uint32_t)*pbuffer) << 24U) | data; in HAL_PSSI_Transmit()
720 *(__IO uint32_t *)(&hpssi->Instance->DR) = data; in HAL_PSSI_Transmit()
[all …]
Dstm32l4xx_hal_mmc.c648 uint32_t count, data, dataremaining; in HAL_MMC_ReadBlocks() local
728 data = SDMMC_ReadFIFO(hmmc->Instance); in HAL_MMC_ReadBlocks()
729 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_MMC_ReadBlocks()
732 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_MMC_ReadBlocks()
735 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_MMC_ReadBlocks()
738 *tempbuff = (uint8_t)((data >> 24U) & 0xFFU); in HAL_MMC_ReadBlocks()
811 data = SDMMC_ReadFIFO(hmmc->Instance); in HAL_MMC_ReadBlocks()
812 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_MMC_ReadBlocks()
815 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_MMC_ReadBlocks()
818 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_MMC_ReadBlocks()
[all …]
Dstm32l4xx_hal_sd.c702 uint32_t count, data, dataremaining; in HAL_SD_ReadBlocks() local
782 data = SDMMC_ReadFIFO(hsd->Instance); in HAL_SD_ReadBlocks()
783 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_SD_ReadBlocks()
786 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_SD_ReadBlocks()
789 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_SD_ReadBlocks()
792 *tempbuff = (uint8_t)((data >> 24U) & 0xFFU); in HAL_SD_ReadBlocks()
868 data = SDMMC_ReadFIFO(hsd->Instance); in HAL_SD_ReadBlocks()
869 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_SD_ReadBlocks()
872 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_SD_ReadBlocks()
875 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_SD_ReadBlocks()
[all …]
Dstm32l4xx_hal_nand.c382 __IO uint32_t data = 0; in HAL_NAND_Read_ID() local
411 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
414 pNAND_ID->Maker_Id = ADDR_1ST_CYCLE(data); in HAL_NAND_Read_ID()
415 pNAND_ID->Device_Id = ADDR_2ND_CYCLE(data); in HAL_NAND_Read_ID()
416 pNAND_ID->Third_Id = ADDR_3RD_CYCLE(data); in HAL_NAND_Read_ID()
417 pNAND_ID->Fourth_Id = ADDR_4TH_CYCLE(data); in HAL_NAND_Read_ID()
421 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
425 pNAND_ID->Maker_Id = ADDR_1ST_CYCLE(data); in HAL_NAND_Read_ID()
426 pNAND_ID->Device_Id = ADDR_3RD_CYCLE(data); in HAL_NAND_Read_ID()
2195 uint32_t data; in HAL_NAND_Read_Status() local
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_hal_mmc.c605 uint32_t count, data, dataremaining; in HAL_MMC_ReadBlocks() local
677 data = SDIO_ReadFIFO(hmmc->Instance); in HAL_MMC_ReadBlocks()
678 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_MMC_ReadBlocks()
681 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_MMC_ReadBlocks()
684 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_MMC_ReadBlocks()
687 *tempbuff = (uint8_t)((data >> 24U) & 0xFFU); in HAL_MMC_ReadBlocks()
751 data = SDIO_ReadFIFO(hmmc->Instance); in HAL_MMC_ReadBlocks()
752 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_MMC_ReadBlocks()
755 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_MMC_ReadBlocks()
758 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_MMC_ReadBlocks()
[all …]
Dstm32f2xx_hal_sd.c575 uint32_t count, data, dataremaining; in HAL_SD_ReadBlocks() local
648 data = SDIO_ReadFIFO(hsd->Instance); in HAL_SD_ReadBlocks()
649 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_SD_ReadBlocks()
652 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_SD_ReadBlocks()
655 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_SD_ReadBlocks()
658 *tempbuff = (uint8_t)((data >> 24U) & 0xFFU); in HAL_SD_ReadBlocks()
730 data = SDIO_ReadFIFO(hsd->Instance); in HAL_SD_ReadBlocks()
731 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_SD_ReadBlocks()
734 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_SD_ReadBlocks()
737 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_SD_ReadBlocks()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_mmc.c605 uint32_t count, data, dataremaining; in HAL_MMC_ReadBlocks() local
677 data = SDMMC_ReadFIFO(hmmc->Instance); in HAL_MMC_ReadBlocks()
678 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_MMC_ReadBlocks()
681 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_MMC_ReadBlocks()
684 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_MMC_ReadBlocks()
687 *tempbuff = (uint8_t)((data >> 24U) & 0xFFU); in HAL_MMC_ReadBlocks()
751 data = SDMMC_ReadFIFO(hmmc->Instance); in HAL_MMC_ReadBlocks()
752 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_MMC_ReadBlocks()
755 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_MMC_ReadBlocks()
758 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_MMC_ReadBlocks()
[all …]
Dstm32f7xx_hal_sd.c575 uint32_t count, data, dataremaining; in HAL_SD_ReadBlocks() local
648 data = SDMMC_ReadFIFO(hsd->Instance); in HAL_SD_ReadBlocks()
649 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_SD_ReadBlocks()
652 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_SD_ReadBlocks()
655 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_SD_ReadBlocks()
658 *tempbuff = (uint8_t)((data >> 24U) & 0xFFU); in HAL_SD_ReadBlocks()
730 data = SDMMC_ReadFIFO(hsd->Instance); in HAL_SD_ReadBlocks()
731 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_SD_ReadBlocks()
734 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_SD_ReadBlocks()
737 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_SD_ReadBlocks()
[all …]
Dstm32f7xx_hal_nand.c381 __IO uint32_t data = 0; in HAL_NAND_Read_ID() local
410 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
413 pNAND_ID->Maker_Id = ADDR_1ST_CYCLE(data); in HAL_NAND_Read_ID()
414 pNAND_ID->Device_Id = ADDR_2ND_CYCLE(data); in HAL_NAND_Read_ID()
415 pNAND_ID->Third_Id = ADDR_3RD_CYCLE(data); in HAL_NAND_Read_ID()
416 pNAND_ID->Fourth_Id = ADDR_4TH_CYCLE(data); in HAL_NAND_Read_ID()
420 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
424 pNAND_ID->Maker_Id = ADDR_1ST_CYCLE(data); in HAL_NAND_Read_ID()
425 pNAND_ID->Device_Id = ADDR_3RD_CYCLE(data); in HAL_NAND_Read_ID()
2194 uint32_t data; in HAL_NAND_Read_Status() local
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f1xx/drivers/src/
Dstm32f1xx_hal_mmc.c569 uint32_t count, data, dataremaining; in HAL_MMC_ReadBlocks() local
641 data = SDIO_ReadFIFO(hmmc->Instance); in HAL_MMC_ReadBlocks()
642 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_MMC_ReadBlocks()
645 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_MMC_ReadBlocks()
648 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_MMC_ReadBlocks()
651 *tempbuff = (uint8_t)((data >> 24U) & 0xFFU); in HAL_MMC_ReadBlocks()
715 data = SDIO_ReadFIFO(hmmc->Instance); in HAL_MMC_ReadBlocks()
716 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_MMC_ReadBlocks()
719 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_MMC_ReadBlocks()
722 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_MMC_ReadBlocks()
[all …]
Dstm32f1xx_hal_sd.c572 uint32_t count, data, dataremaining; in HAL_SD_ReadBlocks() local
645 data = SDIO_ReadFIFO(hsd->Instance); in HAL_SD_ReadBlocks()
646 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_SD_ReadBlocks()
649 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_SD_ReadBlocks()
652 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_SD_ReadBlocks()
655 *tempbuff = (uint8_t)((data >> 24U) & 0xFFU); in HAL_SD_ReadBlocks()
727 data = SDIO_ReadFIFO(hsd->Instance); in HAL_SD_ReadBlocks()
728 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_SD_ReadBlocks()
731 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_SD_ReadBlocks()
734 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_SD_ReadBlocks()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_hal_sd.c575 uint32_t count, data, dataremaining; in HAL_SD_ReadBlocks() local
648 data = SDIO_ReadFIFO(hsd->Instance); in HAL_SD_ReadBlocks()
649 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_SD_ReadBlocks()
652 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_SD_ReadBlocks()
655 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_SD_ReadBlocks()
658 *tempbuff = (uint8_t)((data >> 24U) & 0xFFU); in HAL_SD_ReadBlocks()
730 data = SDIO_ReadFIFO(hsd->Instance); in HAL_SD_ReadBlocks()
731 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_SD_ReadBlocks()
734 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_SD_ReadBlocks()
737 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_SD_ReadBlocks()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_sd.c575 uint32_t count, data, dataremaining; in HAL_SD_ReadBlocks() local
652 data = SDIO_ReadFIFO(hsd->Instance); in HAL_SD_ReadBlocks()
653 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_SD_ReadBlocks()
656 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_SD_ReadBlocks()
659 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_SD_ReadBlocks()
662 *tempbuff = (uint8_t)((data >> 24U) & 0xFFU); in HAL_SD_ReadBlocks()
734 data = SDIO_ReadFIFO(hsd->Instance); in HAL_SD_ReadBlocks()
735 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_SD_ReadBlocks()
738 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_SD_ReadBlocks()
741 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_SD_ReadBlocks()
[all …]
Dstm32f4xx_hal_mmc.c605 uint32_t count, data, dataremaining; in HAL_MMC_ReadBlocks() local
681 data = SDIO_ReadFIFO(hmmc->Instance); in HAL_MMC_ReadBlocks()
682 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_MMC_ReadBlocks()
685 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_MMC_ReadBlocks()
688 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_MMC_ReadBlocks()
691 *tempbuff = (uint8_t)((data >> 24U) & 0xFFU); in HAL_MMC_ReadBlocks()
755 data = SDIO_ReadFIFO(hmmc->Instance); in HAL_MMC_ReadBlocks()
756 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_MMC_ReadBlocks()
759 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_MMC_ReadBlocks()
762 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_MMC_ReadBlocks()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_hal_sd.c605 uint32_t count, data; in HAL_SD_ReadBlocks() local
688 data = SDMMC_ReadFIFO(hsd->Instance); in HAL_SD_ReadBlocks()
689 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_SD_ReadBlocks()
691 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_SD_ReadBlocks()
693 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_SD_ReadBlocks()
695 *tempbuff = (uint8_t)((data >> 24U) & 0xFFU); in HAL_SD_ReadBlocks()
790 uint32_t count, data; in HAL_SD_WriteBlocks() local
873 data = (uint32_t)(*tempbuff); in HAL_SD_WriteBlocks()
875 data |= ((uint32_t)(*tempbuff) << 8U); in HAL_SD_WriteBlocks()
877 data |= ((uint32_t)(*tempbuff) << 16U); in HAL_SD_WriteBlocks()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_sd.c672 uint32_t data; in HAL_SD_ReadBlocks() local
747 data = SDMMC_ReadFIFO(hsd->Instance); in HAL_SD_ReadBlocks()
748 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_SD_ReadBlocks()
750 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_SD_ReadBlocks()
752 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_SD_ReadBlocks()
754 *tempbuff = (uint8_t)((data >> 24U) & 0xFFU); in HAL_SD_ReadBlocks()
857 uint32_t data; in HAL_SD_WriteBlocks() local
933 data = (uint32_t)(*tempbuff); in HAL_SD_WriteBlocks()
935 data |= ((uint32_t)(*tempbuff) << 8U); in HAL_SD_WriteBlocks()
937 data |= ((uint32_t)(*tempbuff) << 16U); in HAL_SD_WriteBlocks()
[all …]
Dstm32l5xx_hal_mmc.c603 uint32_t data; in HAL_MMC_ReadBlocks() local
697 data = SDMMC_ReadFIFO(hmmc->Instance); in HAL_MMC_ReadBlocks()
698 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_MMC_ReadBlocks()
700 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_MMC_ReadBlocks()
702 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_MMC_ReadBlocks()
704 *tempbuff = (uint8_t)((data >> 24U) & 0xFFU); in HAL_MMC_ReadBlocks()
799 uint32_t data; in HAL_MMC_WriteBlocks() local
892 data = (uint32_t)(*tempbuff); in HAL_MMC_WriteBlocks()
894 data |= ((uint32_t)(*tempbuff) << 8U); in HAL_MMC_WriteBlocks()
896 data |= ((uint32_t)(*tempbuff) << 16U); in HAL_MMC_WriteBlocks()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_sd.c676 uint32_t data; in HAL_SD_ReadBlocks() local
751 data = SDMMC_ReadFIFO(hsd->Instance); in HAL_SD_ReadBlocks()
752 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_SD_ReadBlocks()
754 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_SD_ReadBlocks()
756 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_SD_ReadBlocks()
758 *tempbuff = (uint8_t)((data >> 24U) & 0xFFU); in HAL_SD_ReadBlocks()
861 uint32_t data; in HAL_SD_WriteBlocks() local
937 data = (uint32_t)(*tempbuff); in HAL_SD_WriteBlocks()
939 data |= ((uint32_t)(*tempbuff) << 8U); in HAL_SD_WriteBlocks()
941 data |= ((uint32_t)(*tempbuff) << 16U); in HAL_SD_WriteBlocks()
[all …]
Dstm32u5xx_hal_mmc.c609 uint32_t data; in HAL_MMC_ReadBlocks() local
703 data = SDMMC_ReadFIFO(hmmc->Instance); in HAL_MMC_ReadBlocks()
704 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_MMC_ReadBlocks()
706 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_MMC_ReadBlocks()
708 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_MMC_ReadBlocks()
710 *tempbuff = (uint8_t)((data >> 24U) & 0xFFU); in HAL_MMC_ReadBlocks()
805 uint32_t data; in HAL_MMC_WriteBlocks() local
898 data = (uint32_t)(*tempbuff); in HAL_MMC_WriteBlocks()
900 data |= ((uint32_t)(*tempbuff) << 8U); in HAL_MMC_WriteBlocks()
902 data |= ((uint32_t)(*tempbuff) << 16U); in HAL_MMC_WriteBlocks()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_sd.c685 uint32_t data; in HAL_SD_ReadBlocks() local
760 data = SDMMC_ReadFIFO(hsd->Instance); in HAL_SD_ReadBlocks()
761 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_SD_ReadBlocks()
763 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_SD_ReadBlocks()
765 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_SD_ReadBlocks()
767 *tempbuff = (uint8_t)((data >> 24U) & 0xFFU); in HAL_SD_ReadBlocks()
870 uint32_t data; in HAL_SD_WriteBlocks() local
946 data = (uint32_t)(*tempbuff); in HAL_SD_WriteBlocks()
948 data |= ((uint32_t)(*tempbuff) << 8U); in HAL_SD_WriteBlocks()
950 data |= ((uint32_t)(*tempbuff) << 16U); in HAL_SD_WriteBlocks()
[all …]
Dstm32h5xx_hal_mmc.c621 uint32_t data; in HAL_MMC_ReadBlocks() local
715 data = SDMMC_ReadFIFO(hmmc->Instance); in HAL_MMC_ReadBlocks()
716 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_MMC_ReadBlocks()
718 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_MMC_ReadBlocks()
720 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_MMC_ReadBlocks()
722 *tempbuff = (uint8_t)((data >> 24U) & 0xFFU); in HAL_MMC_ReadBlocks()
817 uint32_t data; in HAL_MMC_WriteBlocks() local
910 data = (uint32_t)(*tempbuff); in HAL_MMC_WriteBlocks()
912 data |= ((uint32_t)(*tempbuff) << 8U); in HAL_MMC_WriteBlocks()
914 data |= ((uint32_t)(*tempbuff) << 16U); in HAL_MMC_WriteBlocks()
[all …]
Dstm32h5xx_hal_nand.c383 __IO uint32_t data = 0; in HAL_NAND_Read_ID() local
412 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
415 pNAND_ID->Maker_Id = ADDR_1ST_CYCLE(data); in HAL_NAND_Read_ID()
416 pNAND_ID->Device_Id = ADDR_2ND_CYCLE(data); in HAL_NAND_Read_ID()
417 pNAND_ID->Third_Id = ADDR_3RD_CYCLE(data); in HAL_NAND_Read_ID()
418 pNAND_ID->Fourth_Id = ADDR_4TH_CYCLE(data); in HAL_NAND_Read_ID()
422 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
426 pNAND_ID->Maker_Id = ADDR_1ST_CYCLE(data); in HAL_NAND_Read_ID()
427 pNAND_ID->Device_Id = ADDR_3RD_CYCLE(data); in HAL_NAND_Read_ID()
2186 uint32_t data; in HAL_NAND_Read_Status() local
[all …]
/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_sd.c679 uint32_t data; in HAL_SD_ReadBlocks() local
754 data = SDMMC_ReadFIFO(hsd->Instance); in HAL_SD_ReadBlocks()
755 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_SD_ReadBlocks()
757 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_SD_ReadBlocks()
759 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_SD_ReadBlocks()
761 *tempbuff = (uint8_t)((data >> 24U) & 0xFFU); in HAL_SD_ReadBlocks()
864 uint32_t data; in HAL_SD_WriteBlocks() local
940 data = (uint32_t)(*tempbuff); in HAL_SD_WriteBlocks()
942 data |= ((uint32_t)(*tempbuff) << 8U); in HAL_SD_WriteBlocks()
944 data |= ((uint32_t)(*tempbuff) << 16U); in HAL_SD_WriteBlocks()
[all …]
Dstm32h7xx_hal_mmc.c611 uint32_t data; in HAL_MMC_ReadBlocks() local
705 data = SDMMC_ReadFIFO(hmmc->Instance); in HAL_MMC_ReadBlocks()
706 *tempbuff = (uint8_t)(data & 0xFFU); in HAL_MMC_ReadBlocks()
708 *tempbuff = (uint8_t)((data >> 8U) & 0xFFU); in HAL_MMC_ReadBlocks()
710 *tempbuff = (uint8_t)((data >> 16U) & 0xFFU); in HAL_MMC_ReadBlocks()
712 *tempbuff = (uint8_t)((data >> 24U) & 0xFFU); in HAL_MMC_ReadBlocks()
807 uint32_t data; in HAL_MMC_WriteBlocks() local
900 data = (uint32_t)(*tempbuff); in HAL_MMC_WriteBlocks()
902 data |= ((uint32_t)(*tempbuff) << 8U); in HAL_MMC_WriteBlocks()
904 data |= ((uint32_t)(*tempbuff) << 16U); in HAL_MMC_WriteBlocks()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_nand.c382 __IO uint32_t data = 0; in HAL_NAND_Read_ID() local
411 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
414 pNAND_ID->Maker_Id = ADDR_1ST_CYCLE(data); in HAL_NAND_Read_ID()
415 pNAND_ID->Device_Id = ADDR_2ND_CYCLE(data); in HAL_NAND_Read_ID()
416 pNAND_ID->Third_Id = ADDR_3RD_CYCLE(data); in HAL_NAND_Read_ID()
417 pNAND_ID->Fourth_Id = ADDR_4TH_CYCLE(data); in HAL_NAND_Read_ID()
421 data = *(__IO uint32_t *)deviceaddress; in HAL_NAND_Read_ID()
425 pNAND_ID->Maker_Id = ADDR_1ST_CYCLE(data); in HAL_NAND_Read_ID()
426 pNAND_ID->Device_Id = ADDR_3RD_CYCLE(data); in HAL_NAND_Read_ID()
2195 uint32_t data; in HAL_NAND_Read_Status() local
[all …]

1234