Home
last modified time | relevance | path

Searched refs:Mode (Results 1 – 25 of 45) sorted by relevance

12

/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/hal/Components/mx25lm51245g/
Dmx25lm51245g.c86 int32_t MX25LM51245G_AutoPollingMemReady(OSPI_HandleTypeDef *Ctx, MX25LM51245G_Interface_t Mode, MX… in MX25LM51245G_AutoPollingMemReady() argument
92 if ((Mode == MX25LM51245G_SPI_MODE) && (Rate == MX25LM51245G_DTR_TRANSFER)) in MX25LM51245G_AutoPollingMemReady()
104 …s_command.InstructionMode = (Mode == MX25LM51245G_SPI_MODE) ? HAL_OSPI_INSTRUCTION_1_LINE : HAL… in MX25LM51245G_AutoPollingMemReady()
106 …s_command.InstructionSize = (Mode == MX25LM51245G_SPI_MODE) ? HAL_OSPI_INSTRUCTION_8_BITS : HAL… in MX25LM51245G_AutoPollingMemReady()
107 …s_command.Instruction = (Mode == MX25LM51245G_SPI_MODE) ? MX25LM51245G_READ_STATUS_REG_CMD … in MX25LM51245G_AutoPollingMemReady()
108 …s_command.AddressMode = (Mode == MX25LM51245G_SPI_MODE) ? HAL_OSPI_ADDRESS_NONE : HAL_OSPI_… in MX25LM51245G_AutoPollingMemReady()
113 …s_command.DataMode = (Mode == MX25LM51245G_SPI_MODE) ? HAL_OSPI_DATA_1_LINE : HAL_OSPI_D… in MX25LM51245G_AutoPollingMemReady()
115 …s_command.DummyCycles = (Mode == MX25LM51245G_SPI_MODE) ? 0U : ((Rate == MX25LM51245G_DTR_T… in MX25LM51245G_AutoPollingMemReady()
151 int32_t MX25LM51245G_ReadSTR(OSPI_HandleTypeDef *Ctx, MX25LM51245G_Interface_t Mode, MX25LM51245G_A… in MX25LM51245G_ReadSTR() argument
156 if ((Mode == MX25LM51245G_OPI_MODE) && (AddressSize == MX25LM51245G_3BYTES_SIZE)) in MX25LM51245G_ReadSTR()
[all …]
Dmx25lm51245g.h302 int32_t MX25LM51245G_AutoPollingMemReady(OSPI_HandleTypeDef *Ctx, MX25LM51245G_Interface_t Mode, MX…
305 int32_t MX25LM51245G_ReadSTR(OSPI_HandleTypeDef *Ctx, MX25LM51245G_Interface_t Mode, MX25LM51245G_A…
307 int32_t MX25LM51245G_PageProgram(OSPI_HandleTypeDef *Ctx, MX25LM51245G_Interface_t Mode, MX25LM5124…
309 int32_t MX25LM51245G_BlockErase(OSPI_HandleTypeDef *Ctx, MX25LM51245G_Interface_t Mode, MX25LM51245…
310 int32_t MX25LM51245G_ChipErase(OSPI_HandleTypeDef *Ctx, MX25LM51245G_Interface_t Mode, MX25LM51245G…
311 …ableMemoryMappedModeSTR(OSPI_HandleTypeDef *Ctx, MX25LM51245G_Interface_t Mode, MX25LM51245G_Addre…
312 …2_t MX25LM51245G_EnableMemoryMappedModeDTR(OSPI_HandleTypeDef *Ctx, MX25LM51245G_Interface_t Mode);
313 int32_t MX25LM51245G_Suspend(OSPI_HandleTypeDef *Ctx, MX25LM51245G_Interface_t Mode, MX25LM51245G_T…
314 int32_t MX25LM51245G_Resume(OSPI_HandleTypeDef *Ctx, MX25LM51245G_Interface_t Mode, MX25LM51245G_Tr…
317 int32_t MX25LM51245G_WriteEnable(OSPI_HandleTypeDef *Ctx, MX25LM51245G_Interface_t Mode, MX25LM5124…
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32l5xx/hal/Src/
Dstm32l5xx_hal_gpio.c176 assert_param(IS_GPIO_MODE(GPIO_Init->Mode)); in HAL_GPIO_Init()
189 if((GPIO_Init->Mode == GPIO_MODE_OUTPUT_PP) || (GPIO_Init->Mode == GPIO_MODE_AF_PP) || in HAL_GPIO_Init()
190 (GPIO_Init->Mode == GPIO_MODE_OUTPUT_OD) || (GPIO_Init->Mode == GPIO_MODE_AF_OD)) in HAL_GPIO_Init()
203 temp |= (((GPIO_Init->Mode & GPIO_OUTPUT_TYPE) >> 4) << position); in HAL_GPIO_Init()
214 if((GPIO_Init->Mode == GPIO_MODE_AF_PP) || (GPIO_Init->Mode == GPIO_MODE_AF_OD)) in HAL_GPIO_Init()
230 temp |= ((GPIO_Init->Mode & GPIO_MODE) << (position * 2U)); in HAL_GPIO_Init()
235 if((GPIO_Init->Mode & EXTI_MODE) == EXTI_MODE) in HAL_GPIO_Init()
245 if((GPIO_Init->Mode & GPIO_MODE_IT) == GPIO_MODE_IT) in HAL_GPIO_Init()
253 if((GPIO_Init->Mode & GPIO_MODE_EVT) == GPIO_MODE_EVT) in HAL_GPIO_Init()
262 if((GPIO_Init->Mode & RISING_EDGE) == RISING_EDGE) in HAL_GPIO_Init()
[all …]
Dstm32l5xx_hal_pwr_ex.c675 assert_param(IS_PWR_PVM_MODE(sConfigPVM->Mode)); in HAL_PWREx_ConfigPVM()
691 if ((sConfigPVM->Mode & PVM_MODE_IT) == PVM_MODE_IT) in HAL_PWREx_ConfigPVM()
697 if ((sConfigPVM->Mode & PVM_MODE_EVT) == PVM_MODE_EVT) in HAL_PWREx_ConfigPVM()
703 if ((sConfigPVM->Mode & PVM_RISING_EDGE) == PVM_RISING_EDGE) in HAL_PWREx_ConfigPVM()
708 if ((sConfigPVM->Mode & PVM_FALLING_EDGE) == PVM_FALLING_EDGE) in HAL_PWREx_ConfigPVM()
722 if ((sConfigPVM->Mode & PVM_MODE_IT) == PVM_MODE_IT) in HAL_PWREx_ConfigPVM()
728 if ((sConfigPVM->Mode & PVM_MODE_EVT) == PVM_MODE_EVT) in HAL_PWREx_ConfigPVM()
734 if ((sConfigPVM->Mode & PVM_RISING_EDGE) == PVM_RISING_EDGE) in HAL_PWREx_ConfigPVM()
739 if ((sConfigPVM->Mode & PVM_FALLING_EDGE) == PVM_FALLING_EDGE) in HAL_PWREx_ConfigPVM()
753 if ((sConfigPVM->Mode & PVM_MODE_IT) == PVM_MODE_IT) in HAL_PWREx_ConfigPVM()
[all …]
Dstm32l5xx_hal_pwr.c316 assert_param(IS_PWR_PVD_MODE(sConfigPVD->Mode)); in HAL_PWR_ConfigPVD()
328 if ((sConfigPVD->Mode & PVD_MODE_IT) == PVD_MODE_IT) in HAL_PWR_ConfigPVD()
334 if ((sConfigPVD->Mode & PVD_MODE_EVT) == PVD_MODE_EVT) in HAL_PWR_ConfigPVD()
340 if ((sConfigPVD->Mode & PVD_RISING_EDGE) == PVD_RISING_EDGE) in HAL_PWR_ConfigPVD()
345 if ((sConfigPVD->Mode & PVD_FALLING_EDGE) == PVD_FALLING_EDGE) in HAL_PWR_ConfigPVD()
Dstm32l5xx_hal_exti.c156 assert_param(IS_EXTI_MODE(pExtiConfig->Mode)); in HAL_EXTI_SetConfigLine()
223 if((pExtiConfig->Mode & EXTI_MODE_INTERRUPT) != 0U) in HAL_EXTI_SetConfigLine()
240 if((pExtiConfig->Mode & EXTI_MODE_EVENT) != 0U) in HAL_EXTI_SetConfigLine()
294 pExtiConfig->Mode = EXTI_MODE_INTERRUPT; in HAL_EXTI_GetConfigLine()
298 pExtiConfig->Mode = EXTI_MODE_NONE; in HAL_EXTI_GetConfigLine()
308 pExtiConfig->Mode |= EXTI_MODE_EVENT; in HAL_EXTI_GetConfigLine()
Dstm32l5xx_hal.c613 void HAL_SYSCFG_VREFBUF_HighImpedanceConfig(uint32_t Mode) in HAL_SYSCFG_VREFBUF_HighImpedanceConfig() argument
616 assert_param(IS_SYSCFG_VREFBUF_HIGH_IMPEDANCE(Mode)); in HAL_SYSCFG_VREFBUF_HighImpedanceConfig()
618 MODIFY_REG(VREFBUF->CSR, VREFBUF_CSR_HIZ, Mode); in HAL_SYSCFG_VREFBUF_HighImpedanceConfig()
Dstm32l5xx_hal_dma.c167 assert_param(IS_DMA_MODE(hdma->Init.Mode)); in HAL_DMA_Init()
202 hdma->Init.Mode | hdma->Init.Priority; in HAL_DMA_Init()
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32u5xx/hal/Src/
Dstm32u5xx_hal_gpio.c209 assert_param(IS_GPIO_MODE(pGPIO_Init->Mode)); in HAL_GPIO_Init()
232 tmp |= ((pGPIO_Init->Mode & GPIO_MODE_OUTPUT_PP) << position); in HAL_GPIO_Init()
251 else if ((pGPIO_Init->Mode == GPIO_MODE_AF_PP) || (pGPIO_Init->Mode == GPIO_MODE_AF_OD)) in HAL_GPIO_Init()
267 tmp |= ((pGPIO_Init->Mode & GPIO_MODE) << (pin_position * 2U)); in HAL_GPIO_Init()
278 tmp |= ((pGPIO_Init->Mode & GPIO_MODE) << (pin_position * 2U)); in HAL_GPIO_Init()
283 if ((pGPIO_Init->Mode == GPIO_MODE_OUTPUT_PP) || (pGPIO_Init->Mode == GPIO_MODE_AF_PP) || in HAL_GPIO_Init()
284 (pGPIO_Init->Mode == GPIO_MODE_OUTPUT_OD) || (pGPIO_Init->Mode == GPIO_MODE_AF_OD)) in HAL_GPIO_Init()
298 tmp |= (((pGPIO_Init->Mode & GPIO_OUTPUT_TYPE) >> 4U) << pin_position); in HAL_GPIO_Init()
302 if (pGPIO_Init->Mode != GPIO_MODE_ANALOG) in HAL_GPIO_Init()
316 if ((pGPIO_Init->Mode & EXTI_MODE) == EXTI_MODE) in HAL_GPIO_Init()
[all …]
Dstm32u5xx_hal_pwr_ex.c1035 assert_param(IS_PWR_PVM_MODE(pConfigPVM->Mode)); in HAL_PWREx_ConfigPVM()
1049 if ((pConfigPVM->Mode & PVM_MODE_IT) == PVM_MODE_IT) in HAL_PWREx_ConfigPVM()
1055 if ((pConfigPVM->Mode & PVM_MODE_EVT) == PVM_MODE_EVT) in HAL_PWREx_ConfigPVM()
1061 if ((pConfigPVM->Mode & PVM_RISING_EDGE) == PVM_RISING_EDGE) in HAL_PWREx_ConfigPVM()
1067 if ((pConfigPVM->Mode & PVM_FALLING_EDGE) == PVM_FALLING_EDGE) in HAL_PWREx_ConfigPVM()
1083 if ((pConfigPVM->Mode & PVM_MODE_IT) == PVM_MODE_IT) in HAL_PWREx_ConfigPVM()
1089 if ((pConfigPVM->Mode & PVM_MODE_EVT) == PVM_MODE_EVT) in HAL_PWREx_ConfigPVM()
1095 if ((pConfigPVM->Mode & PVM_RISING_EDGE) == PVM_RISING_EDGE) in HAL_PWREx_ConfigPVM()
1101 if ((pConfigPVM->Mode & PVM_FALLING_EDGE) == PVM_FALLING_EDGE) in HAL_PWREx_ConfigPVM()
1117 if ((pConfigPVM->Mode & PVM_MODE_IT) == PVM_MODE_IT) in HAL_PWREx_ConfigPVM()
[all …]
Dstm32u5xx_hal_pwr.c398 assert_param(IS_PWR_PVD_MODE(pConfigPVD->Mode)); in HAL_PWR_ConfigPVD()
410 if ((pConfigPVD->Mode & PVD_MODE_IT) == PVD_MODE_IT) in HAL_PWR_ConfigPVD()
416 if ((pConfigPVD->Mode & PVD_MODE_EVT) == PVD_MODE_EVT) in HAL_PWR_ConfigPVD()
422 if ((pConfigPVD->Mode & PVD_RISING_EDGE) == PVD_RISING_EDGE) in HAL_PWR_ConfigPVD()
428 if ((pConfigPVD->Mode & PVD_FALLING_EDGE) == PVD_FALLING_EDGE) in HAL_PWR_ConfigPVD()
Dstm32u5xx_hal_dma.c264 assert_param(IS_DMA_MODE(hdma->Init.Mode)); in HAL_DMA_Init()
302 hdma->Mode = hdma->Init.Mode; in HAL_DMA_Init()
401 hdma->Mode = DMA_NORMAL; in HAL_DMA_DeInit()
627 if ((hdma->Mode & DMA_LINKEDLIST) == DMA_LINKEDLIST) in HAL_DMA_Abort()
654 if ((hdma->Mode & DMA_LINKEDLIST) == DMA_LINKEDLIST) in HAL_DMA_Abort()
743 if ((hdma->Mode & DMA_LINKEDLIST_CIRCULAR) == DMA_LINKEDLIST_CIRCULAR) in HAL_DMA_PollForTransfer()
834 if ((hdma->Mode & DMA_LINKEDLIST) == DMA_LINKEDLIST) in HAL_DMA_PollForTransfer()
861 if ((hdma->Mode & DMA_LINKEDLIST) == DMA_LINKEDLIST) in HAL_DMA_PollForTransfer()
999 if ((hdma->Mode & DMA_LINKEDLIST) == DMA_LINKEDLIST) in HAL_DMA_IRQHandler()
1039 if ((hdma->Mode & DMA_LINKEDLIST) == DMA_LINKEDLIST) in HAL_DMA_IRQHandler()
[all …]
Dstm32u5xx_hal.c550 void HAL_SYSCFG_VREFBUF_HighImpedanceConfig(uint32_t Mode) in HAL_SYSCFG_VREFBUF_HighImpedanceConfig() argument
553 assert_param(IS_SYSCFG_VREFBUF_HIGH_IMPEDANCE(Mode)); in HAL_SYSCFG_VREFBUF_HighImpedanceConfig()
555 MODIFY_REG(VREFBUF->CSR, VREFBUF_CSR_HIZ, Mode); in HAL_SYSCFG_VREFBUF_HighImpedanceConfig()
Dstm32u5xx_hal_uart.c1449 if ((huart->hdmatx->Mode & DMA_LINKEDLIST) == DMA_LINKEDLIST) in HAL_UART_Transmit_DMA()
2445 if (huart->hdmarx->Mode != DMA_LINKEDLIST_CIRCULAR) in HAL_UART_IRQHandler()
3048 assert_param(IS_UART_MODE(huart->Init.Mode)); in UART_SetConfig()
3060 …tmpreg = (uint32_t)huart->Init.WordLength | huart->Init.Parity | huart->Init.Mode | huart->Init.Ov… in UART_SetConfig()
3469 if ((huart->hdmarx->Mode & DMA_LINKEDLIST) == DMA_LINKEDLIST) in UART_Start_Receive_DMA()
3579 if (hdma->Mode != DMA_LINKEDLIST_CIRCULAR) in UART_DMATransmitCplt()
3631 if (hdma->Mode != DMA_LINKEDLIST_CIRCULAR) in UART_DMAReceiveCplt()
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/hal/CMSIS_Driver/
Dlow_level_com.c85 GPIO_Init.Mode = GPIO_MODE_AF_PP; in USART0_Initialize()
101 uart_device.Init.Mode = UART_MODE_TX_RX; in USART0_Initialize()
/trusted-firmware-m-3.4.0/platform/ext/target/stm/stm32l562e_dk/src/
Dstm32l562e_discovery_ospi.c767 int32_t BSP_OSPI_NOR_ConfigFlash(uint32_t Instance, BSP_OSPI_NOR_Interface_t Mode, BSP_OSPI_NOR_Tra… in BSP_OSPI_NOR_ConfigFlash() argument
789 if((Mode != BSP_OSPI_NOR_OPI_MODE) || (Rate != Ospi_Nor_Ctx[Instance].TransferRate)) in BSP_OSPI_NOR_ConfigFlash()
794 if ((ret == BSP_ERROR_NONE) && (Mode == BSP_OSPI_NOR_OPI_MODE)) in BSP_OSPI_NOR_ConfigFlash()
813 if(Mode == BSP_OSPI_NOR_OPI_MODE) in BSP_OSPI_NOR_ConfigFlash()
834 Ospi_Nor_Ctx[Instance].InterfaceMode = Mode; in BSP_OSPI_NOR_ConfigFlash()
1021 GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; in OSPI_NOR_MspInit()
/trusted-firmware-m-3.4.0/platform/ext/target/stm/b_u585i_iot02a/src/
Db_u585i_iot02a_ospi.c820 int32_t BSP_OSPI_NOR_ConfigFlash(uint32_t Instance, BSP_OSPI_NOR_Interface_t Mode, BSP_OSPI_NOR_Tra… in BSP_OSPI_NOR_ConfigFlash() argument
842 if ((Mode != BSP_OSPI_NOR_OPI_MODE) || (Rate != Ospi_Nor_Ctx[Instance].TransferRate)) in BSP_OSPI_NOR_ConfigFlash()
847 if ((ret == BSP_ERROR_NONE) && (Mode == BSP_OSPI_NOR_OPI_MODE)) in BSP_OSPI_NOR_ConfigFlash()
866 if (Mode == BSP_OSPI_NOR_OPI_MODE) in BSP_OSPI_NOR_ConfigFlash()
887 Ospi_Nor_Ctx[Instance].InterfaceMode = Mode; in BSP_OSPI_NOR_ConfigFlash()
1080 GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; in OSPI_NOR_MspInit()
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32u5xx/hal/Inc/
Dstm32u5xx_hal_dma.h91 uint32_t Mode; /*!< Specifies the transfer mode for the DMA channel. member
169 …uint32_t Mode; /*!< DMA transfer mode … member
Dstm32u5xx_hal_gpio.h53 uint32_t Mode; /*!< Specifies the operating mode for the selected pins. member
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32l5xx/hal/Inc/
Dstm32l5xx_hal_gpio.h53 uint32_t Mode; /*!< Specifies the operating mode for the selected pins. member
Dstm32l5xx_hal_exti.h70 uint32_t Mode; /*!< The Exit Mode to be configured for a core. member
Dstm32l5xx_hal_pwr.h53 uint32_t Mode; /*!< Mode: Specifies the operating mode for the selected pins. member
/trusted-firmware-m-3.4.0/platform/ext/target/stm/stm32l562e_dk/include/
Dstm32l562e_discovery_ospi.h228 int32_t BSP_OSPI_NOR_ConfigFlash (uint32_t Instance, BSP_OSPI_NOR_Interface_t Mode,…
/trusted-firmware-m-3.4.0/platform/ext/target/stm/b_u585i_iot02a/include/
Db_u585i_iot02a_ospi.h228 int32_t BSP_OSPI_NOR_ConfigFlash(uint32_t Instance, BSP_OSPI_NOR_Interface_t Mode, BSP_OSPI_NOR_Tra…
/trusted-firmware-m-3.4.0/docs/platform/cypress/psoc64/
Dcypress_psoc64_spec.rst294 Mode LED should start blinking rapidly and depending on the host computer
363 Mode LED should start blinking rapidly.
398 Mode LED should be slowly blinking:
447 Mode LED should be slowly blinking:

12