Searched refs:SERCOM_SPI_CTRLA_MODE (Results 1 – 4 of 4) sorted by relevance
45 … hri_sercomspi_write_CTRLA_reg( SERCOM4, SERCOM_SPI_CTRLA_MODE( 3 ) | SERCOM_SPI_CTRLA_DOPO( 1 ) ); in SpiInit()
188 #define SERCOM_SPI_CTRLA_MODE(value) (SERCOM_SPI_CTRLA_MODE_Msk & ((value) << SERCOM_SPI_CTRLA_MODE… macro
700 ((Sercom *)hw)->SPI.CTRLA.reg |= SERCOM_SPI_CTRLA_MODE(mask); in hri_sercomspi_set_CTRLA_MODE_bf()709 tmp = (tmp & SERCOM_SPI_CTRLA_MODE(mask)) >> SERCOM_SPI_CTRLA_MODE_Pos; in hri_sercomspi_get_CTRLA_MODE_bf()720 tmp |= SERCOM_SPI_CTRLA_MODE(data); in hri_sercomspi_write_CTRLA_MODE_bf()729 ((Sercom *)hw)->SPI.CTRLA.reg &= ~SERCOM_SPI_CTRLA_MODE(mask); in hri_sercomspi_clear_CTRLA_MODE_bf()737 ((Sercom *)hw)->SPI.CTRLA.reg ^= SERCOM_SPI_CTRLA_MODE(mask); in hri_sercomspi_toggle_CTRLA_MODE_bf()
2012 …| SERCOM_SPI_CTRLA_MODE(CONF_SERCOM_##n##_SPI_MODE)), /* ctrla */ …