Home
last modified time | relevance | path

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

/loramac-node-3.4.0/src/boards/mcu/saml21/hpl/sercom/
Dhpl_sercom.c2608 … bool _spi_rx_check_and_receive(void *const hw, const uint32_t iflag, struct _spi_trans_ctrl *ctrl) in _spi_rx_check_and_receive() argument
2618 if (ctrl->rxbuf) { in _spi_rx_check_and_receive()
2619 *ctrl->rxbuf++ = (uint8_t)data; in _spi_rx_check_and_receive()
2621 if (ctrl->char_size > 1) { in _spi_rx_check_and_receive()
2622 *ctrl->rxbuf++ = (uint8_t)(data >> 8); in _spi_rx_check_and_receive()
2626 ctrl->rxcnt++; in _spi_rx_check_and_receive()
2632 …ine void _spi_tx_check_and_send(void *const hw, const uint32_t iflag, struct _spi_trans_ctrl *ctrl, in _spi_tx_check_and_send() argument
2641 if (ctrl->txbuf) { in _spi_tx_check_and_send()
2642 data = *ctrl->txbuf++; in _spi_tx_check_and_send()
2644 if (ctrl->char_size > 1) { in _spi_tx_check_and_send()
[all …]