Searched refs:ctrla (Results 1 – 2 of 2) sorted by relevance
1992 uint32_t ctrla; member2180 uint32_t ctrla; in _spi_set_mode() local2186 ctrla = hri_sercomspi_read_CTRLA_reg(hw); in _spi_set_mode()2187 ctrla &= ~(SERCOM_SPI_CTRLA_CPOL | SERCOM_SPI_CTRLA_CPHA); in _spi_set_mode()2188 ctrla |= (mode & 0x3u) << SERCOM_SPI_CTRLA_CPHA_Pos; in _spi_set_mode()2189 hri_sercomspi_write_CTRLA_reg(hw, ctrla); in _spi_set_mode()2246 uint32_t ctrla; in _spi_set_data_order() local2252 ctrla = hri_sercomspi_read_CTRLA_reg(hw); in _spi_set_data_order()2255 ctrla |= SERCOM_SPI_CTRLA_DORD; in _spi_set_data_order()2257 ctrla &= ~SERCOM_SPI_CTRLA_DORD; in _spi_set_data_order()[all …]
86 uint8_t ctrla; member129 hri_dmac_write_CHCTRLA_RUNSTDBY_bit(DMAC, _cfgs[i].ctrla & DMAC_CHCTRLA_RUNSTDBY); in _dma_init()