Searched refs:ctrla (Results 1 – 1 of 1) sorted by relevance
78 SERCOM_SPI_CTRLA_Type ctrla = {.reg = 0}; in spi_sam0_configure() local96 ctrla.bit.MODE = SERCOM_SPI_CTRLA_MODE_SPI_MASTER_Val; in spi_sam0_configure()99 ctrla.bit.DORD = 1; in spi_sam0_configure()103 ctrla.bit.CPOL = 1; in spi_sam0_configure()107 ctrla.bit.CPHA = 1; in spi_sam0_configure()110 ctrla.reg |= cfg->pads; in spi_sam0_configure()114 ctrla.bit.DOPO = 0; in spi_sam0_configure()115 ctrla.bit.DIPO = 0; in spi_sam0_configure()118 ctrla.bit.ENABLE = 1; in spi_sam0_configure()133 if (regs->CTRLA.reg != ctrla.reg || regs->CTRLB.reg != ctrlb.reg || in spi_sam0_configure()[all …]