Home
last modified time | relevance | path

Searched refs:cpol (Results 1 – 8 of 8) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/cmsis_drivers/dspi/
Dfsl_dspi_cmsis.c165 masterConfig.ctarConfig.cpol = kDSPI_ClockPolarityActiveHigh; in DSPI_CommonControl()
170 slaveConfig.ctarConfig.cpol = kDSPI_ClockPolarityActiveHigh; in DSPI_CommonControl()
178 masterConfig.ctarConfig.cpol = kDSPI_ClockPolarityActiveHigh; in DSPI_CommonControl()
183 slaveConfig.ctarConfig.cpol = kDSPI_ClockPolarityActiveHigh; in DSPI_CommonControl()
191 masterConfig.ctarConfig.cpol = kDSPI_ClockPolarityActiveLow; in DSPI_CommonControl()
196 slaveConfig.ctarConfig.cpol = kDSPI_ClockPolarityActiveLow; in DSPI_CommonControl()
204 masterConfig.ctarConfig.cpol = kDSPI_ClockPolarityActiveLow; in DSPI_CommonControl()
209 slaveConfig.ctarConfig.cpol = kDSPI_ClockPolarityActiveLow; in DSPI_CommonControl()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/spi/
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.5.0/mcux/mcux-sdk/cmsis_drivers/lpspi/
Dfsl_lpspi_cmsis.c202 masterConfig.cpol = kLPSPI_ClockPolarityActiveHigh; in LPSPI_CommonControl()
207 slaveConfig.cpol = kLPSPI_ClockPolarityActiveHigh; in LPSPI_CommonControl()
214 masterConfig.cpol = kLPSPI_ClockPolarityActiveHigh; in LPSPI_CommonControl()
219 slaveConfig.cpol = kLPSPI_ClockPolarityActiveHigh; in LPSPI_CommonControl()
226 masterConfig.cpol = kLPSPI_ClockPolarityActiveLow; in LPSPI_CommonControl()
231 slaveConfig.cpol = kLPSPI_ClockPolarityActiveLow; in LPSPI_CommonControl()
238 masterConfig.cpol = kLPSPI_ClockPolarityActiveLow; in LPSPI_CommonControl()
243 slaveConfig.cpol = kLPSPI_ClockPolarityActiveLow; in LPSPI_CommonControl()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/dspi/
Dfsl_dspi.h237 dspi_clock_polarity_t cpol; /*!< Clock polarity. */ member
276 dspi_clock_polarity_t cpol; /*!< Clock polarity. */ member
Dfsl_dspi.c233 SPI_CTAR_CPOL(masterConfig->ctarConfig.cpol) | in DSPI_MasterInit()
271 masterConfig->ctarConfig.cpol = kDSPI_ClockPolarityActiveHigh; in DSPI_MasterGetDefaultConfig()
338 SPI_CTAR_SLAVE_CPOL(slaveConfig->ctarConfig.cpol) | in DSPI_SlaveInit()
368 slaveConfig->ctarConfig.cpol = kDSPI_ClockPolarityActiveHigh; in DSPI_SlaveGetDefaultConfig()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpspi/
Dfsl_lpspi.h265 lpspi_clock_polarity_t cpol; /*!< Clock polarity. */ member
292 lpspi_clock_polarity_t cpol; /*!< Clock polarity. */ member
Dfsl_lpspi.c318 base->TCR = LPSPI_TCR_CPOL(masterConfig->cpol) | LPSPI_TCR_CPHA(masterConfig->cpha) | in LPSPI_MasterInit()
354 masterConfig->cpol = kLPSPI_ClockPolarityActiveHigh; in LPSPI_MasterGetDefaultConfig()
407 base->TCR = LPSPI_TCR_CPOL(slaveConfig->cpol) | LPSPI_TCR_CPHA(slaveConfig->cpha) | in LPSPI_SlaveInit()
437 slaveConfig->cpol = kLPSPI_ClockPolarityActiveHigh; /*!< Clock polarity. */ in LPSPI_SlaveGetDefaultConfig()