Searched refs:SERCOM_SPI_SYNCBUSY_SWRST (Results 1 – 4 of 4) sorted by relevance
/loramac-node-2.7.6/src/boards/SAMR34/ |
D | spi-board.c | 41 hri_sercomspi_wait_for_sync( SERCOM4, SERCOM_SPI_SYNCBUSY_SWRST ); in SpiInit() 43 hri_sercomspi_wait_for_sync( SERCOM4, SERCOM_SPI_SYNCBUSY_SWRST ); in SpiInit()
|
/loramac-node-2.7.6/src/boards/mcu/saml21/hpl/sercom/ |
D | hpl_sercom.c | 2115 if (hri_sercomspi_is_syncing(hw, SERCOM_SPI_SYNCBUSY_SWRST)) { in _spi_sync_enable() 2147 if (hri_sercomspi_is_syncing(hw, SERCOM_SPI_SYNCBUSY_SWRST)) { in _spi_sync_disable() 2182 if (hri_sercomspi_is_syncing(hw, SERCOM_SPI_SYNCBUSY_SWRST | SERCOM_SPI_SYNCBUSY_ENABLE)) { in _spi_set_mode() 2203 if (hri_sercomspi_is_syncing(hw, SERCOM_SPI_SYNCBUSY_SWRST)) { in _spi_set_baudrate() 2227 if (hri_sercomspi_is_syncing(hw, SERCOM_SPI_SYNCBUSY_SWRST | SERCOM_SPI_SYNCBUSY_CTRLB)) { in _spi_set_char_size() 2248 if (hri_sercomspi_is_syncing(hw, SERCOM_SPI_SYNCBUSY_SWRST)) { in _spi_set_data_order() 2332 hri_sercomspi_wait_for_sync(hw, SERCOM_SPI_SYNCBUSY_SWRST); in _spi_m_sync_init() 2337 hri_sercomspi_wait_for_sync(hw, SERCOM_SPI_SYNCBUSY_SWRST); in _spi_m_sync_init() 2678 … hw, (SERCOM_SPI_SYNCBUSY_SWRST | SERCOM_SPI_SYNCBUSY_ENABLE | SERCOM_SPI_SYNCBUSY_CTRLB))) { in _spi_m_sync_trans()
|
/loramac-node-2.7.6/src/boards/mcu/saml21/hri/ |
D | hri_sercom_l21.h | 417 hri_sercomspi_wait_for_sync(hw, SERCOM_SPI_SYNCBUSY_SWRST); in hri_sercomspi_set_CTRLA_SWRST_bit() 425 hri_sercomspi_wait_for_sync(hw, SERCOM_SPI_SYNCBUSY_SWRST); in hri_sercomspi_get_CTRLA_SWRST_bit() 434 hri_sercomspi_wait_for_sync(hw, SERCOM_SPI_SYNCBUSY_SWRST | SERCOM_SPI_SYNCBUSY_ENABLE); in hri_sercomspi_set_CTRLA_ENABLE_bit() 442 hri_sercomspi_wait_for_sync(hw, SERCOM_SPI_SYNCBUSY_SWRST | SERCOM_SPI_SYNCBUSY_ENABLE); in hri_sercomspi_get_CTRLA_ENABLE_bit() 452 hri_sercomspi_wait_for_sync(hw, SERCOM_SPI_SYNCBUSY_SWRST | SERCOM_SPI_SYNCBUSY_ENABLE); in hri_sercomspi_write_CTRLA_ENABLE_bit() 463 hri_sercomspi_wait_for_sync(hw, SERCOM_SPI_SYNCBUSY_SWRST | SERCOM_SPI_SYNCBUSY_ENABLE); in hri_sercomspi_clear_CTRLA_ENABLE_bit() 471 hri_sercomspi_wait_for_sync(hw, SERCOM_SPI_SYNCBUSY_SWRST | SERCOM_SPI_SYNCBUSY_ENABLE); in hri_sercomspi_toggle_CTRLA_ENABLE_bit() 1575 …return (((Sercom *)hw)->SPI.SYNCBUSY.reg & SERCOM_SPI_SYNCBUSY_SWRST) >> SERCOM_SPI_SYNCBUSY_SWRST… in hri_sercomspi_get_SYNCBUSY_SWRST_bit()
|
/loramac-node-2.7.6/src/boards/mcu/saml21/saml21b/include/component/ |
D | sercom.h | 1095 #define SERCOM_SPI_SYNCBUSY_SWRST (_U(0x1) << SERCOM_SPI_SYNCBUSY_SWRST_Pos) macro
|