[riot-notifications] [RIOT-OS/RIOT] nrf52: Implement EasyDMA-based SPI peripheral implemenation (#14057)
notifications at github.com
Mon May 18 18:50:43 CEST 2020
@benpicco commented on this pull request.
> + dev(bus)->ENABLE = SPIM_ENABLE_ENABLE_Enabled;
+ return SPI_OK;
+void spi_release(spi_t bus)
+ /* power off everything */
+ dev(bus)->ENABLE = 0;
+static size_t _transfer(spi_t bus, const uint8_t *out_buf, uint8_t *in_buf,
+ size_t remaining_len)
+ uint8_t transfer_len = remaining_len > UINT8_MAX ? UINT8_MAX : remaining_len;
Oh sorry this is not equivalent - disregard my comment.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications