Home
last modified time | relevance | path

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

/loramac-node-3.4.0/src/boards/mcu/saml21/hpl/sercom/
Dhpl_sercom.c1992 uint32_t ctrla; member
2180 uint32_t ctrla; in _spi_set_mode() local
2186 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() local
2252 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 …]
/loramac-node-3.4.0/src/boards/mcu/saml21/hpl/dmac/
Dhpl_dmac.c86 uint8_t ctrla; member
129 hri_dmac_write_CHCTRLA_RUNSTDBY_bit(DMAC, _cfgs[i].ctrla & DMAC_CHCTRLA_RUNSTDBY); in _dma_init()