Home
last modified time | relevance | path

Searched refs:hsd (Results 1 – 25 of 42) sorted by relevance

12

/hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_sd.c306 static uint32_t SD_InitCard (SD_HandleTypeDef *hsd);
307 static uint32_t SD_PowerON (SD_HandleTypeDef *hsd);
308 static uint32_t SD_SendSDStatus (SD_HandleTypeDef *hsd, uint32_t *pSDstatus);
309 static uint32_t SD_SendStatus (SD_HandleTypeDef *hsd, uint32_t *pCardStatus);
310 static uint32_t SD_WideBus_Enable (SD_HandleTypeDef *hsd);
311 static uint32_t SD_WideBus_Disable(SD_HandleTypeDef *hsd);
312 static uint32_t SD_FindSCR (SD_HandleTypeDef *hsd, uint32_t *pSCR);
313 static void SD_PowerOFF (SD_HandleTypeDef *hsd);
314 static void SD_Write_IT (SD_HandleTypeDef *hsd);
315 static void SD_Read_IT (SD_HandleTypeDef *hsd);
[all …]
Dstm32l4xx_hal_sd_ex.c84 uint32_t HAL_SDEx_HighSpeed(SD_HandleTypeDef *hsd) in HAL_SDEx_HighSpeed() argument
86 return SD_HighSpeed (hsd); in HAL_SDEx_HighSpeed()
131 HAL_StatusTypeDef HAL_SDEx_ConfigDMAMultiBuffer(SD_HandleTypeDef *hsd, uint32_t *pDataBuffer0, uint… in HAL_SDEx_ConfigDMAMultiBuffer() argument
133 if(hsd->State == HAL_SD_STATE_READY) in HAL_SDEx_ConfigDMAMultiBuffer()
135 hsd->Instance->IDMABASE0= (uint32_t) pDataBuffer0; in HAL_SDEx_ConfigDMAMultiBuffer()
136 hsd->Instance->IDMABASE1= (uint32_t) pDataBuffer1; in HAL_SDEx_ConfigDMAMultiBuffer()
137 hsd->Instance->IDMABSIZE= (uint32_t) (BLOCKSIZE * BufferSize); in HAL_SDEx_ConfigDMAMultiBuffer()
155 HAL_StatusTypeDef HAL_SDEx_ReadBlocksDMAMultiBuffer(SD_HandleTypeDef *hsd, uint32_t BlockAdd, uint3… in HAL_SDEx_ReadBlocksDMAMultiBuffer() argument
162 if(hsd->State == HAL_SD_STATE_READY) in HAL_SDEx_ReadBlocksDMAMultiBuffer()
164 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SDEx_ReadBlocksDMAMultiBuffer()
[all …]
/hal_stm32-latest/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_hal_sd.c290 static uint32_t SD_InitCard(SD_HandleTypeDef *hsd);
291 static uint32_t SD_PowerON(SD_HandleTypeDef *hsd);
292 static uint32_t SD_SendSDStatus(SD_HandleTypeDef *hsd, uint32_t *pSDstatus);
293 static uint32_t SD_SendStatus(SD_HandleTypeDef *hsd, uint32_t *pCardStatus);
294 static uint32_t SD_WideBus_Enable(SD_HandleTypeDef *hsd);
295 static uint32_t SD_WideBus_Disable(SD_HandleTypeDef *hsd);
296 static uint32_t SD_FindSCR(SD_HandleTypeDef *hsd, uint32_t *pSCR);
297 static void SD_PowerOFF(SD_HandleTypeDef *hsd);
298 static void SD_Write_IT(SD_HandleTypeDef *hsd);
299 static void SD_Read_IT(SD_HandleTypeDef *hsd);
[all …]
/hal_stm32-latest/stm32cube/stm32f1xx/drivers/src/
Dstm32f1xx_hal_sd.c290 static uint32_t SD_InitCard(SD_HandleTypeDef *hsd);
291 static uint32_t SD_PowerON(SD_HandleTypeDef *hsd);
292 static uint32_t SD_SendSDStatus(SD_HandleTypeDef *hsd, uint32_t *pSDstatus);
293 static uint32_t SD_SendStatus(SD_HandleTypeDef *hsd, uint32_t *pCardStatus);
294 static uint32_t SD_WideBus_Enable(SD_HandleTypeDef *hsd);
295 static uint32_t SD_WideBus_Disable(SD_HandleTypeDef *hsd);
296 static uint32_t SD_FindSCR(SD_HandleTypeDef *hsd, uint32_t *pSCR);
297 static void SD_PowerOFF(SD_HandleTypeDef *hsd);
298 static void SD_Write_IT(SD_HandleTypeDef *hsd);
299 static void SD_Read_IT(SD_HandleTypeDef *hsd);
[all …]
/hal_stm32-latest/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_hal_sd.c290 static uint32_t SD_InitCard(SD_HandleTypeDef *hsd);
291 static uint32_t SD_PowerON(SD_HandleTypeDef *hsd);
292 static uint32_t SD_SendSDStatus(SD_HandleTypeDef *hsd, uint32_t *pSDstatus);
293 static uint32_t SD_SendStatus(SD_HandleTypeDef *hsd, uint32_t *pCardStatus);
294 static uint32_t SD_WideBus_Enable(SD_HandleTypeDef *hsd);
295 static uint32_t SD_WideBus_Disable(SD_HandleTypeDef *hsd);
296 static uint32_t SD_FindSCR(SD_HandleTypeDef *hsd, uint32_t *pSCR);
297 static void SD_PowerOFF(SD_HandleTypeDef *hsd);
298 static void SD_Write_IT(SD_HandleTypeDef *hsd);
299 static void SD_Read_IT(SD_HandleTypeDef *hsd);
[all …]
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_sd.c293 static uint32_t SD_InitCard(SD_HandleTypeDef *hsd);
294 static uint32_t SD_PowerON(SD_HandleTypeDef *hsd);
295 static uint32_t SD_SendSDStatus(SD_HandleTypeDef *hsd, uint32_t *pSDstatus);
296 static uint32_t SD_SendStatus(SD_HandleTypeDef *hsd, uint32_t *pCardStatus);
297 static uint32_t SD_WideBus_Enable(SD_HandleTypeDef *hsd);
298 static uint32_t SD_WideBus_Disable(SD_HandleTypeDef *hsd);
299 static uint32_t SD_FindSCR(SD_HandleTypeDef *hsd, uint32_t *pSCR);
300 static void SD_PowerOFF(SD_HandleTypeDef *hsd);
301 static void SD_Write_IT(SD_HandleTypeDef *hsd);
302 static void SD_Read_IT(SD_HandleTypeDef *hsd);
[all …]
Dstm32l5xx_hal_sd_ex.c84 HAL_StatusTypeDef HAL_SDEx_ConfigDMAMultiBuffer(SD_HandleTypeDef *hsd, uint32_t *pDataBuffer0, uint… in HAL_SDEx_ConfigDMAMultiBuffer() argument
87 if (hsd->State == HAL_SD_STATE_READY) in HAL_SDEx_ConfigDMAMultiBuffer()
89 hsd->Instance->IDMABASE0 = (uint32_t) pDataBuffer0; in HAL_SDEx_ConfigDMAMultiBuffer()
90 hsd->Instance->IDMABASE1 = (uint32_t) pDataBuffer1; in HAL_SDEx_ConfigDMAMultiBuffer()
91 hsd->Instance->IDMABSIZE = (uint32_t)(BLOCKSIZE * BufferSize); in HAL_SDEx_ConfigDMAMultiBuffer()
110 HAL_StatusTypeDef HAL_SDEx_ReadBlocksDMAMultiBuffer(SD_HandleTypeDef *hsd, uint32_t BlockAdd, uint3… in HAL_SDEx_ReadBlocksDMAMultiBuffer() argument
118 if (hsd->State == HAL_SD_STATE_READY) in HAL_SDEx_ReadBlocksDMAMultiBuffer()
120 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SDEx_ReadBlocksDMAMultiBuffer()
122 hsd->ErrorCode |= HAL_SD_ERROR_ADDR_OUT_OF_RANGE; in HAL_SDEx_ReadBlocksDMAMultiBuffer()
126 DmaBase0_reg = hsd->Instance->IDMABASE0; in HAL_SDEx_ReadBlocksDMAMultiBuffer()
[all …]
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_sd.c293 static uint32_t SD_InitCard(SD_HandleTypeDef *hsd);
294 static uint32_t SD_PowerON(SD_HandleTypeDef *hsd);
295 static uint32_t SD_SendSDStatus(SD_HandleTypeDef *hsd, uint32_t *pSDstatus);
296 static uint32_t SD_SendStatus(SD_HandleTypeDef *hsd, uint32_t *pCardStatus);
297 static uint32_t SD_WideBus_Enable(SD_HandleTypeDef *hsd);
298 static uint32_t SD_WideBus_Disable(SD_HandleTypeDef *hsd);
299 static uint32_t SD_FindSCR(SD_HandleTypeDef *hsd, uint32_t *pSCR);
300 static void SD_PowerOFF(SD_HandleTypeDef *hsd);
301 static void SD_Write_IT(SD_HandleTypeDef *hsd);
302 static void SD_Read_IT(SD_HandleTypeDef *hsd);
[all …]
Dstm32h7xx_hal_sd_ex.c84 HAL_StatusTypeDef HAL_SDEx_ConfigDMAMultiBuffer(SD_HandleTypeDef *hsd, uint32_t *pDataBuffer0, uint… in HAL_SDEx_ConfigDMAMultiBuffer() argument
87 if (hsd->State == HAL_SD_STATE_READY) in HAL_SDEx_ConfigDMAMultiBuffer()
89 hsd->Instance->IDMABASE0 = (uint32_t) pDataBuffer0; in HAL_SDEx_ConfigDMAMultiBuffer()
90 hsd->Instance->IDMABASE1 = (uint32_t) pDataBuffer1; in HAL_SDEx_ConfigDMAMultiBuffer()
91 hsd->Instance->IDMABSIZE = (uint32_t)(BLOCKSIZE * BufferSize); in HAL_SDEx_ConfigDMAMultiBuffer()
110 HAL_StatusTypeDef HAL_SDEx_ReadBlocksDMAMultiBuffer(SD_HandleTypeDef *hsd, uint32_t BlockAdd, uint3… in HAL_SDEx_ReadBlocksDMAMultiBuffer() argument
118 if (hsd->State == HAL_SD_STATE_READY) in HAL_SDEx_ReadBlocksDMAMultiBuffer()
120 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SDEx_ReadBlocksDMAMultiBuffer()
122 hsd->ErrorCode |= HAL_SD_ERROR_ADDR_OUT_OF_RANGE; in HAL_SDEx_ReadBlocksDMAMultiBuffer()
126 DmaBase0_reg = hsd->Instance->IDMABASE0; in HAL_SDEx_ReadBlocksDMAMultiBuffer()
[all …]
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_sd.c290 static uint32_t SD_InitCard(SD_HandleTypeDef *hsd);
291 static uint32_t SD_PowerON(SD_HandleTypeDef *hsd);
292 static uint32_t SD_SendSDStatus(SD_HandleTypeDef *hsd, uint32_t *pSDstatus);
293 static uint32_t SD_SendStatus(SD_HandleTypeDef *hsd, uint32_t *pCardStatus);
294 static uint32_t SD_WideBus_Enable(SD_HandleTypeDef *hsd);
295 static uint32_t SD_WideBus_Disable(SD_HandleTypeDef *hsd);
296 static uint32_t SD_FindSCR(SD_HandleTypeDef *hsd, uint32_t *pSCR);
297 static void SD_PowerOFF(SD_HandleTypeDef *hsd);
298 static void SD_Write_IT(SD_HandleTypeDef *hsd);
299 static void SD_Read_IT(SD_HandleTypeDef *hsd);
[all …]
/hal_stm32-latest/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_hal_sd.c233 static uint32_t SD_InitCard(SD_HandleTypeDef *hsd);
234 static uint32_t SD_PowerON(SD_HandleTypeDef *hsd);
235 static uint32_t SD_SendSDStatus(SD_HandleTypeDef *hsd, uint32_t *pSDstatus);
236 static uint32_t SD_SendStatus(SD_HandleTypeDef *hsd, uint32_t *pCardStatus);
237 static uint32_t SD_WideBus_Enable(SD_HandleTypeDef *hsd);
238 static uint32_t SD_WideBus_Disable(SD_HandleTypeDef *hsd);
239 static uint32_t SD_FindSCR(SD_HandleTypeDef *hsd, uint32_t *pSCR);
240 static void SD_PowerOFF(SD_HandleTypeDef *hsd);
241 static void SD_Write_IT(SD_HandleTypeDef *hsd);
242 static void SD_Read_IT(SD_HandleTypeDef *hsd);
[all …]
Dstm32mp1xx_hal_sd_ex.c83 HAL_StatusTypeDef HAL_SDEx_ConfigDMAMultiBuffer(SD_HandleTypeDef *hsd, uint32_t *pDataBuffer0, uint… in HAL_SDEx_ConfigDMAMultiBuffer() argument
85 if(hsd->State == HAL_SD_STATE_READY) in HAL_SDEx_ConfigDMAMultiBuffer()
87 hsd->Instance->IDMABASE0= (uint32_t) pDataBuffer0; in HAL_SDEx_ConfigDMAMultiBuffer()
88 hsd->Instance->IDMABASE1= (uint32_t) pDataBuffer1; in HAL_SDEx_ConfigDMAMultiBuffer()
89 hsd->Instance->IDMABSIZE= (uint32_t) (BLOCKSIZE * BufferSize); in HAL_SDEx_ConfigDMAMultiBuffer()
107 HAL_StatusTypeDef HAL_SDEx_ReadBlocksDMAMultiBuffer(SD_HandleTypeDef *hsd, uint32_t BlockAdd, uint3… in HAL_SDEx_ReadBlocksDMAMultiBuffer() argument
114 if(hsd->State == HAL_SD_STATE_READY) in HAL_SDEx_ReadBlocksDMAMultiBuffer()
116 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SDEx_ReadBlocksDMAMultiBuffer()
118 hsd->ErrorCode |= HAL_SD_ERROR_ADDR_OUT_OF_RANGE; in HAL_SDEx_ReadBlocksDMAMultiBuffer()
122 DmaBase0_reg = hsd->Instance->IDMABASE0; in HAL_SDEx_ReadBlocksDMAMultiBuffer()
[all …]
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_sd.c291 static uint32_t SD_InitCard(SD_HandleTypeDef *hsd);
292 static uint32_t SD_PowerON(SD_HandleTypeDef *hsd);
293 static uint32_t SD_SendSDStatus(SD_HandleTypeDef *hsd, uint32_t *pSDstatus);
294 static uint32_t SD_SendStatus(SD_HandleTypeDef *hsd, uint32_t *pCardStatus);
295 static uint32_t SD_WideBus_Enable(SD_HandleTypeDef *hsd);
296 static uint32_t SD_WideBus_Disable(SD_HandleTypeDef *hsd);
297 static uint32_t SD_FindSCR(SD_HandleTypeDef *hsd, uint32_t *pSCR);
298 static void SD_PowerOFF(SD_HandleTypeDef *hsd);
299 static void SD_Write_IT(SD_HandleTypeDef *hsd);
300 static void SD_Read_IT(SD_HandleTypeDef *hsd);
[all …]
Dstm32h5xx_hal_sd_ex.c199 HAL_StatusTypeDef HAL_SDEx_DMALinkedList_ReadBlocks(SD_HandleTypeDef *hsd, SDMMC_DMALinkedListTypeD… in HAL_SDEx_DMALinkedList_ReadBlocks() argument
208 if (hsd->State == HAL_SD_STATE_READY) in HAL_SDEx_DMALinkedList_ReadBlocks()
210 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SDEx_DMALinkedList_ReadBlocks()
212 hsd->ErrorCode |= HAL_SD_ERROR_ADDR_OUT_OF_RANGE; in HAL_SDEx_DMALinkedList_ReadBlocks()
216 hsd->Instance->IDMABASER = (uint32_t) pLinkedList->pHeadNode->IDMABASER; in HAL_SDEx_DMALinkedList_ReadBlocks()
217 hsd->Instance->IDMABSIZE = (uint32_t) pLinkedList->pHeadNode->IDMABSIZE; in HAL_SDEx_DMALinkedList_ReadBlocks()
219 hsd->Instance->IDMABAR = (uint32_t) pLinkedList->pHeadNode; in HAL_SDEx_DMALinkedList_ReadBlocks()
220hsd->Instance->IDMALAR = (uint32_t) SDMMC_IDMALAR_ABR | SDMMC_IDMALAR_ULS | SDMMC_IDMALAR_ULA | in HAL_SDEx_DMALinkedList_ReadBlocks()
223 DmaBase0_reg = hsd->Instance->IDMABASER; in HAL_SDEx_DMALinkedList_ReadBlocks()
224 DmaBase1_reg = hsd->Instance->IDMABAR; in HAL_SDEx_DMALinkedList_ReadBlocks()
[all …]
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/
Dstm32n6xx_hal_sd.c291 static uint32_t SD_InitCard(SD_HandleTypeDef *hsd);
292 static uint32_t SD_PowerON(SD_HandleTypeDef *hsd);
293 static uint32_t SD_SendSDStatus(SD_HandleTypeDef *hsd, uint32_t *pSDstatus);
294 static uint32_t SD_SendStatus(SD_HandleTypeDef *hsd, uint32_t *pCardStatus);
295 static uint32_t SD_WideBus_Enable(SD_HandleTypeDef *hsd);
296 static uint32_t SD_WideBus_Disable(SD_HandleTypeDef *hsd);
297 static uint32_t SD_FindSCR(SD_HandleTypeDef *hsd, uint32_t *pSCR);
298 static void SD_PowerOFF(SD_HandleTypeDef *hsd);
299 static void SD_Write_IT(SD_HandleTypeDef *hsd);
300 static void SD_Read_IT(SD_HandleTypeDef *hsd);
[all …]
Dstm32n6xx_hal_sd_ex.c199 HAL_StatusTypeDef HAL_SDEx_DMALinkedList_ReadBlocks(SD_HandleTypeDef *hsd, in HAL_SDEx_DMALinkedList_ReadBlocks() argument
209 if (hsd->State == HAL_SD_STATE_READY) in HAL_SDEx_DMALinkedList_ReadBlocks()
211 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SDEx_DMALinkedList_ReadBlocks()
213 hsd->ErrorCode |= HAL_SD_ERROR_ADDR_OUT_OF_RANGE; in HAL_SDEx_DMALinkedList_ReadBlocks()
217 hsd->Instance->IDMABASER = (uint32_t) pLinkedList->pHeadNode->IDMABASER; in HAL_SDEx_DMALinkedList_ReadBlocks()
218 hsd->Instance->IDMABSIZE = (uint32_t) pLinkedList->pHeadNode->IDMABSIZE; in HAL_SDEx_DMALinkedList_ReadBlocks()
220 hsd->Instance->IDMABAR = (uint32_t) pLinkedList->pHeadNode; in HAL_SDEx_DMALinkedList_ReadBlocks()
221hsd->Instance->IDMALAR = (uint32_t) SDMMC_IDMALAR_ABR | SDMMC_IDMALAR_ULS | SDMMC_IDMALAR_ULA | in HAL_SDEx_DMALinkedList_ReadBlocks()
224 DmaBase0_reg = hsd->Instance->IDMABASER; in HAL_SDEx_DMALinkedList_ReadBlocks()
225 DmaBase1_reg = hsd->Instance->IDMABAR; in HAL_SDEx_DMALinkedList_ReadBlocks()
[all …]
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_sd.c291 static uint32_t SD_InitCard(SD_HandleTypeDef *hsd);
292 static uint32_t SD_PowerON(SD_HandleTypeDef *hsd);
293 static uint32_t SD_SendSDStatus(SD_HandleTypeDef *hsd, uint32_t *pSDstatus);
294 static uint32_t SD_SendStatus(SD_HandleTypeDef *hsd, uint32_t *pCardStatus);
295 static uint32_t SD_WideBus_Enable(SD_HandleTypeDef *hsd);
296 static uint32_t SD_WideBus_Disable(SD_HandleTypeDef *hsd);
297 static uint32_t SD_FindSCR(SD_HandleTypeDef *hsd, uint32_t *pSCR);
298 static void SD_PowerOFF(SD_HandleTypeDef *hsd);
299 static void SD_Write_IT(SD_HandleTypeDef *hsd);
300 static void SD_Read_IT(SD_HandleTypeDef *hsd);
[all …]
Dstm32u5xx_hal_sd_ex.c199 HAL_StatusTypeDef HAL_SDEx_DMALinkedList_ReadBlocks(SD_HandleTypeDef *hsd, in HAL_SDEx_DMALinkedList_ReadBlocks() argument
209 if (hsd->State == HAL_SD_STATE_READY) in HAL_SDEx_DMALinkedList_ReadBlocks()
211 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SDEx_DMALinkedList_ReadBlocks()
213 hsd->ErrorCode |= HAL_SD_ERROR_ADDR_OUT_OF_RANGE; in HAL_SDEx_DMALinkedList_ReadBlocks()
217 hsd->Instance->IDMABASER = (uint32_t) pLinkedList->pHeadNode->IDMABASER; in HAL_SDEx_DMALinkedList_ReadBlocks()
218 hsd->Instance->IDMABSIZE = (uint32_t) pLinkedList->pHeadNode->IDMABSIZE; in HAL_SDEx_DMALinkedList_ReadBlocks()
220 hsd->Instance->IDMABAR = (uint32_t) pLinkedList->pHeadNode; in HAL_SDEx_DMALinkedList_ReadBlocks()
221hsd->Instance->IDMALAR = (uint32_t) SDMMC_IDMALAR_ABR | SDMMC_IDMALAR_ULS | SDMMC_IDMALAR_ULA | in HAL_SDEx_DMALinkedList_ReadBlocks()
224 DmaBase0_reg = hsd->Instance->IDMABASER; in HAL_SDEx_DMALinkedList_ReadBlocks()
225 DmaBase1_reg = hsd->Instance->IDMABAR; in HAL_SDEx_DMALinkedList_ReadBlocks()
[all …]
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_hal_sd.c291 static uint32_t SD_InitCard(SD_HandleTypeDef *hsd);
292 static uint32_t SD_PowerON(SD_HandleTypeDef *hsd);
293 static uint32_t SD_SendSDStatus(SD_HandleTypeDef *hsd, uint32_t *pSDstatus);
294 static uint32_t SD_SendStatus(SD_HandleTypeDef *hsd, uint32_t *pCardStatus);
295 static uint32_t SD_WideBus_Enable(SD_HandleTypeDef *hsd);
296 static uint32_t SD_WideBus_Disable(SD_HandleTypeDef *hsd);
297 static uint32_t SD_FindSCR(SD_HandleTypeDef *hsd, uint32_t *pSCR);
298 static void SD_PowerOFF(SD_HandleTypeDef *hsd);
299 static void SD_Write_IT(SD_HandleTypeDef *hsd);
300 static void SD_Read_IT(SD_HandleTypeDef *hsd);
[all …]
Dstm32h7rsxx_hal_sd_ex.c199 HAL_StatusTypeDef HAL_SDEx_DMALinkedList_ReadBlocks(SD_HandleTypeDef *hsd, SDMMC_DMALinkedListTypeD… in HAL_SDEx_DMALinkedList_ReadBlocks() argument
208 if (hsd->State == HAL_SD_STATE_READY) in HAL_SDEx_DMALinkedList_ReadBlocks()
210 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SDEx_DMALinkedList_ReadBlocks()
212 hsd->ErrorCode |= HAL_SD_ERROR_ADDR_OUT_OF_RANGE; in HAL_SDEx_DMALinkedList_ReadBlocks()
216 hsd->Instance->IDMABASER = (uint32_t) pLinkedList->pHeadNode->IDMABASER; in HAL_SDEx_DMALinkedList_ReadBlocks()
217 hsd->Instance->IDMABSIZE = (uint32_t) pLinkedList->pHeadNode->IDMABSIZE; in HAL_SDEx_DMALinkedList_ReadBlocks()
219 hsd->Instance->IDMABAR = (uint32_t) pLinkedList->pHeadNode; in HAL_SDEx_DMALinkedList_ReadBlocks()
220hsd->Instance->IDMALAR = (uint32_t) SDMMC_IDMALAR_ABR | SDMMC_IDMALAR_ULS | SDMMC_IDMALAR_ULA | in HAL_SDEx_DMALinkedList_ReadBlocks()
223 DmaBase0_reg = hsd->Instance->IDMABASER; in HAL_SDEx_DMALinkedList_ReadBlocks()
224 DmaBase1_reg = hsd->Instance->IDMABAR; in HAL_SDEx_DMALinkedList_ReadBlocks()
[all …]
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_sd.c290 static uint32_t SD_InitCard(SD_HandleTypeDef *hsd);
291 static uint32_t SD_PowerON(SD_HandleTypeDef *hsd);
292 static uint32_t SD_SendSDStatus(SD_HandleTypeDef *hsd, uint32_t *pSDstatus);
293 static uint32_t SD_SendStatus(SD_HandleTypeDef *hsd, uint32_t *pCardStatus);
294 static uint32_t SD_WideBus_Enable(SD_HandleTypeDef *hsd);
295 static uint32_t SD_WideBus_Disable(SD_HandleTypeDef *hsd);
296 static uint32_t SD_FindSCR(SD_HandleTypeDef *hsd, uint32_t *pSCR);
297 static void SD_PowerOFF(SD_HandleTypeDef *hsd);
298 static void SD_Write_IT(SD_HandleTypeDef *hsd);
299 static void SD_Read_IT(SD_HandleTypeDef *hsd);
[all …]
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/include/
Dstm32h7xx_hal_sd.h151 void (* TxCpltCallback)(struct __SD_HandleTypeDef *hsd);
152 void (* RxCpltCallback)(struct __SD_HandleTypeDef *hsd);
153 void (* ErrorCallback)(struct __SD_HandleTypeDef *hsd);
154 void (* AbortCpltCallback)(struct __SD_HandleTypeDef *hsd);
155 void (* Read_DMADblBuf0CpltCallback)(struct __SD_HandleTypeDef *hsd);
156 void (* Read_DMADblBuf1CpltCallback)(struct __SD_HandleTypeDef *hsd);
157 void (* Write_DMADblBuf0CpltCallback)(struct __SD_HandleTypeDef *hsd);
158 void (* Write_DMADblBuf1CpltCallback)(struct __SD_HandleTypeDef *hsd);
163 void (* MspInitCallback)(struct __SD_HandleTypeDef *hsd);
164 void (* MspDeInitCallback)(struct __SD_HandleTypeDef *hsd);
[all …]
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/include/
Dstm32l5xx_hal_sd.h151 void (* TxCpltCallback)(struct __SD_HandleTypeDef *hsd);
152 void (* RxCpltCallback)(struct __SD_HandleTypeDef *hsd);
153 void (* ErrorCallback)(struct __SD_HandleTypeDef *hsd);
154 void (* AbortCpltCallback)(struct __SD_HandleTypeDef *hsd);
155 void (* Read_DMADblBuf0CpltCallback)(struct __SD_HandleTypeDef *hsd);
156 void (* Read_DMADblBuf1CpltCallback)(struct __SD_HandleTypeDef *hsd);
157 void (* Write_DMADblBuf0CpltCallback)(struct __SD_HandleTypeDef *hsd);
158 void (* Write_DMADblBuf1CpltCallback)(struct __SD_HandleTypeDef *hsd);
163 void (* MspInitCallback)(struct __SD_HandleTypeDef *hsd);
164 void (* MspDeInitCallback)(struct __SD_HandleTypeDef *hsd);
[all …]
/hal_stm32-latest/stm32cube/stm32mp1xx/drivers/include/
Dstm32mp1xx_hal_sd.h147 void (* TxCpltCallback) (struct __SD_HandleTypeDef *hsd);
148 void (* RxCpltCallback) (struct __SD_HandleTypeDef *hsd);
149 void (* ErrorCallback) (struct __SD_HandleTypeDef *hsd);
150 void (* AbortCpltCallback) (struct __SD_HandleTypeDef *hsd);
151 void (* Read_DMADblBuf0CpltCallback) (struct __SD_HandleTypeDef *hsd);
152 void (* Read_DMADblBuf1CpltCallback) (struct __SD_HandleTypeDef *hsd);
153 void (* Write_DMADblBuf0CpltCallback) (struct __SD_HandleTypeDef *hsd);
154 void (* Write_DMADblBuf1CpltCallback) (struct __SD_HandleTypeDef *hsd);
160 void (* MspInitCallback) (struct __SD_HandleTypeDef *hsd);
161 void (* MspDeInitCallback) (struct __SD_HandleTypeDef *hsd);
[all …]
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/include/
Dstm32l4xx_hal_sd.h160 void (* TxCpltCallback) (struct __SD_HandleTypeDef *hsd);
161 void (* RxCpltCallback) (struct __SD_HandleTypeDef *hsd);
162 void (* ErrorCallback) (struct __SD_HandleTypeDef *hsd);
163 void (* AbortCpltCallback) (struct __SD_HandleTypeDef *hsd);
165 void (* Read_DMADblBuf0CpltCallback) (struct __SD_HandleTypeDef *hsd);
166 void (* Read_DMADblBuf1CpltCallback) (struct __SD_HandleTypeDef *hsd);
167 void (* Write_DMADblBuf0CpltCallback) (struct __SD_HandleTypeDef *hsd);
168 void (* Write_DMADblBuf1CpltCallback) (struct __SD_HandleTypeDef *hsd);
173 void (* MspInitCallback) (struct __SD_HandleTypeDef *hsd);
174 void (* MspDeInitCallback) (struct __SD_HandleTypeDef *hsd);
[all …]

12