Home
last modified time | relevance | path

Searched refs:other_instance (Results 1 – 4 of 4) sorted by relevance

/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_ospi.c2490 uint8_t other_instance; in HAL_OSPIM_Config() local
2507 other_instance = 1U; in HAL_OSPIM_Config()
2512 other_instance = 0U; in HAL_OSPIM_Config()
2546 if (other_instance == 1U) 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()
[all …]
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_ospi.c2499 uint8_t other_instance; in HAL_OSPIM_Config() local
2518 other_instance = 1U; in HAL_OSPIM_Config()
2523 other_instance = 0U; in HAL_OSPIM_Config()
2558 if (other_instance == 1U) 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()
[all …]
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_ospi.c2618 uint8_t other_instance; in HAL_OSPIM_Config() local
2634 other_instance = 1U; in HAL_OSPIM_Config()
2639 other_instance = 0U; in HAL_OSPIM_Config()
2673 if (other_instance == 1U) 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()
[all …]
Dstm32u5xx_hal_xspi.c2911 uint8_t other_instance; in HAL_XSPIM_Config() local
2928 other_instance = 1U; in HAL_XSPIM_Config()
2933 other_instance = 0U; in HAL_XSPIM_Config()
2966 if (other_instance == 1U) 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()
[all …]