Home
last modified time | relevance | path

Searched refs:pcs (Results 1 – 3 of 3) sorted by relevance

/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_dspi.c41 static void DSPI_SetOnePcsPolarity(SPI_Type *base, dspi_which_pcs_t pcs, dspi_pcs_polarity_config_t…
392 static void DSPI_SetOnePcsPolarity(SPI_Type *base, dspi_which_pcs_t pcs, dspi_pcs_polarity_config_t… in DSPI_SetOnePcsPolarity() argument
400 temp |= SPI_MCR_PCSIS(pcs); in DSPI_SetOnePcsPolarity()
404 temp &= ~SPI_MCR_PCSIS(pcs); in DSPI_SetOnePcsPolarity()
Dfsl_lpspi.c54 lpspi_which_pcs_t pcs,
386 lpspi_which_pcs_t pcs, in LPSPI_SetOnePcsPolarity() argument
391 cfgr1Value = base->CFGR1 & ~(1UL << (LPSPI_CFGR1_PCSPOL_SHIFT + (uint32_t)pcs)); in LPSPI_SetOnePcsPolarity()
394 …se->CFGR1 = cfgr1Value | ((uint32_t)activeLowOrHigh << (LPSPI_CFGR1_PCSPOL_SHIFT + (uint32_t)pcs)); in LPSPI_SetOnePcsPolarity()
/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_lpspi.c54 lpspi_which_pcs_t pcs,
394 lpspi_which_pcs_t pcs, in LPSPI_SetOnePcsPolarity() argument
399 cfgr1Value = base->CFGR1 & ~(1UL << (LPSPI_CFGR1_PCSPOL_SHIFT + (uint32_t)pcs)); in LPSPI_SetOnePcsPolarity()
402 …se->CFGR1 = cfgr1Value | ((uint32_t)activeLowOrHigh << (LPSPI_CFGR1_PCSPOL_SHIFT + (uint32_t)pcs)); in LPSPI_SetOnePcsPolarity()