Home
last modified time | relevance | path

Searched refs:SERCOM_SPI_CTRLA_CPOL (Results 1 – 3 of 3) sorted by relevance

/loramac-node-3.4.0/src/boards/mcu/saml21/saml21b/include/component/
Dsercom.h205 #define SERCOM_SPI_CTRLA_CPOL (_U(0x1) << SERCOM_SPI_CTRLA_CPOL_Pos) macro
/loramac-node-3.4.0/src/boards/mcu/saml21/hri/
Dhri_sercom_l21.h612 ((Sercom *)hw)->SPI.CTRLA.reg |= SERCOM_SPI_CTRLA_CPOL; in hri_sercomspi_set_CTRLA_CPOL_bit()
620 tmp = (tmp & SERCOM_SPI_CTRLA_CPOL) >> SERCOM_SPI_CTRLA_CPOL_Pos; in hri_sercomspi_get_CTRLA_CPOL_bit()
630 tmp &= ~SERCOM_SPI_CTRLA_CPOL; in hri_sercomspi_write_CTRLA_CPOL_bit()
640 ((Sercom *)hw)->SPI.CTRLA.reg &= ~SERCOM_SPI_CTRLA_CPOL; in hri_sercomspi_clear_CTRLA_CPOL_bit()
648 ((Sercom *)hw)->SPI.CTRLA.reg ^= SERCOM_SPI_CTRLA_CPOL; in hri_sercomspi_toggle_CTRLA_CPOL_bit()
/loramac-node-3.4.0/src/boards/mcu/saml21/hpl/sercom/
Dhpl_sercom.c2187 ctrla &= ~(SERCOM_SPI_CTRLA_CPOL | SERCOM_SPI_CTRLA_CPHA); in _spi_set_mode()