Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/dspi/
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()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpspi/
Dfsl_lpspi.c86 lpspi_which_pcs_t pcs,
489 lpspi_which_pcs_t pcs, in LPSPI_SetOnePcsPolarity() argument
494 cfgr1Value = base->CFGR1 & ~(1UL << (LPSPI_CFGR1_PCSPOL_SHIFT + (uint32_t)pcs)); in LPSPI_SetOnePcsPolarity()
497 …se->CFGR1 = cfgr1Value | ((uint32_t)activeLowOrHigh << (LPSPI_CFGR1_PCSPOL_SHIFT + (uint32_t)pcs)); in LPSPI_SetOnePcsPolarity()