Home
last modified time | relevance | path

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

/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_snvs_lp.c547 config->polarity = 0U; in SNVS_LP_PassiveTamperPin_GetDefaultConfig()
615 if (config.polarity != 0U) in SNVS_LP_EnablePassiveTamper()
642 … (base->LPTDCR & ~(SNVS_LPTDCR_ET2P_MASK)) | ((uint32_t)config.polarity << SNVS_LPTDCR_ET2P_SHIFT); in SNVS_LP_EnablePassiveTamper()
661 …(base->LPTDC2R & ~(SNVS_LPTDC2R_ET3P_MASK)) | ((uint32_t)config.polarity << SNVS_LPTDC2R_ET3P_SHIF… in SNVS_LP_EnablePassiveTamper()
676 …(base->LPTDC2R & ~(SNVS_LPTDC2R_ET4P_MASK)) | ((uint32_t)config.polarity << SNVS_LPTDC2R_ET4P_SHIF… in SNVS_LP_EnablePassiveTamper()
691 …(base->LPTDC2R & ~(SNVS_LPTDC2R_ET5P_MASK)) | ((uint32_t)config.polarity << SNVS_LPTDC2R_ET5P_SHIF… in SNVS_LP_EnablePassiveTamper()
706 …(base->LPTDC2R & ~(SNVS_LPTDC2R_ET6P_MASK)) | ((uint32_t)config.polarity << SNVS_LPTDC2R_ET6P_SHIF… in SNVS_LP_EnablePassiveTamper()
721 …(base->LPTDC2R & ~(SNVS_LPTDC2R_ET7P_MASK)) | ((uint32_t)config.polarity << SNVS_LPTDC2R_ET7P_SHIF… in SNVS_LP_EnablePassiveTamper()
736 …(base->LPTDC2R & ~(SNVS_LPTDC2R_ET8P_MASK)) | ((uint32_t)config.polarity << SNVS_LPTDC2R_ET8P_SHIF… in SNVS_LP_EnablePassiveTamper()
751 …(base->LPTDC2R & ~(SNVS_LPTDC2R_ET9P_MASK)) | ((uint32_t)config.polarity << SNVS_LPTDC2R_ET9P_SHIF… in SNVS_LP_EnablePassiveTamper()
[all …]
Dfsl_sai.h1000 void SAI_TxSetBitClockPolarity(I2S_Type *base, sai_clock_polarity_t polarity);
1008 void SAI_RxSetBitClockPolarity(I2S_Type *base, sai_clock_polarity_t polarity);
1016 void SAI_TxSetFrameSyncPolarity(I2S_Type *base, sai_clock_polarity_t polarity);
1024 void SAI_RxSetFrameSyncPolarity(I2S_Type *base, sai_clock_polarity_t polarity);
Dfsl_sai.c957 void SAI_TxSetBitClockPolarity(I2S_Type *base, sai_clock_polarity_t polarity) in SAI_TxSetBitClockPolarity() argument
961 val |= I2S_TCR2_BCP(polarity); in SAI_TxSetBitClockPolarity()
971 void SAI_RxSetBitClockPolarity(I2S_Type *base, sai_clock_polarity_t polarity) in SAI_RxSetBitClockPolarity() argument
975 val |= I2S_RCR2_BCP(polarity); in SAI_RxSetBitClockPolarity()
985 void SAI_TxSetFrameSyncPolarity(I2S_Type *base, sai_clock_polarity_t polarity) in SAI_TxSetFrameSyncPolarity() argument
989 val |= I2S_TCR4_FSP(polarity); in SAI_TxSetFrameSyncPolarity()
999 void SAI_RxSetFrameSyncPolarity(I2S_Type *base, sai_clock_polarity_t polarity) in SAI_RxSetFrameSyncPolarity() argument
1003 val |= I2S_RCR4_FSP(polarity); in SAI_RxSetFrameSyncPolarity()
Dfsl_snvs_lp.h101 uint8_t polarity; member
Dfsl_lpi2c.h165 lpi2c_host_request_polarity_t polarity; /*!< Host request pin polarity. */ member
Dfsl_lpi2c.c346 masterConfig->hostRequest.polarity = kLPI2C_HostRequestPinActiveHigh; in LPI2C_MasterGetDefaultConfig()
392 LPI2C_MCFGR0_HRPOL(masterConfig->hostRequest.polarity) | in LPI2C_MasterInit()
/hal_nxp-2.7.6/mcux/drivers/imx8/
Dfsl_ecspi.c221 config->polarity = kECSPI_PolarityActiveHigh; /*!< Clock polarity */ in ECSPI_GetDefaultChannelConfig()
473 … ECSPI_CONFIGREG_SCLK_POL(config->polarity) | ECSPI_CONFIGREG_SCLK_PHA(config->phase)); in ECSPI_SetChannelConfig()
482 …PI_CONFIGREG_SS_CTL(config->waveForm) << 1U) | (ECSPI_CONFIGREG_SCLK_POL(config->polarity) << 1U) | in ECSPI_SetChannelConfig()
492 …CSPI_CONFIGREG_SS_CTL(config->waveForm) << 2) | (ECSPI_CONFIGREG_SCLK_POL(config->polarity) << 2) | in ECSPI_SetChannelConfig()
502 …CSPI_CONFIGREG_SS_CTL(config->waveForm) << 3) | (ECSPI_CONFIGREG_SCLK_POL(config->polarity) << 3) | in ECSPI_SetChannelConfig()
Dfsl_sai.h986 void SAI_TxSetBitClockPolarity(I2S_Type *base, sai_clock_polarity_t polarity);
994 void SAI_RxSetBitClockPolarity(I2S_Type *base, sai_clock_polarity_t polarity);
1002 void SAI_TxSetFrameSyncPolarity(I2S_Type *base, sai_clock_polarity_t polarity);
1010 void SAI_RxSetFrameSyncPolarity(I2S_Type *base, sai_clock_polarity_t polarity);
Dfsl_sai.c957 void SAI_TxSetBitClockPolarity(I2S_Type *base, sai_clock_polarity_t polarity) in SAI_TxSetBitClockPolarity() argument
961 val |= I2S_TCR2_BCP(polarity); in SAI_TxSetBitClockPolarity()
971 void SAI_RxSetBitClockPolarity(I2S_Type *base, sai_clock_polarity_t polarity) in SAI_RxSetBitClockPolarity() argument
975 val |= I2S_RCR2_BCP(polarity); in SAI_RxSetBitClockPolarity()
985 void SAI_TxSetFrameSyncPolarity(I2S_Type *base, sai_clock_polarity_t polarity) in SAI_TxSetFrameSyncPolarity() argument
989 val |= I2S_TCR4_FSP(polarity); in SAI_TxSetFrameSyncPolarity()
999 void SAI_RxSetFrameSyncPolarity(I2S_Type *base, sai_clock_polarity_t polarity) in SAI_RxSetFrameSyncPolarity() argument
1003 val |= I2S_RCR4_FSP(polarity); in SAI_RxSetFrameSyncPolarity()
Dfsl_ecspi.h166 ecspi_clock_polarity_t polarity; /*!< Clock polarity */ member
/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_sai.h1000 void SAI_TxSetBitClockPolarity(I2S_Type *base, sai_clock_polarity_t polarity);
1008 void SAI_RxSetBitClockPolarity(I2S_Type *base, sai_clock_polarity_t polarity);
1016 void SAI_TxSetFrameSyncPolarity(I2S_Type *base, sai_clock_polarity_t polarity);
1024 void SAI_RxSetFrameSyncPolarity(I2S_Type *base, sai_clock_polarity_t polarity);
Dfsl_spi.c390 config->polarity = kSPI_ClockPolarityActiveHigh; in SPI_MasterGetDefaultConfig()
421 base->C1 = SPI_C1_MSTR(1U) | SPI_C1_CPOL(config->polarity) | SPI_C1_CPHA(config->phase) | in SPI_MasterInit()
456 config->polarity = kSPI_ClockPolarityActiveHigh; in SPI_SlaveGetDefaultConfig()
485 …SPI_C1_MSTR(0U) | SPI_C1_CPOL(config->polarity) | SPI_C1_CPHA(config->phase) | SPI_C1_LSBFE(config… in SPI_SlaveInit()
Dfsl_spi.h182 spi_clock_polarity_t polarity; /*!< Clock polarity */ member
202 spi_clock_polarity_t polarity; /*!< Clock polarity */ member
Dfsl_sai.c957 void SAI_TxSetBitClockPolarity(I2S_Type *base, sai_clock_polarity_t polarity) in SAI_TxSetBitClockPolarity() argument
961 val |= I2S_TCR2_BCP(polarity); in SAI_TxSetBitClockPolarity()
971 void SAI_RxSetBitClockPolarity(I2S_Type *base, sai_clock_polarity_t polarity) in SAI_RxSetBitClockPolarity() argument
975 val |= I2S_RCR2_BCP(polarity); in SAI_RxSetBitClockPolarity()
985 void SAI_TxSetFrameSyncPolarity(I2S_Type *base, sai_clock_polarity_t polarity) in SAI_TxSetFrameSyncPolarity() argument
989 val |= I2S_TCR4_FSP(polarity); in SAI_TxSetFrameSyncPolarity()
999 void SAI_RxSetFrameSyncPolarity(I2S_Type *base, sai_clock_polarity_t polarity) in SAI_RxSetFrameSyncPolarity() argument
1003 val |= I2S_RCR4_FSP(polarity); in SAI_RxSetFrameSyncPolarity()
Dfsl_lpi2c.h153 lpi2c_host_request_polarity_t polarity; /*!< Host request pin polarity. */ member
Dfsl_lpi2c.c373 masterConfig->hostRequest.polarity = kLPI2C_HostRequestPinActiveHigh; in LPI2C_MasterGetDefaultConfig()
419 LPI2C_MCFGR0_HRPOL(masterConfig->hostRequest.polarity) | in LPI2C_MasterInit()
/hal_nxp-2.7.6/imx/drivers/
Decspi.h311 static inline void ECSPI_SetSSPolarity(ECSPI_Type* base, uint32_t channel, uint32_t polarity) in ECSPI_SetSSPolarity() argument
315 ECSPI_CONFIGREG_SS_POL(polarity << channel); in ECSPI_SetSSPolarity()
/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/
Dfsl_spi.c136 config->polarity = kSPI_ClockPolarityActiveHigh; in SPI_MasterGetDefaultConfig()
206 tmpConfig |= SPI_CFG_CPOL(config->polarity); in SPI_MasterInit()
261 config->polarity = kSPI_ClockPolarityActiveHigh; in SPI_SlaveGetDefaultConfig()
318 tmpConfig |= SPI_CFG_CPOL(config->polarity); in SPI_SlaveInit()
Dfsl_spi.h175 spi_clock_polarity_t polarity; /*!< Clock polarity */ member
191 spi_clock_polarity_t polarity; /*!< Clock polarity */ member
Dfsl_gpio.h85 uint8_t polarity; /* The polarity of GPIO interrupts */ member
Dfsl_gpio.c142 base->INTPOL[port] = (base->INTPOL[port] & ~(1UL << pin)) | ((uint32_t)config->polarity << pin); in GPIO_SetPinInterruptConfig()
/hal_nxp-2.7.6/mcux/drivers/lpc/
Dfsl_spi.c136 config->polarity = kSPI_ClockPolarityActiveHigh; in SPI_MasterGetDefaultConfig()
206 tmpConfig |= SPI_CFG_CPOL(config->polarity); in SPI_MasterInit()
261 config->polarity = kSPI_ClockPolarityActiveHigh; in SPI_SlaveGetDefaultConfig()
318 tmpConfig |= SPI_CFG_CPOL(config->polarity); in SPI_SlaveInit()
Dfsl_spi.h175 spi_clock_polarity_t polarity; /*!< Clock polarity */ member
191 spi_clock_polarity_t polarity; /*!< Clock polarity */ member
Dfsl_gpio.h85 uint8_t polarity; /* The polarity of GPIO interrupts */ member
Dfsl_gpio.c142 base->INTPOL[port] = (base->INTPOL[port] & ~(1UL << pin)) | ((uint32_t)config->polarity << pin); in GPIO_SetPinInterruptConfig()