Searched refs:iflag (Results 1 – 1 of 1) sorted by relevance
/loramac-node-3.4.0/src/boards/mcu/saml21/hpl/sercom/ |
D | hpl_sercom.c | 2608 static inline bool _spi_rx_check_and_receive(void *const hw, const uint32_t iflag, struct _spi_tran… in _spi_rx_check_and_receive() argument 2612 if (!(iflag & SERCOM_SPI_INTFLAG_RXC)) { in _spi_rx_check_and_receive() 2632 static inline void _spi_tx_check_and_send(void *const hw, const uint32_t iflag, struct _spi_trans_c… in _spi_tx_check_and_send() argument 2637 if (!(SERCOM_SPI_INTFLAG_DRE & iflag)) { in _spi_tx_check_and_send() 2657 static inline int32_t _spi_err_check(const uint32_t iflag, void *const hw) in _spi_err_check() argument 2659 if (SERCOM_SPI_INTFLAG_ERROR & iflag) { in _spi_err_check() 2688 uint32_t iflag = hri_sercomspi_read_INTFLAG_reg(hw); in _spi_m_sync_trans() local 2690 if (!_spi_rx_check_and_receive(hw, iflag, &ctrl)) { in _spi_m_sync_trans() 2694 _spi_tx_check_and_send(hw, iflag, &ctrl, dev->dummy_byte); in _spi_m_sync_trans() 2698 rc = _spi_err_check(iflag, hw); in _spi_m_sync_trans()
|