Searched refs:ctrla (Results 1 – 1 of 1) sorted by relevance
77 SERCOM_SPI_CTRLA_Type ctrla = {.reg = 0}; in spi_sam0_configure() local95 ctrla.bit.MODE = SERCOM_SPI_CTRLA_MODE_SPI_MASTER_Val; in spi_sam0_configure()98 ctrla.bit.DORD = 1; in spi_sam0_configure()102 ctrla.bit.CPOL = 1; in spi_sam0_configure()106 ctrla.bit.CPHA = 1; in spi_sam0_configure()109 ctrla.reg |= cfg->pads; in spi_sam0_configure()113 ctrla.bit.DOPO = 0; in spi_sam0_configure()114 ctrla.bit.DIPO = 0; in spi_sam0_configure()117 ctrla.bit.ENABLE = 1; in spi_sam0_configure()132 if (regs->CTRLA.reg != ctrla.reg || regs->CTRLB.reg != ctrlb.reg || in spi_sam0_configure()[all …]