stm32f7xx_ll_fmc.c
Go to the documentation of this file.
1 
58 /* Includes ------------------------------------------------------------------*/
59 #include "stm32f7xx_hal.h"
60 
70 #if defined (HAL_SRAM_MODULE_ENABLED) || defined(HAL_NOR_MODULE_ENABLED) || defined(HAL_NAND_MODULE_ENABLED) || defined(HAL_SDRAM_MODULE_ENABLED)
71 
72 /* Private typedef -----------------------------------------------------------*/
73 /* Private define ------------------------------------------------------------*/
74 /* Private macro -------------------------------------------------------------*/
75 /* Private variables ---------------------------------------------------------*/
76 /* Private function prototypes -----------------------------------------------*/
77 /* Exported functions --------------------------------------------------------*/
78 
133 {
134  uint32_t tmpr = 0;
135 
136  /* Check the parameters */
139  assert_param(IS_FMC_MUX(Init->DataAddressMux));
140  assert_param(IS_FMC_MEMORY(Init->MemoryType));
141  assert_param(IS_FMC_NORSRAM_MEMORY_WIDTH(Init->MemoryDataWidth));
142  assert_param(IS_FMC_BURSTMODE(Init->BurstAccessMode));
143  assert_param(IS_FMC_WAIT_POLARITY(Init->WaitSignalPolarity));
144  assert_param(IS_FMC_WAIT_SIGNAL_ACTIVE(Init->WaitSignalActive));
145  assert_param(IS_FMC_WRITE_OPERATION(Init->WriteOperation));
146  assert_param(IS_FMC_WAITE_SIGNAL(Init->WaitSignal));
147  assert_param(IS_FMC_EXTENDED_MODE(Init->ExtendedMode));
148  assert_param(IS_FMC_ASYNWAIT(Init->AsynchronousWait));
149  assert_param(IS_FMC_WRITE_BURST(Init->WriteBurst));
150  assert_param(IS_FMC_CONTINOUS_CLOCK(Init->ContinuousClock));
151  assert_param(IS_FMC_WRITE_FIFO(Init->WriteFifo));
152  assert_param(IS_FMC_PAGESIZE(Init->PageSize));
153 
154  /* Get the BTCR register value */
155  tmpr = Device->BTCR[Init->NSBank];
156 
157  /* Clear MBKEN, MUXEN, MTYP, MWID, FACCEN, BURSTEN, WAITPOL, WAITCFG, WREN,
158  WAITEN, EXTMOD, ASYNCWAIT, CBURSTRW and CCLKEN bits */
159  tmpr &= ((uint32_t)~(FMC_BCR1_MBKEN | FMC_BCR1_MUXEN | FMC_BCR1_MTYP | \
164 
165  /* Set NORSRAM device control parameters */
166  tmpr |= (uint32_t)(Init->DataAddressMux |\
167  Init->MemoryType |\
168  Init->MemoryDataWidth |\
169  Init->BurstAccessMode |\
170  Init->WaitSignalPolarity |\
171  Init->WaitSignalActive |\
172  Init->WriteOperation |\
173  Init->WaitSignal |\
174  Init->ExtendedMode |\
175  Init->AsynchronousWait |\
176  Init->WriteBurst |\
177  Init->ContinuousClock |\
178  Init->PageSize |\
179  Init->WriteFifo);
180 
181  if(Init->MemoryType == FMC_MEMORY_TYPE_NOR)
182  {
183  tmpr |= (uint32_t)FMC_NORSRAM_FLASH_ACCESS_ENABLE;
184  }
185 
186  Device->BTCR[Init->NSBank] = tmpr;
187 
188  /* Configure synchronous mode when Continuous clock is enabled for bank2..4 */
189  if((Init->ContinuousClock == FMC_CONTINUOUS_CLOCK_SYNC_ASYNC) && (Init->NSBank != FMC_NORSRAM_BANK1))
190  {
191  Device->BTCR[FMC_NORSRAM_BANK1] |= (uint32_t)(Init->ContinuousClock);
192  }
193  if(Init->NSBank != FMC_NORSRAM_BANK1)
194  {
195  Device->BTCR[FMC_NORSRAM_BANK1] |= (uint32_t)(Init->WriteFifo);
196  }
197 
198  return HAL_OK;
199 }
200 
201 
210 {
211  /* Check the parameters */
215 
216  /* Disable the FMC_NORSRAM device */
217  __FMC_NORSRAM_DISABLE(Device, Bank);
218 
219  /* De-initialize the FMC_NORSRAM device */
220  /* FMC_NORSRAM_BANK1 */
221  if(Bank == FMC_NORSRAM_BANK1)
222  {
223  Device->BTCR[Bank] = 0x000030DB;
224  }
225  /* FMC_NORSRAM_BANK2, FMC_NORSRAM_BANK3 or FMC_NORSRAM_BANK4 */
226  else
227  {
228  Device->BTCR[Bank] = 0x000030D2;
229  }
230 
231  Device->BTCR[Bank + 1] = 0x0FFFFFFF;
232  ExDevice->BWTR[Bank] = 0x0FFFFFFF;
233 
234  return HAL_OK;
235 }
236 
237 
247 {
248  uint32_t tmpr = 0;
249 
250  /* Check the parameters */
252  assert_param(IS_FMC_ADDRESS_SETUP_TIME(Timing->AddressSetupTime));
253  assert_param(IS_FMC_ADDRESS_HOLD_TIME(Timing->AddressHoldTime));
254  assert_param(IS_FMC_DATASETUP_TIME(Timing->DataSetupTime));
255  assert_param(IS_FMC_TURNAROUND_TIME(Timing->BusTurnAroundDuration));
256  assert_param(IS_FMC_CLK_DIV(Timing->CLKDivision));
257  assert_param(IS_FMC_DATA_LATENCY(Timing->DataLatency));
258  assert_param(IS_FMC_ACCESS_MODE(Timing->AccessMode));
260 
261  /* Get the BTCR register value */
262  tmpr = Device->BTCR[Bank + 1];
263 
264  /* Clear ADDSET, ADDHLD, DATAST, BUSTURN, CLKDIV, DATLAT and ACCMOD bits */
265  tmpr &= ((uint32_t)~(FMC_BTR1_ADDSET | FMC_BTR1_ADDHLD | FMC_BTR1_DATAST | \
267  FMC_BTR1_ACCMOD));
268 
269  /* Set FMC_NORSRAM device timing parameters */
270  tmpr |= (uint32_t)(Timing->AddressSetupTime |\
271  ((Timing->AddressHoldTime) << 4) |\
272  ((Timing->DataSetupTime) << 8) |\
273  ((Timing->BusTurnAroundDuration) << 16) |\
274  (((Timing->CLKDivision)-1) << 20) |\
275  (((Timing->DataLatency)-2) << 24) |\
276  (Timing->AccessMode)
277  );
278 
279  Device->BTCR[Bank + 1] = tmpr;
280 
281  /* Configure Clock division value (in NORSRAM bank 1) when continuous clock is enabled */
283  {
284  tmpr = (uint32_t)(Device->BTCR[FMC_NORSRAM_BANK1 + 1] & ~(((uint32_t)0x0F) << 20));
285  tmpr |= (uint32_t)(((Timing->CLKDivision)-1) << 20);
286  Device->BTCR[FMC_NORSRAM_BANK1 + 1] = tmpr;
287  }
288 
289  return HAL_OK;
290 }
291 
301 {
302  uint32_t tmpr = 0;
303 
304  /* Check the parameters */
305  assert_param(IS_FMC_EXTENDED_MODE(ExtendedMode));
306 
307  /* Set NORSRAM device timing register for write configuration, if extended mode is used */
308  if(ExtendedMode == FMC_EXTENDED_MODE_ENABLE)
309  {
310  /* Check the parameters */
312  assert_param(IS_FMC_ADDRESS_SETUP_TIME(Timing->AddressSetupTime));
313  assert_param(IS_FMC_ADDRESS_HOLD_TIME(Timing->AddressHoldTime));
314  assert_param(IS_FMC_DATASETUP_TIME(Timing->DataSetupTime));
315  assert_param(IS_FMC_TURNAROUND_TIME(Timing->BusTurnAroundDuration));
316  assert_param(IS_FMC_CLK_DIV(Timing->CLKDivision));
317  assert_param(IS_FMC_DATA_LATENCY(Timing->DataLatency));
318  assert_param(IS_FMC_ACCESS_MODE(Timing->AccessMode));
320 
321  /* Get the BWTR register value */
322  tmpr = Device->BWTR[Bank];
323 
324  /* Clear ADDSET, ADDHLD, DATAST, BUSTURN, CLKDIV, DATLAT and ACCMOD bits */
325  tmpr &= ((uint32_t)~(FMC_BWTR1_ADDSET | FMC_BWTR1_ADDHLD | FMC_BWTR1_DATAST | \
327 
328  tmpr |= (uint32_t)(Timing->AddressSetupTime |\
329  ((Timing->AddressHoldTime) << 4) |\
330  ((Timing->DataSetupTime) << 8) |\
331  ((Timing->BusTurnAroundDuration) << 16) |\
332  (Timing->AccessMode));
333 
334  Device->BWTR[Bank] = tmpr;
335  }
336  else
337  {
338  Device->BWTR[Bank] = 0x0FFFFFFF;
339  }
340 
341  return HAL_OK;
342 }
369 {
370  /* Check the parameters */
373 
374  /* Enable write operation */
375  Device->BTCR[Bank] |= FMC_WRITE_OPERATION_ENABLE;
376 
377  return HAL_OK;
378 }
379 
387 {
388  /* Check the parameters */
391 
392  /* Disable write operation */
393  Device->BTCR[Bank] &= ~FMC_WRITE_OPERATION_ENABLE;
394 
395  return HAL_OK;
396 }
397 
456 {
457  uint32_t tmpr = 0;
458 
459  /* Check the parameters */
461  assert_param(IS_FMC_NAND_BANK(Init->NandBank));
462  assert_param(IS_FMC_WAIT_FEATURE(Init->Waitfeature));
463  assert_param(IS_FMC_NAND_MEMORY_WIDTH(Init->MemoryDataWidth));
464  assert_param(IS_FMC_ECC_STATE(Init->EccComputation));
465  assert_param(IS_FMC_ECCPAGE_SIZE(Init->ECCPageSize));
466  assert_param(IS_FMC_TCLR_TIME(Init->TCLRSetupTime));
467  assert_param(IS_FMC_TAR_TIME(Init->TARSetupTime));
468 
469  /* Get the NAND bank 3 register value */
470  tmpr = Device->PCR;
471 
472  /* Clear PWAITEN, PBKEN, PTYP, PWID, ECCEN, TCLR, TAR and ECCPS bits */
473  tmpr &= ((uint32_t)~(FMC_PCR_PWAITEN | FMC_PCR_PBKEN | FMC_PCR_PTYP | \
476  /* Set NAND device control parameters */
477  tmpr |= (uint32_t)(Init->Waitfeature |\
479  Init->MemoryDataWidth |\
480  Init->EccComputation |\
481  Init->ECCPageSize |\
482  ((Init->TCLRSetupTime) << 9) |\
483  ((Init->TARSetupTime) << 13));
484 
485  /* NAND bank 3 registers configuration */
486  Device->PCR = tmpr;
487 
488  return HAL_OK;
489 
490 }
491 
501 {
502  uint32_t tmpr = 0;
503 
504  /* Check the parameters */
507  assert_param(IS_FMC_WAIT_TIME(Timing->WaitSetupTime));
508  assert_param(IS_FMC_HOLD_TIME(Timing->HoldSetupTime));
509  assert_param(IS_FMC_HIZ_TIME(Timing->HiZSetupTime));
511 
512  /* Get the NAND bank 3 register value */
513  tmpr = Device->PMEM;
514 
515  /* Clear MEMSETx, MEMWAITx, MEMHOLDx and MEMHIZx bits */
516  tmpr &= ((uint32_t)~(FMC_PMEM_MEMSET3 | FMC_PMEM_MEMWAIT3 | FMC_PMEM_MEMHOLD3 | \
517  FMC_PMEM_MEMHIZ3));
518  /* Set FMC_NAND device timing parameters */
519  tmpr |= (uint32_t)(Timing->SetupTime |\
520  ((Timing->WaitSetupTime) << 8) |\
521  ((Timing->HoldSetupTime) << 16) |\
522  ((Timing->HiZSetupTime) << 24)
523  );
524 
525  /* NAND bank 3 registers configuration */
526  Device->PMEM = tmpr;
527 
528  return HAL_OK;
529 }
530 
540 {
541  uint32_t tmpr = 0;
542 
543  /* Check the parameters */
546  assert_param(IS_FMC_WAIT_TIME(Timing->WaitSetupTime));
547  assert_param(IS_FMC_HOLD_TIME(Timing->HoldSetupTime));
548  assert_param(IS_FMC_HIZ_TIME(Timing->HiZSetupTime));
550 
551  /* Get the NAND bank 3 register value */
552  tmpr = Device->PATT;
553 
554  /* Clear ATTSETx, ATTWAITx, ATTHOLDx and ATTHIZx bits */
555  tmpr &= ((uint32_t)~(FMC_PATT_ATTSET3 | FMC_PATT_ATTWAIT3 | FMC_PATT_ATTHOLD3 | \
557  /* Set FMC_NAND device timing parameters */
558  tmpr |= (uint32_t)(Timing->SetupTime |\
559  ((Timing->WaitSetupTime) << 8) |\
560  ((Timing->HoldSetupTime) << 16) |\
561  ((Timing->HiZSetupTime) << 24));
562 
563  /* NAND bank 3 registers configuration */
564  Device->PATT = tmpr;
565 
566  return HAL_OK;
567 }
568 
575 HAL_StatusTypeDef FMC_NAND_DeInit(FMC_NAND_TypeDef *Device, uint32_t Bank)
576 {
577  /* Check the parameters */
580 
581  /* Disable the NAND Bank */
582  __FMC_NAND_DISABLE(Device);
583 
584  /* Set the FMC_NAND_BANK3 registers to their reset values */
585  Device->PCR = 0x00000018U;
586  Device->SR = 0x00000040U;
587  Device->PMEM = 0xFCFCFCFCU;
588  Device->PATT = 0xFCFCFCFCU;
589 
590  return HAL_OK;
591 }
592 
620 {
621  /* Check the parameters */
624 
625  /* Enable ECC feature */
626  Device->PCR |= FMC_PCR_ECCEN;
627 
628  return HAL_OK;
629 }
630 
631 
639 {
640  /* Check the parameters */
643 
644  /* Disable ECC feature */
645  Device->PCR &= ~FMC_PCR_ECCEN;
646 
647  return HAL_OK;
648 }
649 
658 HAL_StatusTypeDef FMC_NAND_GetECC(FMC_NAND_TypeDef *Device, uint32_t *ECCval, uint32_t Bank, uint32_t Timeout)
659 {
660  uint32_t tickstart = 0;
661 
662  /* Check the parameters */
665 
666  /* Get tick */
667  tickstart = HAL_GetTick();
668 
669  /* Wait until FIFO is empty */
670  while(__FMC_NAND_GET_FLAG(Device, Bank, FMC_FLAG_FEMPT) == RESET)
671  {
672  /* Check for the Timeout */
673  if(Timeout != HAL_MAX_DELAY)
674  {
675  if((Timeout == 0)||((HAL_GetTick() - tickstart ) > Timeout))
676  {
677  return HAL_TIMEOUT;
678  }
679  }
680  }
681 
682  /* Get the ECCR register value */
683  *ECCval = (uint32_t)Device->ECCR;
684 
685  return HAL_OK;
686 }
687 
743 {
744  uint32_t tmpr1 = 0;
745  uint32_t tmpr2 = 0;
746 
747  /* Check the parameters */
750  assert_param(IS_FMC_COLUMNBITS_NUMBER(Init->ColumnBitsNumber));
751  assert_param(IS_FMC_ROWBITS_NUMBER(Init->RowBitsNumber));
752  assert_param(IS_FMC_SDMEMORY_WIDTH(Init->MemoryDataWidth));
753  assert_param(IS_FMC_INTERNALBANK_NUMBER(Init->InternalBankNumber));
754  assert_param(IS_FMC_CAS_LATENCY(Init->CASLatency));
755  assert_param(IS_FMC_WRITE_PROTECTION(Init->WriteProtection));
756  assert_param(IS_FMC_SDCLOCK_PERIOD(Init->SDClockPeriod));
757  assert_param(IS_FMC_READ_BURST(Init->ReadBurst));
758  assert_param(IS_FMC_READPIPE_DELAY(Init->ReadPipeDelay));
759 
760  /* Set SDRAM bank configuration parameters */
761  if (Init->SDBank != FMC_SDRAM_BANK2)
762  {
763  tmpr1 = Device->SDCR[FMC_SDRAM_BANK1];
764 
765  /* Clear NC, NR, MWID, NB, CAS, WP, SDCLK, RBURST, and RPIPE bits */
766  tmpr1 &= ((uint32_t)~(FMC_SDCR1_NC | FMC_SDCR1_NR | FMC_SDCR1_MWID | \
769 
770  tmpr1 |= (uint32_t)(Init->ColumnBitsNumber |\
771  Init->RowBitsNumber |\
772  Init->MemoryDataWidth |\
773  Init->InternalBankNumber |\
774  Init->CASLatency |\
775  Init->WriteProtection |\
776  Init->SDClockPeriod |\
777  Init->ReadBurst |\
778  Init->ReadPipeDelay
779  );
780  Device->SDCR[FMC_SDRAM_BANK1] = tmpr1;
781  }
782  else /* FMC_Bank2_SDRAM */
783  {
784  tmpr1 = Device->SDCR[FMC_SDRAM_BANK1];
785 
786  /* Clear SDCLK, RBURST, and RPIPE bits */
787  tmpr1 &= ((uint32_t)~(FMC_SDCR1_SDCLK | FMC_SDCR1_RBURST | FMC_SDCR1_RPIPE));
788 
789  tmpr1 |= (uint32_t)(Init->SDClockPeriod |\
790  Init->ReadBurst |\
791  Init->ReadPipeDelay);
792 
793  tmpr2 = Device->SDCR[FMC_SDRAM_BANK2];
794 
795  /* Clear NC, NR, MWID, NB, CAS, WP, SDCLK, RBURST, and RPIPE bits */
796  tmpr2 &= ((uint32_t)~(FMC_SDCR1_NC | FMC_SDCR1_NR | FMC_SDCR1_MWID | \
799 
800  tmpr2 |= (uint32_t)(Init->ColumnBitsNumber |\
801  Init->RowBitsNumber |\
802  Init->MemoryDataWidth |\
803  Init->InternalBankNumber |\
804  Init->CASLatency |\
805  Init->WriteProtection);
806 
807  Device->SDCR[FMC_SDRAM_BANK1] = tmpr1;
808  Device->SDCR[FMC_SDRAM_BANK2] = tmpr2;
809  }
810 
811  return HAL_OK;
812 }
813 
814 
824 {
825  uint32_t tmpr1 = 0;
826  uint32_t tmpr2 = 0;
827 
828  /* Check the parameters */
838 
839  /* Set SDRAM device timing parameters */
840  if (Bank != FMC_SDRAM_BANK2)
841  {
842  tmpr1 = Device->SDTR[FMC_SDRAM_BANK1];
843 
844  /* Clear TMRD, TXSR, TRAS, TRC, TWR, TRP and TRCD bits */
845  tmpr1 &= ((uint32_t)~(FMC_SDTR1_TMRD | FMC_SDTR1_TXSR | FMC_SDTR1_TRAS | \
847  FMC_SDTR1_TRCD));
848 
849  tmpr1 |= (uint32_t)(((Timing->LoadToActiveDelay)-1) |\
850  (((Timing->ExitSelfRefreshDelay)-1) << 4) |\
851  (((Timing->SelfRefreshTime)-1) << 8) |\
852  (((Timing->RowCycleDelay)-1) << 12) |\
853  (((Timing->WriteRecoveryTime)-1) <<16) |\
854  (((Timing->RPDelay)-1) << 20) |\
855  (((Timing->RCDDelay)-1) << 24));
856  Device->SDTR[FMC_SDRAM_BANK1] = tmpr1;
857  }
858  else /* FMC_Bank2_SDRAM */
859  {
860  tmpr1 = Device->SDTR[FMC_SDRAM_BANK1];
861 
862  /* Clear TRC and TRP bits */
863  tmpr1 &= ((uint32_t)~(FMC_SDTR1_TRC | FMC_SDTR1_TRP));
864 
865  tmpr1 |= (uint32_t)((((Timing->RowCycleDelay)-1) << 12) |\
866  (((Timing->RPDelay)-1) << 20));
867 
868  tmpr2 = Device->SDTR[FMC_SDRAM_BANK2];
869 
870  /* Clear TMRD, TXSR, TRAS, TRC, TWR, TRP and TRCD bits */
871  tmpr2 &= ((uint32_t)~(FMC_SDTR1_TMRD | FMC_SDTR1_TXSR | FMC_SDTR1_TRAS | \
873  FMC_SDTR1_TRCD));
874 
875  tmpr2 |= (uint32_t)(((Timing->LoadToActiveDelay)-1) |\
876  (((Timing->ExitSelfRefreshDelay)-1) << 4) |\
877  (((Timing->SelfRefreshTime)-1) << 8) |\
878  (((Timing->WriteRecoveryTime)-1) <<16) |\
879  (((Timing->RCDDelay)-1) << 24));
880 
881  Device->SDTR[FMC_SDRAM_BANK1] = tmpr1;
882  Device->SDTR[FMC_SDRAM_BANK2] = tmpr2;
883  }
884 
885  return HAL_OK;
886 }
887 
894 {
895  /* Check the parameters */
898 
899  /* De-initialize the SDRAM device */
900  Device->SDCR[Bank] = 0x000002D0;
901  Device->SDTR[Bank] = 0x0FFFFFFF;
902  Device->SDCMR = 0x00000000;
903  Device->SDRTR = 0x00000000;
904  Device->SDSR = 0x00000000;
905 
906  return HAL_OK;
907 }
908 
935 {
936  /* Check the parameters */
939 
940  /* Enable write protection */
941  Device->SDCR[Bank] |= FMC_SDRAM_WRITE_PROTECTION_ENABLE;
942 
943  return HAL_OK;
944 }
945 
952 {
953  /* Check the parameters */
956 
957  /* Disable write protection */
958  Device->SDCR[Bank] &= ~FMC_SDRAM_WRITE_PROTECTION_ENABLE;
959 
960  return HAL_OK;
961 }
962 
972 {
973  __IO uint32_t tmpr = 0;
974 
975  /* Check the parameters */
981 
982  /* Set command register */
983  tmpr = (uint32_t)((Command->CommandMode) |\
984  (Command->CommandTarget) |\
985  (((Command->AutoRefreshNumber)-1) << 5) |\
987  );
988 
989  Device->SDCMR = tmpr;
990 
991  return HAL_OK;
992 }
993 
1001 {
1002  /* Check the parameters */
1004  assert_param(IS_FMC_REFRESH_RATE(RefreshRate));
1005 
1006  /* Set the refresh rate in command register */
1007  Device->SDRTR |= (RefreshRate<<1);
1008 
1009  return HAL_OK;
1010 }
1011 
1018 HAL_StatusTypeDef FMC_SDRAM_SetAutoRefreshNumber(FMC_SDRAM_TypeDef *Device, uint32_t AutoRefreshNumber)
1019 {
1020  /* Check the parameters */
1022  assert_param(IS_FMC_AUTOREFRESH_NUMBER(AutoRefreshNumber));
1023 
1024  /* Set the Auto-refresh number in command register */
1025  Device->SDCMR |= (AutoRefreshNumber << 5);
1026 
1027  return HAL_OK;
1028 }
1029 
1039 uint32_t FMC_SDRAM_GetModeStatus(FMC_SDRAM_TypeDef *Device, uint32_t Bank)
1040 {
1041  uint32_t tmpreg = 0;
1042 
1043  /* Check the parameters */
1046 
1047  /* Get the corresponding bank mode */
1048  if(Bank == FMC_SDRAM_BANK1)
1049  {
1050  tmpreg = (uint32_t)(Device->SDSR & FMC_SDSR_MODES1);
1051  }
1052  else
1053  {
1054  tmpreg = ((uint32_t)(Device->SDSR & FMC_SDSR_MODES2) >> 2);
1055  }
1056 
1057  /* Return the mode status */
1058  return tmpreg;
1059 }
1060 
1072 #endif /* HAL_SRAM_MODULE_ENABLED || HAL_NOR_MODULE_ENABLED || HAL_NAND_MODULE_ENABLED || HAL_SDRAM_MODULE_ENABLED */
1073 
1082 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
FMC_SDRAM_InitTypeDef
FMC SDRAM Configuration Structure definition
Definition: stm32f7xx_ll_fmc.h:563
assert_param
#define assert_param(expr)
Include module's header file.
Definition: stm32f407/stm32f407g-disc1/Inc/stm32f4xx_hal_conf.h:353
FMC_SDRAM_TimingTypeDef
FMC SDRAM Timing parameters structure definition.
Definition: stm32f7xx_ll_fmc.h:601
FMC_BTR1_ADDHLD
#define FMC_BTR1_ADDHLD
Definition: stm32f469xx.h:10684
FMC_BTR1_DATLAT
#define FMC_BTR1_DATLAT
Definition: stm32f469xx.h:10720
__IO
#define __IO
Definition: imxrt1050/imxrt1050-evkb/CMSIS/core_cm7.h:237
Init
napi_value Init(napi_env env, napi_value exports)
Definition: porcupine/demo/c/pvrecorder/node/pv_recorder_napi.c:197
IS_FMC_MODE_REGISTER
#define IS_FMC_MODE_REGISTER(__CONTENT__)
Definition: stm32f7xx_ll_fmc.h:302
HAL_StatusTypeDef
HAL_StatusTypeDef
HAL Status structures definition
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:40
FMC_SDRAM_CommandTypeDef::CommandMode
uint32_t CommandMode
Definition: stm32f7xx_ll_fmc.h:637
IS_FMC_SDRAM_DEVICE
#define IS_FMC_SDRAM_DEVICE(__INSTANCE__)
Definition: stm32f7xx_ll_fmc.h:342
FMC_PMEM_MEMHOLD3
#define FMC_PMEM_MEMHOLD3
Definition: stm32f769xx.h:8685
Timing
static FMC_SDRAM_TimingTypeDef Timing
Definition: stm32f769i_discovery_sdram.c:124
IS_FMC_SDCLOCK_PERIOD
#define IS_FMC_SDCLOCK_PERIOD(__PERIOD__)
Definition: stm32f7xx_ll_fmc.h:88
FMC_BCR1_CBURSTRW
#define FMC_BCR1_CBURSTRW
Definition: stm32f469xx.h:10521
IS_FMC_WRITE_OPERATION
#define IS_FMC_WRITE_OPERATION(__OPERATION__)
Definition: stm32f7xx_ll_fmc.h:168
FMC_SDCR1_RPIPE
#define FMC_SDCR1_RPIPE
Definition: stm32f469xx.h:11296
IS_FMC_SDMEMORY_WIDTH
#define IS_FMC_SDMEMORY_WIDTH(WIDTH)
Definition: stm32f7xx_ll_fmc.h:81
FMC_SDCR1_WP
#define FMC_SDCR1_WP
Definition: stm32f469xx.h:11282
FMC_BTR1_ACCMOD
#define FMC_BTR1_ACCMOD
Definition: stm32f469xx.h:10728
IS_FMC_LOADTOACTIVE_DELAY
#define IS_FMC_LOADTOACTIVE_DELAY(__DELAY__)
Definition: stm32f7xx_ll_fmc.h:238
FMC_BWTR1_ACCMOD
#define FMC_BWTR1_ACCMOD
Definition: stm32f469xx.h:10948
FMC_BCR1_ASYNCWAIT
#define FMC_BCR1_ASYNCWAIT
Definition: stm32f469xx.h:10512
__FMC_NAND_DISABLE
#define __FMC_NAND_DISABLE(__INSTANCE__)
Disable the NAND device access.
Definition: stm32f7xx_ll_fmc.h:1107
IS_FMC_NORSRAM_DEVICE
#define IS_FMC_NORSRAM_DEVICE(__INSTANCE__)
Definition: stm32f7xx_ll_fmc.h:318
FMC_PCR_PTYP
#define FMC_PCR_PTYP
Definition: stm32f469xx.h:11090
FMC_PCR_PWID
#define FMC_PCR_PWID
Definition: stm32f469xx.h:11094
FMC_BWTR1_ADDHLD
#define FMC_BWTR1_ADDHLD
Definition: stm32f469xx.h:10920
FMC_SDRAM_TimingTypeDef::RPDelay
uint32_t RPDelay
Definition: stm32f7xx_ll_fmc.h:623
IS_FMC_COMMAND_MODE
#define IS_FMC_COMMAND_MODE(__COMMAND__)
Definition: stm32f7xx_ll_fmc.h:99
FMC_SDRAM_TimingTypeDef::ExitSelfRefreshDelay
uint32_t ExitSelfRefreshDelay
Definition: stm32f7xx_ll_fmc.h:607
IS_FMC_WAIT_POLARITY
#define IS_FMC_WAIT_POLARITY(__POLARITY__)
Definition: stm32f7xx_ll_fmc.h:162
FMC_PCR_ECCEN
#define FMC_PCR_ECCEN
Definition: stm32f469xx.h:11100
IS_FMC_COMMAND_TARGET
#define IS_FMC_COMMAND_TARGET(__TARGET__)
Definition: stm32f7xx_ll_fmc.h:107
FMC_SDTR1_TWR
#define FMC_SDTR1_TWR
Definition: stm32f469xx.h:11383
IS_FMC_WAIT_TIME
#define IS_FMC_WAIT_TIME(TIME)
Definition: stm32f7xx_ll_fmc.h:138
FMC_SDRAM_CommandTypeDef::AutoRefreshNumber
uint32_t AutoRefreshNumber
Definition: stm32f7xx_ll_fmc.h:643
FMC_SDRAM_WriteProtection_Disable
HAL_StatusTypeDef FMC_SDRAM_WriteProtection_Disable(FMC_SDRAM_TypeDef *Device, uint32_t Bank)
IS_FMC_ROWBITS_NUMBER
#define IS_FMC_ROWBITS_NUMBER(ROW)
Definition: stm32f7xx_ll_fmc.h:355
FMC_BCR1_BURSTEN
#define FMC_BCR1_BURSTEN
Definition: stm32f469xx.h:10494
FMC_SDRAM_SetAutoRefreshNumber
HAL_StatusTypeDef FMC_SDRAM_SetAutoRefreshNumber(FMC_SDRAM_TypeDef *Device, uint32_t AutoRefreshNumber)
IS_FMC_EXITSELFREFRESH_DELAY
#define IS_FMC_EXITSELFREFRESH_DELAY(__DELAY__)
Definition: stm32f7xx_ll_fmc.h:246
IS_FMC_ECCPAGE_SIZE
#define IS_FMC_ECCPAGE_SIZE(SIZE)
Definition: stm32f7xx_ll_fmc.h:74
IS_FMC_WAIT_SIGNAL_ACTIVE
#define IS_FMC_WAIT_SIGNAL_ACTIVE(__ACTIVE__)
Definition: stm32f7xx_ll_fmc.h:165
IS_FMC_WRITE_FIFO
#define IS_FMC_WRITE_FIFO(__FIFO__)
Definition: stm32f7xx_ll_fmc.h:373
FMC_BCR1_MBKEN
#define FMC_BCR1_MBKEN
Definition: stm32f469xx.h:10472
IS_FMC_DATASETUP_TIME
#define IS_FMC_DATASETUP_TIME(__TIME__)
Definition: stm32f7xx_ll_fmc.h:214
HAL_GetTick
uint32_t HAL_GetTick(void)
Provides a tick value in millisecond.
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c:323
IS_FMC_AUTOREFRESH_NUMBER
#define IS_FMC_AUTOREFRESH_NUMBER(__NUMBER__)
Definition: stm32f7xx_ll_fmc.h:294
FMC_SDTR1_TMRD
#define FMC_SDTR1_TMRD
Definition: stm32f469xx.h:11352
__FMC_NAND_GET_FLAG
#define __FMC_NAND_GET_FLAG(__INSTANCE__, __BANK__, __FLAG__)
Get flag status of the NAND device.
Definition: stm32f7xx_ll_fmc.h:1154
IS_FMC_INTERNALBANK_NUMBER
#define IS_FMC_INTERNALBANK_NUMBER(NUMBER)
Definition: stm32f7xx_ll_fmc.h:359
FMC_NORSRAM_TypeDef
#define FMC_NORSRAM_TypeDef
Definition: stm32f7xx_ll_fmc.h:383
FMC_EXTENDED_MODE_ENABLE
#define FMC_EXTENDED_MODE_ENABLE
Definition: stm32f7xx_ll_fmc.h:759
IS_FMC_ASYNWAIT
#define IS_FMC_ASYNWAIT(__STATE__)
Definition: stm32f7xx_ll_fmc.h:177
FMC_BTR1_BUSTURN
#define FMC_BTR1_BUSTURN
Definition: stm32f469xx.h:10704
FMC_PCR_TAR
#define FMC_PCR_TAR
Definition: stm32f469xx.h:11112
FMC_BCR1_EXTMOD
#define FMC_BCR1_EXTMOD
Definition: stm32f469xx.h:10509
FMC_SDTR1_TXSR
#define FMC_SDTR1_TXSR
Definition: stm32f469xx.h:11360
FMC_NAND_DeInit
HAL_StatusTypeDef FMC_NAND_DeInit(FMC_NAND_TypeDef *Device, uint32_t Bank)
FMC_SDRAM_TimingTypeDef::LoadToActiveDelay
uint32_t LoadToActiveDelay
Definition: stm32f7xx_ll_fmc.h:603
FMC_NORSRAM_BANK1
#define FMC_NORSRAM_BANK1
Definition: stm32f7xx_ll_fmc.h:664
HAL_OK
@ HAL_OK
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:42
FMC_BWTR1_BUSTURN
#define FMC_BWTR1_BUSTURN
Definition: stm32f469xx.h:10940
FMC_NORSRAM_TimingTypeDef
FMC NORSRAM Timing parameters structure definition
Definition: stm32f7xx_ll_fmc.h:460
IS_FMC_SETUP_TIME
#define IS_FMC_SETUP_TIME(TIME)
Definition: stm32f7xx_ll_fmc.h:130
FMC_PATT_ATTWAIT3
#define FMC_PATT_ATTWAIT3
Definition: stm32f769xx.h:8720
IS_FMC_SELFREFRESH_TIME
#define IS_FMC_SELFREFRESH_TIME(__TIME__)
Definition: stm32f7xx_ll_fmc.h:254
FMC_PMEM_MEMSET3
#define FMC_PMEM_MEMSET3
Definition: stm32f769xx.h:8663
IS_FMC_BURSTMODE
#define IS_FMC_BURSTMODE(__STATE__)
Definition: stm32f7xx_ll_fmc.h:159
FMC_SDSR_MODES2
#define FMC_SDSR_MODES2
Definition: stm32f469xx.h:11509
FMC_PCR_TCLR
#define FMC_PCR_TCLR
Definition: stm32f469xx.h:11104
FMC_BWTR1_DATAST
#define FMC_BWTR1_DATAST
Definition: stm32f469xx.h:10928
IS_FMC_WAIT_FEATURE
#define IS_FMC_WAIT_FEATURE(FEATURE)
Definition: stm32f7xx_ll_fmc.h:65
IS_FMC_MUX
#define IS_FMC_MUX(__MUX__)
Definition: stm32f7xx_ll_fmc.h:47
IS_FMC_CLK_DIV
#define IS_FMC_CLK_DIV(DIV)
Definition: stm32f7xx_ll_fmc.h:230
IS_FMC_READ_BURST
#define IS_FMC_READ_BURST(__RBURST__)
Definition: stm32f7xx_ll_fmc.h:92
IS_FMC_NORSRAM_EXTENDED_DEVICE
#define IS_FMC_NORSRAM_EXTENDED_DEVICE(__INSTANCE__)
Definition: stm32f7xx_ll_fmc.h:326
FMC_BTR1_ADDSET
#define FMC_BTR1_ADDSET
Definition: stm32f469xx.h:10676
IS_FMC_ADDRESS_HOLD_TIME
#define IS_FMC_ADDRESS_HOLD_TIME(__TIME__)
Definition: stm32f7xx_ll_fmc.h:206
FMC_PATT_ATTHIZ3
#define FMC_PATT_ATTHIZ3
Definition: stm32f769xx.h:8742
FMC_SDRAM_WRITE_PROTECTION_ENABLE
#define FMC_SDRAM_WRITE_PROTECTION_ENABLE
Definition: stm32f7xx_ll_fmc.h:956
FMC_PCR_ECCPS
#define FMC_PCR_ECCPS
Definition: stm32f469xx.h:11120
FMC_SDRAM_Timing_Init
HAL_StatusTypeDef FMC_SDRAM_Timing_Init(FMC_SDRAM_TypeDef *Device, FMC_SDRAM_TimingTypeDef *Timing, uint32_t Bank)
FMC_SDTR1_TRAS
#define FMC_SDTR1_TRAS
Definition: stm32f469xx.h:11368
IS_FMC_DATA_LATENCY
#define IS_FMC_DATA_LATENCY(__LATENCY__)
Definition: stm32f7xx_ll_fmc.h:183
FMC_BWTR1_ADDSET
#define FMC_BWTR1_ADDSET
Definition: stm32f469xx.h:10912
FMC_SDRAM_TimingTypeDef::RowCycleDelay
uint32_t RowCycleDelay
Definition: stm32f7xx_ll_fmc.h:615
FMC_MEMORY_TYPE_NOR
#define FMC_MEMORY_TYPE_NOR
Definition: stm32f7xx_ll_fmc.h:686
FMC_FLAG_FEMPT
#define FMC_FLAG_FEMPT
Definition: stm32f7xx_ll_fmc.h:1045
FMC_PCR_MEMORY_TYPE_NAND
#define FMC_PCR_MEMORY_TYPE_NAND
Definition: stm32f7xx_ll_fmc.h:850
FMC_SDRAM_GetModeStatus
uint32_t FMC_SDRAM_GetModeStatus(FMC_SDRAM_TypeDef *Device, uint32_t Bank)
FMC_SDSR_MODES1
#define FMC_SDSR_MODES1
Definition: stm32f469xx.h:11503
FMC_BCR1_MTYP
#define FMC_BCR1_MTYP
Definition: stm32f469xx.h:10479
IS_FMC_WRITE_PROTECTION
#define IS_FMC_WRITE_PROTECTION(__WRITE__)
Definition: stm32f7xx_ll_fmc.h:85
FMC_BTR1_CLKDIV
#define FMC_BTR1_CLKDIV
Definition: stm32f469xx.h:10712
FMC_PMEM_MEMWAIT3
#define FMC_PMEM_MEMWAIT3
Definition: stm32f769xx.h:8674
IS_FMC_READPIPE_DELAY
#define IS_FMC_READPIPE_DELAY(__DELAY__)
Definition: stm32f7xx_ll_fmc.h:95
FMC_NORSRAM_DeInit
HAL_StatusTypeDef FMC_NORSRAM_DeInit(FMC_NORSRAM_TypeDef *Device, FMC_NORSRAM_EXTENDED_TypeDef *ExDevice, uint32_t Bank)
FMC_BCR1_WAITCFG
#define FMC_BCR1_WAITCFG
Definition: stm32f469xx.h:10500
RESET
@ RESET
Definition: stm32f407/stm32f407g-disc1/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:187
FMC_SDRAM_TimingTypeDef::WriteRecoveryTime
uint32_t WriteRecoveryTime
Definition: stm32f7xx_ll_fmc.h:620
IS_FMC_NAND_MEMORY_WIDTH
#define IS_FMC_NAND_MEMORY_WIDTH(WIDTH)
Definition: stm32f7xx_ll_fmc.h:68
FMC_BCR1_FACCEN
#define FMC_BCR1_FACCEN
Definition: stm32f469xx.h:10491
IS_FMC_TAR_TIME
#define IS_FMC_TAR_TIME(TIME)
Definition: stm32f7xx_ll_fmc.h:122
FMC_BCR1_WAITEN
#define FMC_BCR1_WAITEN
Definition: stm32f469xx.h:10506
FMC_SDCR1_NR
#define FMC_SDCR1_NR
Definition: stm32f469xx.h:11260
IS_FMC_RCD_DELAY
#define IS_FMC_RCD_DELAY(__DELAY__)
Definition: stm32f7xx_ll_fmc.h:286
FMC_BCR1_WAITPOL
#define FMC_BCR1_WAITPOL
Definition: stm32f469xx.h:10497
FMC_NORSRAM_Extended_Timing_Init
HAL_StatusTypeDef FMC_NORSRAM_Extended_Timing_Init(FMC_NORSRAM_EXTENDED_TypeDef *Device, FMC_NORSRAM_TimingTypeDef *Timing, uint32_t Bank, uint32_t ExtendedMode)
FMC_NAND_AttributeSpace_Timing_Init
HAL_StatusTypeDef FMC_NAND_AttributeSpace_Timing_Init(FMC_NAND_TypeDef *Device, FMC_NAND_PCC_TimingTypeDef *Timing, uint32_t Bank)
FMC_BTR1_DATAST
#define FMC_BTR1_DATAST
Definition: stm32f469xx.h:10692
FMC_PATT_ATTHOLD3
#define FMC_PATT_ATTHOLD3
Definition: stm32f769xx.h:8731
FMC_SDRAM_TypeDef
#define FMC_SDRAM_TypeDef
Definition: stm32f7xx_ll_fmc.h:386
FMC_NAND_TypeDef
#define FMC_NAND_TypeDef
Definition: stm32f7xx_ll_fmc.h:385
IS_FMC_ECC_STATE
#define IS_FMC_ECC_STATE(STATE)
Definition: stm32f7xx_ll_fmc.h:71
FMC_SDCR1_RBURST
#define FMC_SDCR1_RBURST
Definition: stm32f469xx.h:11292
IS_FMC_TURNAROUND_TIME
#define IS_FMC_TURNAROUND_TIME(__TIME__)
Definition: stm32f7xx_ll_fmc.h:222
FMC_BCR1_CCLKEN
#define FMC_BCR1_CCLKEN
Definition: stm32f469xx.h:10524
HAL_MAX_DELAY
#define HAL_MAX_DELAY
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:61
FMC_NAND_PCC_TimingTypeDef
FMC NAND Timing parameters structure definition.
Definition: stm32f7xx_ll_fmc.h:532
FMC_NORSRAM_Init
HAL_StatusTypeDef FMC_NORSRAM_Init(FMC_NORSRAM_TypeDef *Device, FMC_NORSRAM_InitTypeDef *Init)
Command
static FMC_SDRAM_CommandTypeDef Command
Definition: stm32f769i_discovery_sdram.c:125
FMC_SDRAM_CommandTypeDef::CommandTarget
uint32_t CommandTarget
Definition: stm32f7xx_ll_fmc.h:640
FMC_BCR1_MWID
#define FMC_BCR1_MWID
Definition: stm32f469xx.h:10485
IS_FMC_CAS_LATENCY
#define IS_FMC_CAS_LATENCY(LATENCY)
Definition: stm32f7xx_ll_fmc.h:363
FMC_PATT_ATTSET3
#define FMC_PATT_ATTSET3
Definition: stm32f769xx.h:8709
FMC_PCR_PWAITEN
#define FMC_PCR_PWAITEN
Definition: stm32f469xx.h:11084
IS_FMC_HIZ_TIME
#define IS_FMC_HIZ_TIME(TIME)
Definition: stm32f7xx_ll_fmc.h:154
FMC_SDTR1_TRC
#define FMC_SDTR1_TRC
Definition: stm32f469xx.h:11376
FMC_SDCR1_NC
#define FMC_SDCR1_NC
Definition: stm32f469xx.h:11254
FMC_SDRAM_DeInit
HAL_StatusTypeDef FMC_SDRAM_DeInit(FMC_SDRAM_TypeDef *Device, uint32_t Bank)
IS_FMC_ADDRESS_SETUP_TIME
#define IS_FMC_ADDRESS_SETUP_TIME(__TIME__)
Definition: stm32f7xx_ll_fmc.h:198
IS_FMC_TCLR_TIME
#define IS_FMC_TCLR_TIME(__TIME__)
Definition: stm32f7xx_ll_fmc.h:114
FMC_PCR_PBKEN
#define FMC_PCR_PBKEN
Definition: stm32f469xx.h:11087
IS_FMC_ROWCYCLE_DELAY
#define IS_FMC_ROWCYCLE_DELAY(__DELAY__)
Definition: stm32f7xx_ll_fmc.h:262
FMC_NAND_ECC_Disable
HAL_StatusTypeDef FMC_NAND_ECC_Disable(FMC_NAND_TypeDef *Device, uint32_t Bank)
HAL_TIMEOUT
@ HAL_TIMEOUT
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:45
FMC_SDRAM_TimingTypeDef::SelfRefreshTime
uint32_t SelfRefreshTime
Definition: stm32f7xx_ll_fmc.h:611
FMC_SDRAM_BANK1
#define FMC_SDRAM_BANK1
Definition: stm32f7xx_ll_fmc.h:896
IS_FMC_WAITE_SIGNAL
#define IS_FMC_WAITE_SIGNAL(__SIGNAL__)
Definition: stm32f7xx_ll_fmc.h:171
IS_FMC_WRITE_RECOVERY_TIME
#define IS_FMC_WRITE_RECOVERY_TIME(__TIME__)
Definition: stm32f7xx_ll_fmc.h:270
FMC_SDRAM_Init
HAL_StatusTypeDef FMC_SDRAM_Init(FMC_SDRAM_TypeDef *Device, FMC_SDRAM_InitTypeDef *Init)
FMC_BCR1_WFDIS
#define FMC_BCR1_WFDIS
Definition: stm32f469xx.h:10527
FMC_NAND_GetECC
HAL_StatusTypeDef FMC_NAND_GetECC(FMC_NAND_TypeDef *Device, uint32_t *ECCval, uint32_t Bank, uint32_t Timeout)
FMC_NORSRAM_WriteOperation_Disable
HAL_StatusTypeDef FMC_NORSRAM_WriteOperation_Disable(FMC_NORSRAM_TypeDef *Device, uint32_t Bank)
FMC_SDRAM_ProgramRefreshRate
HAL_StatusTypeDef FMC_SDRAM_ProgramRefreshRate(FMC_SDRAM_TypeDef *Device, uint32_t RefreshRate)
FMC_NAND_Init
HAL_StatusTypeDef FMC_NAND_Init(FMC_NAND_TypeDef *Device, FMC_NAND_InitTypeDef *Init)
FMC_SDCR1_NB
#define FMC_SDCR1_NB
Definition: stm32f469xx.h:11272
IS_FMC_COLUMNBITS_NUMBER
#define IS_FMC_COLUMNBITS_NUMBER(COLUMN)
Definition: stm32f7xx_ll_fmc.h:350
FMC_SDRAM_BANK2
#define FMC_SDRAM_BANK2
Definition: stm32f7xx_ll_fmc.h:897
FMC_BCR1_WREN
#define FMC_BCR1_WREN
Definition: stm32f469xx.h:10503
IS_FMC_PAGESIZE
#define IS_FMC_PAGESIZE(__SIZE__)
Definition: stm32f7xx_ll_fmc.h:367
FMC_SDCR1_MWID
#define FMC_SDCR1_MWID
Definition: stm32f469xx.h:11266
FMC_NORSRAM_InitTypeDef
FMC NORSRAM Configuration Structure definition.
Definition: stm32f7xx_ll_fmc.h:396
FMC_NORSRAM_Timing_Init
HAL_StatusTypeDef FMC_NORSRAM_Timing_Init(FMC_NORSRAM_TypeDef *Device, FMC_NORSRAM_TimingTypeDef *Timing, uint32_t Bank)
FMC_SDTR1_TRCD
#define FMC_SDTR1_TRCD
Definition: stm32f469xx.h:11397
FMC_NORSRAM_EXTENDED_TypeDef
#define FMC_NORSRAM_EXTENDED_TypeDef
Definition: stm32f7xx_ll_fmc.h:384
FMC_SDRAM_CommandTypeDef
SDRAM command parameters structure definition.
Definition: stm32f7xx_ll_fmc.h:635
IS_FMC_NORSRAM_BANK
#define IS_FMC_NORSRAM_BANK(BANK)
Definition: stm32f7xx_ll_fmc.h:42
FMC_SDRAM_TimingTypeDef::RCDDelay
uint32_t RCDDelay
Definition: stm32f7xx_ll_fmc.h:627
IS_FMC_EXTENDED_MODE
#define IS_FMC_EXTENDED_MODE(__MODE__)
Definition: stm32f7xx_ll_fmc.h:174
HAL_IS_BIT_SET
#define HAL_IS_BIT_SET(REG, BIT)
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:63
FMC_NAND_ECC_Enable
HAL_StatusTypeDef FMC_NAND_ECC_Enable(FMC_NAND_TypeDef *Device, uint32_t Bank)
FMC_SDRAM_CommandTypeDef::ModeRegisterDefinition
uint32_t ModeRegisterDefinition
Definition: stm32f7xx_ll_fmc.h:646
FMC_SDCR1_SDCLK
#define FMC_SDCR1_SDCLK
Definition: stm32f469xx.h:11286
FMC_NAND_InitTypeDef
FMC NAND Configuration Structure definition
Definition: stm32f7xx_ll_fmc.h:503
FMC_BCR1_CPSIZE
#define FMC_BCR1_CPSIZE
Definition: stm32f469xx.h:10515
IS_FMC_MEMORY
#define IS_FMC_MEMORY(__MEMORY__)
Definition: stm32f7xx_ll_fmc.h:50
FMC_SDTR1_TRP
#define FMC_SDTR1_TRP
Definition: stm32f469xx.h:11390
FMC_CONTINUOUS_CLOCK_SYNC_ASYNC
#define FMC_CONTINUOUS_CLOCK_SYNC_ASYNC
Definition: stm32f7xx_ll_fmc.h:798
FMC_SDCR1_CAS
#define FMC_SDCR1_CAS
Definition: stm32f469xx.h:11276
IS_FMC_HOLD_TIME
#define IS_FMC_HOLD_TIME(TIME)
Definition: stm32f7xx_ll_fmc.h:146
FMC_NORSRAM_WriteOperation_Enable
HAL_StatusTypeDef FMC_NORSRAM_WriteOperation_Enable(FMC_NORSRAM_TypeDef *Device, uint32_t Bank)
FMC_PMEM_MEMHIZ3
#define FMC_PMEM_MEMHIZ3
Definition: stm32f769xx.h:8696
FMC_NAND_CommonSpace_Timing_Init
HAL_StatusTypeDef FMC_NAND_CommonSpace_Timing_Init(FMC_NAND_TypeDef *Device, FMC_NAND_PCC_TimingTypeDef *Timing, uint32_t Bank)
IS_FMC_NAND_BANK
#define IS_FMC_NAND_BANK(BANK)
Definition: stm32f7xx_ll_fmc.h:63
IS_FMC_REFRESH_RATE
#define IS_FMC_REFRESH_RATE(__RATE__)
Definition: stm32f7xx_ll_fmc.h:310
IS_FMC_NAND_DEVICE
#define IS_FMC_NAND_DEVICE(__INSTANCE__)
Definition: stm32f7xx_ll_fmc.h:334
IS_FMC_CONTINOUS_CLOCK
#define IS_FMC_CONTINOUS_CLOCK(CCLOCK)
Definition: stm32f7xx_ll_fmc.h:191
IS_FMC_SDRAM_BANK
#define IS_FMC_SDRAM_BANK(BANK)
Definition: stm32f7xx_ll_fmc.h:347
FMC_SDRAM_WriteProtection_Enable
HAL_StatusTypeDef FMC_SDRAM_WriteProtection_Enable(FMC_SDRAM_TypeDef *Device, uint32_t Bank)
FMC_SDRAM_SendCommand
HAL_StatusTypeDef FMC_SDRAM_SendCommand(FMC_SDRAM_TypeDef *Device, FMC_SDRAM_CommandTypeDef *Command, uint32_t Timeout)
IS_FMC_ACCESS_MODE
#define IS_FMC_ACCESS_MODE(__MODE__)
Definition: stm32f7xx_ll_fmc.h:58
IS_FMC_RP_DELAY
#define IS_FMC_RP_DELAY(__DELAY__)
Definition: stm32f7xx_ll_fmc.h:278
IS_FMC_WRITE_BURST
#define IS_FMC_WRITE_BURST(__BURST__)
Definition: stm32f7xx_ll_fmc.h:188
FMC_WRITE_OPERATION_ENABLE
#define FMC_WRITE_OPERATION_ENABLE
Definition: stm32f7xx_ll_fmc.h:741
IS_FMC_NORSRAM_MEMORY_WIDTH
#define IS_FMC_NORSRAM_MEMORY_WIDTH(__WIDTH__)
Definition: stm32f7xx_ll_fmc.h:54
stm32f7xx_hal.h
This file contains all the functions prototypes for the HAL module driver.
__FMC_NORSRAM_DISABLE
#define __FMC_NORSRAM_DISABLE(__INSTANCE__, __BANK__)
Disable the NORSRAM device access.
Definition: stm32f7xx_ll_fmc.h:1084
FMC_NORSRAM_FLASH_ACCESS_ENABLE
#define FMC_NORSRAM_FLASH_ACCESS_ENABLE
Definition: stm32f7xx_ll_fmc.h:704
FMC_BCR1_MUXEN
#define FMC_BCR1_MUXEN
Definition: stm32f469xx.h:10475


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:14:53