Searched refs:IOM_cfg (Results 1 – 6 of 6) sorted by relevance
| /hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/ |
| D | stm32h7xx_hal_ospi.c | 2491 OSPIM_CfgTypeDef IOM_cfg[OSPI_NB_INSTANCE]; in HAL_OSPIM_Config() local 2518 if (OSPIM_GetConfig(index + 1U, &(IOM_cfg[index])) != HAL_OK) in HAL_OSPIM_Config() 2540 CLEAR_BIT(OCTOSPIM->PCR[(IOM_cfg[instance].NCSPort - 1U)], OCTOSPIM_PCR_NCSEN); in HAL_OSPIM_Config() 2548 SET_BIT(OCTOSPIM->PCR[(IOM_cfg[other_instance].ClkPort - 1U)], OCTOSPIM_PCR_CLKSRC); in HAL_OSPIM_Config() 2549 if (IOM_cfg[other_instance].DQSPort != 0U) in HAL_OSPIM_Config() 2551 SET_BIT(OCTOSPIM->PCR[(IOM_cfg[other_instance].DQSPort - 1U)], OCTOSPIM_PCR_DQSSRC); in HAL_OSPIM_Config() 2553 if (IOM_cfg[other_instance].IOLowPort != HAL_OSPIM_IOPORT_NONE) in HAL_OSPIM_Config() 2555 SET_BIT(OCTOSPIM->PCR[((IOM_cfg[other_instance].IOLowPort - 1U)& OSPI_IOM_PORT_MASK)], \ in HAL_OSPIM_Config() 2558 if (IOM_cfg[other_instance].IOHighPort != HAL_OSPIM_IOPORT_NONE) in HAL_OSPIM_Config() 2560 SET_BIT(OCTOSPIM->PCR[((IOM_cfg[other_instance].IOHighPort - 1U)& OSPI_IOM_PORT_MASK)], \ in HAL_OSPIM_Config() [all …]
|
| /hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/ |
| D | stm32l4xx_hal_ospi.c | 2500 OSPIM_CfgTypeDef IOM_cfg[OSPI_NB_INSTANCE]; in HAL_OSPIM_Config() local 2529 if (OSPIM_GetConfig(index + 1U, &(IOM_cfg[index])) != HAL_OK) in HAL_OSPIM_Config() 2551 CLEAR_BIT(OCTOSPIM->PCR[(IOM_cfg[instance].NCSPort - 1U)], OCTOSPIM_PCR_NCSEN); in HAL_OSPIM_Config() 2560 SET_BIT(OCTOSPIM->PCR[(IOM_cfg[other_instance].ClkPort - 1U)], OCTOSPIM_PCR_CLKSRC); in HAL_OSPIM_Config() 2561 if (IOM_cfg[other_instance].DQSPort != 0U) in HAL_OSPIM_Config() 2563 SET_BIT(OCTOSPIM->PCR[(IOM_cfg[other_instance].DQSPort - 1U)], OCTOSPIM_PCR_DQSSRC); in HAL_OSPIM_Config() 2565 if (IOM_cfg[other_instance].IOLowPort != HAL_OSPIM_IOPORT_NONE) in HAL_OSPIM_Config() 2567 SET_BIT(OCTOSPIM->PCR[((IOM_cfg[other_instance].IOLowPort - 1U)& OSPI_IOM_PORT_MASK)], \ in HAL_OSPIM_Config() 2570 if (IOM_cfg[other_instance].IOHighPort != HAL_OSPIM_IOPORT_NONE) in HAL_OSPIM_Config() 2572 SET_BIT(OCTOSPIM->PCR[((IOM_cfg[other_instance].IOHighPort - 1U)& OSPI_IOM_PORT_MASK)], \ in HAL_OSPIM_Config() [all …]
|
| /hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/ |
| D | stm32u5xx_hal_ospi.c | 2619 OSPIM_CfgTypeDef IOM_cfg[OSPI_NB_INSTANCE]; in HAL_OSPIM_Config() local 2645 if (OSPIM_GetConfig(index + 1U, &(IOM_cfg[index])) != HAL_OK) in HAL_OSPIM_Config() 2667 CLEAR_BIT(OCTOSPIM->PCR[(IOM_cfg[instance].NCSPort - 1U)], OCTOSPIM_PCR_NCSEN); in HAL_OSPIM_Config() 2675 SET_BIT(OCTOSPIM->PCR[(IOM_cfg[other_instance].ClkPort - 1U)], OCTOSPIM_PCR_CLKSRC); in HAL_OSPIM_Config() 2676 if (IOM_cfg[other_instance].DQSPort != 0U) in HAL_OSPIM_Config() 2678 SET_BIT(OCTOSPIM->PCR[(IOM_cfg[other_instance].DQSPort - 1U)], OCTOSPIM_PCR_DQSSRC); in HAL_OSPIM_Config() 2680 if (IOM_cfg[other_instance].IOLowPort != HAL_OSPIM_IOPORT_NONE) in HAL_OSPIM_Config() 2682 SET_BIT(OCTOSPIM->PCR[((IOM_cfg[other_instance].IOLowPort - 1U)& OSPI_IOM_PORT_MASK)], \ in HAL_OSPIM_Config() 2685 if (IOM_cfg[other_instance].IOHighPort != HAL_OSPIM_IOPORT_NONE) in HAL_OSPIM_Config() 2687 SET_BIT(OCTOSPIM->PCR[((IOM_cfg[other_instance].IOHighPort - 1U)& OSPI_IOM_PORT_MASK)], \ in HAL_OSPIM_Config() [all …]
|
| D | stm32u5xx_hal_xspi.c | 2912 XSPIM_CfgTypeDef IOM_cfg[OSPI_NB_INSTANCE]; in HAL_XSPIM_Config() local 2944 XSPIM_GetConfig(index + 1U, &(IOM_cfg[index])); in HAL_XSPIM_Config() 2960 CLEAR_BIT(OCTOSPIM->PCR[(IOM_cfg[instance].NCSPort - 1U)], OCTOSPIM_PCR_NCSEN); in HAL_XSPIM_Config() 2968 SET_BIT(OCTOSPIM->PCR[(IOM_cfg[other_instance].ClkPort - 1U)], OCTOSPIM_PCR_CLKSRC); in HAL_XSPIM_Config() 2969 if (IOM_cfg[other_instance].DQSPort != 0U) in HAL_XSPIM_Config() 2971 SET_BIT(OCTOSPIM->PCR[(IOM_cfg[other_instance].DQSPort - 1U)], OCTOSPIM_PCR_DQSSRC); in HAL_XSPIM_Config() 2973 if (IOM_cfg[other_instance].IOLowPort != HAL_XSPIM_IOPORT_NONE) in HAL_XSPIM_Config() 2975 SET_BIT(OCTOSPIM->PCR[((IOM_cfg[other_instance].IOLowPort - 1U)& OSPI_IOM_PORT_MASK)], in HAL_XSPIM_Config() 2978 if (IOM_cfg[other_instance].IOHighPort != HAL_XSPIM_IOPORT_NONE) in HAL_XSPIM_Config() 2980 SET_BIT(OCTOSPIM->PCR[((IOM_cfg[other_instance].IOHighPort - 1U)& OSPI_IOM_PORT_MASK)], in HAL_XSPIM_Config() [all …]
|
| /hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/ |
| D | stm32n6xx_hal_xspi.c | 2791 XSPIM_CfgTypeDef IOM_cfg[XSPI_NB_INSTANCE] = {0}; in HAL_XSPIM_Config() local 2804 XSPIM_GetConfig(index + 1U, &(IOM_cfg[index])); in HAL_XSPIM_Config() 2841 IOM_cfg[0].IOPort = pCfg->IOPort ; in HAL_XSPIM_Config() 2853 IOM_cfg[1].IOPort = pCfg->IOPort ; in HAL_XSPIM_Config() 2867 IOM_cfg[0].IOPort = HAL_XSPIM_IOPORT_2 ; in HAL_XSPIM_Config() 2868 IOM_cfg[1].IOPort = HAL_XSPIM_IOPORT_2 ; in HAL_XSPIM_Config() 2872 IOM_cfg[0].IOPort = HAL_XSPIM_IOPORT_1 ; in HAL_XSPIM_Config() 2873 IOM_cfg[1].IOPort = HAL_XSPIM_IOPORT_1 ; in HAL_XSPIM_Config() 2888 if (IOM_cfg[index].IOPort == IOM_cfg[index + 1U].IOPort) in HAL_XSPIM_Config() 2897 if (IOM_cfg[0].IOPort == HAL_XSPIM_IOPORT_2) in HAL_XSPIM_Config()
|
| /hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/ |
| D | stm32h7rsxx_hal_xspi.c | 2769 XSPIM_CfgTypeDef IOM_cfg[XSPI_NB_INSTANCE] = {0}; in HAL_XSPIM_Config() local 2782 XSPIM_GetConfig(index + 1U, &(IOM_cfg[index])); in HAL_XSPIM_Config() 2805 IOM_cfg[0].IOPort = pCfg->IOPort ; in HAL_XSPIM_Config() 2817 IOM_cfg[1].IOPort = pCfg->IOPort ; in HAL_XSPIM_Config() 2835 if ((IOM_cfg[index].IOPort == IOM_cfg[index + 1U].IOPort)) in HAL_XSPIM_Config() 2844 if (IOM_cfg[0].IOPort == HAL_XSPIM_IOPORT_2) in HAL_XSPIM_Config()
|