Home
last modified time | relevance | path

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

12

/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/snvs_lp/
Dfsl_snvs_lp.c542 config->polarity = 0U; in SNVS_LP_PassiveTamperPin_GetDefaultConfig()
612 if (config.polarity != 0U) in SNVS_LP_EnablePassiveTamper()
639 … (base->LPTDCR & ~(SNVS_LPTDCR_ET2P_MASK)) | ((uint32_t)config.polarity << SNVS_LPTDCR_ET2P_SHIFT); in SNVS_LP_EnablePassiveTamper()
658 …(base->LPTDC2R & ~(SNVS_LPTDC2R_ET3P_MASK)) | ((uint32_t)config.polarity << SNVS_LPTDC2R_ET3P_SHIF… in SNVS_LP_EnablePassiveTamper()
673 …(base->LPTDC2R & ~(SNVS_LPTDC2R_ET4P_MASK)) | ((uint32_t)config.polarity << SNVS_LPTDC2R_ET4P_SHIF… in SNVS_LP_EnablePassiveTamper()
688 …(base->LPTDC2R & ~(SNVS_LPTDC2R_ET5P_MASK)) | ((uint32_t)config.polarity << SNVS_LPTDC2R_ET5P_SHIF… in SNVS_LP_EnablePassiveTamper()
703 …(base->LPTDC2R & ~(SNVS_LPTDC2R_ET6P_MASK)) | ((uint32_t)config.polarity << SNVS_LPTDC2R_ET6P_SHIF… in SNVS_LP_EnablePassiveTamper()
718 …(base->LPTDC2R & ~(SNVS_LPTDC2R_ET7P_MASK)) | ((uint32_t)config.polarity << SNVS_LPTDC2R_ET7P_SHIF… in SNVS_LP_EnablePassiveTamper()
733 …(base->LPTDC2R & ~(SNVS_LPTDC2R_ET8P_MASK)) | ((uint32_t)config.polarity << SNVS_LPTDC2R_ET8P_SHIF… in SNVS_LP_EnablePassiveTamper()
748 …(base->LPTDC2R & ~(SNVS_LPTDC2R_ET9P_MASK)) | ((uint32_t)config.polarity << SNVS_LPTDC2R_ET9P_SHIF… in SNVS_LP_EnablePassiveTamper()
[all …]
Dfsl_snvs_lp.h105 uint8_t polarity; member
/hal_nxp-3.6.0/mcux/mcux-sdk/components/gpio/
Dfsl_adapter_rt_gpio.c79 triggerConfig.polarity = in HAL_GpioInterruptHandle()
352 triggerConfig.polarity = (uint8_t)kGPIO_PinIntEnableLowOrFall; in HAL_GpioSetTriggerMode()
356 triggerConfig.polarity = (uint8_t)kGPIO_PinIntEnableHighOrRise; in HAL_GpioSetTriggerMode()
360 triggerConfig.polarity = (uint8_t)kGPIO_PinIntEnableHighOrRise; in HAL_GpioSetTriggerMode()
364 triggerConfig.polarity = (uint8_t)kGPIO_PinIntEnableLowOrFall; in HAL_GpioSetTriggerMode()
370 triggerConfig.polarity = in HAL_GpioSetTriggerMode()
/hal_nxp-3.6.0/mcux/mcux-sdk/components/spi/
Dfsl_adapter_flexcomm_spi.c122 …spiConfig.polarity = (kHAL_SpiClockPolarityActiveHigh == config->polarity) ? kSPI_ClockPolarityAct… in HAL_SpiMasterInit()
153 …spiConfig.polarity = (kHAL_SpiClockPolarityActiveHigh == config->polarity) ? kSPI_ClockPolarityAct… in HAL_SpiSlaveInit()
Dfsl_adapter_spi.c122 …spiConfig.polarity = (kHAL_SpiClockPolarityActiveHigh == config->polarity) ? kSPI_ClockPolarityAct… in HAL_SpiMasterInit()
153 …spiConfig.polarity = (kHAL_SpiClockPolarityActiveHigh == config->polarity) ? kSPI_ClockPolarityAct… in HAL_SpiSlaveInit()
Dfsl_adapter_spi.h135 hal_spi_clock_polarity_t polarity; /*!< Clock polarity */ member
145 hal_spi_clock_polarity_t polarity; /*!< Clock polarity */ member
Dfsl_adapter_dspi.c115 …dspiConfig.ctarConfig.cpol = (kHAL_SpiClockPolarityActiveHigh == config->polarity) ? kDSPI_ClockPo… in HAL_SpiMasterInit()
141 …dspiConfig.ctarConfig.cpol = (kHAL_SpiClockPolarityActiveHigh == config->polarity) ? kDSPI_ClockPo… in HAL_SpiSlaveInit()
Dfsl_adapter_lpspi.c233 …lpspiConfig.cpol = (kHAL_SpiClockPolarityActiveHigh == config->polarity) ? kLPSPI_ClockPolarityAct… in HAL_SpiMasterInit()
263 …lpspiConfig.cpol = (kHAL_SpiClockPolarityActiveHigh == config->polarity) ? kLPSPI_ClockPolarityAct… in HAL_SpiSlaveInit()
/hal_nxp-3.6.0/mcux/mcux-sdk/components/serial_manager/
Dfsl_component_serial_port_spi.h76 serial_spi_clock_polarity_t polarity; /*!< Clock polarity */ member
91 hal_spi_clock_polarity_t polarity; /*!< Clock polarity */ member
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/ecspi/
Dfsl_ecspi.c220 config->polarity = kECSPI_PolarityActiveHigh; /*!< Clock polarity */ in ECSPI_GetDefaultChannelConfig()
472 … ECSPI_CONFIGREG_SCLK_POL(config->polarity) | ECSPI_CONFIGREG_SCLK_PHA(config->phase)); in ECSPI_SetChannelConfig()
481 …(ECSPI_CONFIGREG_SCLK_POL(config->polarity) << 1U) | (ECSPI_CONFIGREG_SCLK_PHA(config->phase) << 1… in ECSPI_SetChannelConfig()
490 …(ECSPI_CONFIGREG_SCLK_POL(config->polarity) << 2) | (ECSPI_CONFIGREG_SCLK_PHA(config->phase) << 2)… in ECSPI_SetChannelConfig()
499 …(ECSPI_CONFIGREG_SCLK_POL(config->polarity) << 3) | (ECSPI_CONFIGREG_SCLK_PHA(config->phase) << 3)… in ECSPI_SetChannelConfig()
/hal_nxp-3.6.0/mcux/mcux-sdk/cmsis_drivers/ecspi/
Dfsl_ecspi_cmsis.c155 masterConfig->channelConfig.polarity = kECSPI_PolarityActiveHigh; in ECSPI_MasterCommonControl()
160 masterConfig->channelConfig.polarity = kECSPI_PolarityActiveHigh; in ECSPI_MasterCommonControl()
165 masterConfig->channelConfig.polarity = kECSPI_PolarityActiveLow; in ECSPI_MasterCommonControl()
170 masterConfig->channelConfig.polarity = kECSPI_PolarityActiveLow; in ECSPI_MasterCommonControl()
226 slaveConfig->channelConfig.polarity = kECSPI_PolarityActiveHigh; in ECSPI_SlaveCommonControl()
231 slaveConfig->channelConfig.polarity = kECSPI_PolarityActiveHigh; in ECSPI_SlaveCommonControl()
236 slaveConfig->channelConfig.polarity = kECSPI_PolarityActiveLow; in ECSPI_SlaveCommonControl()
241 slaveConfig->channelConfig.polarity = kECSPI_PolarityActiveLow; in ECSPI_SlaveCommonControl()
/hal_nxp-3.6.0/mcux/mcux-sdk/cmsis_drivers/spi/
Dfsl_spi_cmsis.c147 masterConfig.polarity = kSPI_ClockPolarityActiveHigh; in SPI_CommonControl()
153 slaveConfig.polarity = kSPI_ClockPolarityActiveHigh; in SPI_CommonControl()
162 masterConfig.polarity = kSPI_ClockPolarityActiveHigh; in SPI_CommonControl()
167 slaveConfig.polarity = kSPI_ClockPolarityActiveHigh; in SPI_CommonControl()
175 masterConfig.polarity = kSPI_ClockPolarityActiveLow; in SPI_CommonControl()
180 slaveConfig.polarity = kSPI_ClockPolarityActiveLow; in SPI_CommonControl()
188 masterConfig.polarity = kSPI_ClockPolarityActiveLow; in SPI_CommonControl()
193 slaveConfig.polarity = kSPI_ClockPolarityActiveLow; in SPI_CommonControl()
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/sai/
Dfsl_sai.h1024 void SAI_TxSetBitClockPolarity(I2S_Type *base, sai_clock_polarity_t polarity);
1032 void SAI_RxSetBitClockPolarity(I2S_Type *base, sai_clock_polarity_t polarity);
1040 void SAI_TxSetFrameSyncPolarity(I2S_Type *base, sai_clock_polarity_t polarity);
1048 void SAI_RxSetFrameSyncPolarity(I2S_Type *base, sai_clock_polarity_t polarity);
Dfsl_sai.c961 void SAI_TxSetBitClockPolarity(I2S_Type *base, sai_clock_polarity_t polarity) in SAI_TxSetBitClockPolarity() argument
965 val |= I2S_TCR2_BCP(polarity); in SAI_TxSetBitClockPolarity()
975 void SAI_RxSetBitClockPolarity(I2S_Type *base, sai_clock_polarity_t polarity) in SAI_RxSetBitClockPolarity() argument
979 val |= I2S_RCR2_BCP(polarity); in SAI_RxSetBitClockPolarity()
989 void SAI_TxSetFrameSyncPolarity(I2S_Type *base, sai_clock_polarity_t polarity) in SAI_TxSetFrameSyncPolarity() argument
993 val |= I2S_TCR4_FSP(polarity); in SAI_TxSetFrameSyncPolarity()
1003 void SAI_RxSetFrameSyncPolarity(I2S_Type *base, sai_clock_polarity_t polarity) in SAI_RxSetFrameSyncPolarity() argument
1007 val |= I2S_RCR4_FSP(polarity); in SAI_RxSetFrameSyncPolarity()
/hal_nxp-3.6.0/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-3.6.0/mcux/mcux-sdk/drivers/spi/
Dfsl_spi.h169 spi_clock_polarity_t polarity; /*!< Clock polarity */ member
189 spi_clock_polarity_t polarity; /*!< Clock polarity */ member
Dfsl_spi.c409 config->polarity = kSPI_ClockPolarityActiveHigh; in SPI_MasterGetDefaultConfig()
458 base->C1 = SPI_C1_MSTR(1U) | SPI_C1_CPOL(config->polarity) | SPI_C1_CPHA(config->phase) | in SPI_MasterInit()
512 config->polarity = kSPI_ClockPolarityActiveHigh; in SPI_SlaveGetDefaultConfig()
562 …SPI_C1_MSTR(0U) | SPI_C1_CPOL(config->polarity) | SPI_C1_CPHA(config->phase) | SPI_C1_LSBFE(config… in SPI_SlaveInit()
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/flexcomm/spi/
Dfsl_spi.c140 config->polarity = kSPI_ClockPolarityActiveHigh; in SPI_MasterGetDefaultConfig()
210 tmpConfig |= SPI_CFG_CPOL(config->polarity); in SPI_MasterInit()
265 config->polarity = kSPI_ClockPolarityActiveHigh; in SPI_SlaveGetDefaultConfig()
322 tmpConfig |= SPI_CFG_CPOL(config->polarity); in SPI_SlaveInit()
Dfsl_spi.h187 spi_clock_polarity_t polarity; /*!< Clock polarity */ member
203 spi_clock_polarity_t polarity; /*!< Clock polarity */ member
/hal_nxp-3.6.0/mcux/mcux-sdk/boards/frdmk32l3a6/project_template/cm4/
Dperipherals.c123 .polarity = kLPI2C_HostRequestPinActiveHigh
/hal_nxp-3.6.0/mcux/mcux-sdk/cmsis_drivers/flexcomm/
Dfsl_spi_cmsis.c254 masterConfig->polarity = kSPI_ClockPolarityActiveHigh; in SPI_MasterCommonControl()
259 masterConfig->polarity = kSPI_ClockPolarityActiveHigh; in SPI_MasterCommonControl()
264 masterConfig->polarity = kSPI_ClockPolarityActiveLow; in SPI_MasterCommonControl()
269 masterConfig->polarity = kSPI_ClockPolarityActiveLow; in SPI_MasterCommonControl()
401 slaveConfig->polarity = kSPI_ClockPolarityActiveHigh; in SPI_SlaveCommonControl()
406 slaveConfig->polarity = kSPI_ClockPolarityActiveHigh; in SPI_SlaveCommonControl()
411 slaveConfig->polarity = kSPI_ClockPolarityActiveLow; in SPI_SlaveCommonControl()
416 slaveConfig->polarity = kSPI_ClockPolarityActiveLow; in SPI_SlaveCommonControl()
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/lpc_gpio/
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-3.6.0/mcux/mcux-sdk/components/extern_flash/
Dfsl_adapter_eeprom_AT25Fxxxx.c172 .polarity = kHAL_SpiClockPolarityActiveHigh, in EEPROM_Init()
/hal_nxp-3.6.0/mcux/mcux-sdk/components/codec/wm8904/
Dfsl_wm8904.h467 status_t WM8904_SelectLRCPolarity(wm8904_handle_t *handle, uint32_t polarity);

12