Home
last modified time | relevance | path

Searched refs:pinMode (Results 1 – 7 of 7) sorted by relevance

/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/spi/
Dfsl_spi.h180 spi_pin_mode_t pinMode; /*!< SPI pin mode select */ member
199 spi_pin_mode_t pinMode; /*!< SPI pin mode select */ member
482 static inline void SPI_SetPinMode(SPI_Type *base, spi_pin_mode_t pinMode) in SPI_SetPinMode() argument
487 base->C2 |= SPI_C2_BIDIROE((uint8_t)pinMode >> 1U) | SPI_C2_SPC0((uint8_t)pinMode & 1U); in SPI_SetPinMode()
Dfsl_spi.c422 config->pinMode = kSPI_PinModeNormal; in SPI_MasterGetDefaultConfig()
463 …SPI_C2_MODFEN((uint8_t)config->outputMode >> 1U) | SPI_C2_BIDIROE((uint8_t)config->pinMode >> 1U) | in SPI_MasterInit()
464 … SPI_C2_SPISWAI(config->enableStopInWaitMode) | SPI_C2_SPC0((uint8_t)config->pinMode & 1U) | in SPI_MasterInit()
467 …SPI_C2_MODFEN((uint8_t)config->outputMode >> 1U) | SPI_C2_BIDIROE((uint8_t)config->pinMode >> 1U) | in SPI_MasterInit()
468 … SPI_C2_SPISWAI(config->enableStopInWaitMode) | SPI_C2_SPC0((uint8_t)config->pinMode & 1U); in SPI_MasterInit()
525 config->pinMode = kSPI_PinModeNormal; in SPI_SlaveGetDefaultConfig()
567 … SPI_C2_BIDIROE((uint8_t)config->pinMode >> 1U) | SPI_C2_SPC0((uint8_t)config->pinMode & 1U); in SPI_SlaveInit()
569 …2 = SPI_C2_SPISWAI(config->enableStopInWaitMode) | SPI_C2_BIDIROE((uint8_t)config->pinMode >> 1U) | in SPI_SlaveInit()
570 SPI_C2_SPC0((uint8_t)config->pinMode & 1U); in SPI_SlaveInit()
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/llwu/
Dfsl_llwu.c27 …LLWU_SetExternalWakeupPinMode(LLWU_Type *base, uint32_t pinIndex, llwu_external_pin_mode_t pinMode) in LLWU_SetExternalWakeupPinMode() argument
54 reg |= ((uint32_t)pinMode << regOffset); in LLWU_SetExternalWakeupPinMode()
109 reg |= (uint8_t)((uint32_t)pinMode << regOffset); in LLWU_SetExternalWakeupPinMode()
Dfsl_llwu.h162 …LWU_SetExternalWakeupPinMode(LLWU_Type *base, uint32_t pinIndex, llwu_external_pin_mode_t pinMode);
/hal_nxp-3.6.0/mcux/mcux-sdk/components/pca9420/
Dfsl_pca9420.c359 pca9420_mode_t pinMode, i2cMode; in PCA9420_GetCurrentMode() local
363 pinMode = (pca9420_mode_t)(POWER_GetPmicMode(kCfg_Run)); in PCA9420_GetCurrentMode()
365 if (!PCA9420_ModeControlledByI2C(handle, pinMode)) in PCA9420_GetCurrentMode()
367 *mode = pinMode; in PCA9420_GetCurrentMode()
/hal_nxp-3.6.0/mcux/mcux-sdk/components/flash/nor/lpspi/
Dfsl_lpspi_mem_adapter.c40 extern void BOARD_LpspiIomuxConfig(spi_pin_mode_t pinMode);
/hal_nxp-3.6.0/mcux/mcux-sdk/cmsis_drivers/spi/
Dfsl_spi_cmsis.c133 masterConfig.pinMode = kSPI_PinModeOutput; in SPI_CommonControl()
136 slaveConfig.pinMode = kSPI_PinModeOutput; in SPI_CommonControl()