Lines Matching refs:pCfg
1021 …_StatusTypeDef HAL_XSPI_HyperbusCfg(XSPI_HandleTypeDef *hxspi, XSPI_HyperbusCfgTypeDef *const pCfg, in HAL_XSPI_HyperbusCfg() argument
1029 assert_param(IS_XSPI_RW_RECOVERY_TIME_CYCLE(pCfg->RWRecoveryTimeCycle)); in HAL_XSPI_HyperbusCfg()
1030 assert_param(IS_XSPI_ACCESS_TIME_CYCLE(pCfg->AccessTimeCycle)); in HAL_XSPI_HyperbusCfg()
1031 assert_param(IS_XSPI_WRITE_ZERO_LATENCY(pCfg->WriteZeroLatency)); in HAL_XSPI_HyperbusCfg()
1032 assert_param(IS_XSPI_LATENCY_MODE(pCfg->LatencyMode)); in HAL_XSPI_HyperbusCfg()
1044 WRITE_REG(hxspi->Instance->HLCR, ((pCfg->RWRecoveryTimeCycle << XSPI_HLCR_TRWR_Pos) | in HAL_XSPI_HyperbusCfg()
1045 (pCfg->AccessTimeCycle << XSPI_HLCR_TACC_Pos) | in HAL_XSPI_HyperbusCfg()
1046 pCfg->WriteZeroLatency | pCfg->LatencyMode)); in HAL_XSPI_HyperbusCfg()
1804 …_StatusTypeDef HAL_XSPI_AutoPolling(XSPI_HandleTypeDef *hxspi, XSPI_AutoPollingTypeDef *const pCfg, in HAL_XSPI_AutoPolling() argument
1816 assert_param(IS_XSPI_MATCH_MODE(pCfg->MatchMode)); in HAL_XSPI_AutoPolling()
1817 assert_param(IS_XSPI_AUTOMATIC_STOP(pCfg->AutomaticStop)); in HAL_XSPI_AutoPolling()
1818 assert_param(IS_XSPI_INTERVAL(pCfg->IntervalTime)); in HAL_XSPI_AutoPolling()
1822 …if ((hxspi->State == HAL_XSPI_STATE_CMD_CFG) && (pCfg->AutomaticStop == HAL_XSPI_AUTOMATIC_STOP_EN… in HAL_XSPI_AutoPolling()
1830 WRITE_REG(hxspi->Instance->PSMAR, pCfg->MatchValue); in HAL_XSPI_AutoPolling()
1831 WRITE_REG(hxspi->Instance->PSMKR, pCfg->MatchMask); in HAL_XSPI_AutoPolling()
1832 WRITE_REG(hxspi->Instance->PIR, pCfg->IntervalTime); in HAL_XSPI_AutoPolling()
1834 (pCfg->MatchMode | pCfg->AutomaticStop | XSPI_FUNCTIONAL_MODE_AUTO_POLLING)); in HAL_XSPI_AutoPolling()
1885 …atusTypeDef HAL_XSPI_AutoPolling_IT(XSPI_HandleTypeDef *hxspi, XSPI_AutoPollingTypeDef *const pCfg) in HAL_XSPI_AutoPolling_IT() argument
1896 assert_param(IS_XSPI_MATCH_MODE(pCfg->MatchMode)); in HAL_XSPI_AutoPolling_IT()
1897 assert_param(IS_XSPI_AUTOMATIC_STOP(pCfg->AutomaticStop)); in HAL_XSPI_AutoPolling_IT()
1898 assert_param(IS_XSPI_INTERVAL(pCfg->IntervalTime)); in HAL_XSPI_AutoPolling_IT()
1910 WRITE_REG(hxspi->Instance->PSMAR, pCfg->MatchValue); in HAL_XSPI_AutoPolling_IT()
1911 WRITE_REG(hxspi->Instance->PSMKR, pCfg->MatchMask); in HAL_XSPI_AutoPolling_IT()
1912 WRITE_REG(hxspi->Instance->PIR, pCfg->IntervalTime); in HAL_XSPI_AutoPolling_IT()
1914 (pCfg->MatchMode | pCfg->AutomaticStop | XSPI_FUNCTIONAL_MODE_AUTO_POLLING)); in HAL_XSPI_AutoPolling_IT()
1958 …tatusTypeDef HAL_XSPI_MemoryMapped(XSPI_HandleTypeDef *hxspi, XSPI_MemoryMappedTypeDef *const pCfg) in HAL_XSPI_MemoryMapped() argument
1964 assert_param(IS_XSPI_TIMEOUT_ACTIVATION(pCfg->TimeOutActivation)); in HAL_XSPI_MemoryMapped()
1976 if (pCfg->TimeOutActivation == HAL_XSPI_TIMEOUT_COUNTER_ENABLE) in HAL_XSPI_MemoryMapped()
1978 assert_param(IS_XSPI_TIMEOUT_PERIOD(pCfg->TimeoutPeriodClock)); in HAL_XSPI_MemoryMapped()
1981 WRITE_REG(hxspi->Instance->LPTR, pCfg->TimeoutPeriodClock); in HAL_XSPI_MemoryMapped()
1992 (pCfg->TimeOutActivation | XSPI_FUNCTIONAL_MODE_MEMORY_MAPPED)); in HAL_XSPI_MemoryMapped()