Home
last modified time | relevance | path

Searched full:ctar (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/dts/bindings/spi/
Dnxp,dspi.yaml45 ctar:
48 ctar register selection range form 0-1 for master mode, 0 for slave mode
54 This field is valid only when the CPHA bit in the CTAR register is 0.
/Zephyr-latest/drivers/spi/
Dspi_nxp_s32.c353 data->transfer_cfg.Ctar &= ~(SPI_CTAR_BR_MASK | SPI_CTAR_PBR_MASK); in spi_nxp_s32_configure()
354 data->transfer_cfg.Ctar |= SPI_CTAR_BR(best_baud.scaler) | in spi_nxp_s32_configure()
366 data->transfer_cfg.Ctar &= ~(SPI_CTAR_CPHA_MASK | SPI_CTAR_CPOL_MASK); in spi_nxp_s32_configure()
367 data->transfer_cfg.Ctar |= SPI_CTAR_CPHA(clk_phase) | SPI_CTAR_CPOL(clk_polarity); in spi_nxp_s32_configure()
500 uint32_t ctar = 0; in spi_nxp_s32_init() local
543 ctar |= SPI_CTAR_ASC(scaler) | SPI_CTAR_PASC(prescaler); in spi_nxp_s32_init()
547 ctar |= SPI_CTAR_CSSCK(scaler) | SPI_CTAR_PCSSCK(prescaler); in spi_nxp_s32_init()
551 ctar |= SPI_CTAR_DT(scaler) | SPI_CTAR_PDT(prescaler); in spi_nxp_s32_init()
553 data->transfer_cfg.Ctar |= ctar; in spi_nxp_s32_init()
Dspi_mcux_dspi.c906 DT_INST_PROP_OR(id, ctar, 0), \