[riot-notifications] [RIOT-OS/RIOT] TI CC3200 SimpleLink RIOT support (#11866)

Wlad Meixner notifications at github.com
Sat Jul 20 15:42:41 CEST 2019


gosticks commented on this pull request.



> +static inline cc3200_spi_t *spi(spi_t bus)
+{
+	return (cc3200_spi_t *)spi_config[bus].base_addr;
+}
+
+/**
+ * @brief reset spi to default state
+ *
+ * @param bus spi bus id
+ */
+void spi_reset(spi_t bus)
+{
+	volatile cc3200_spi_t *dev = spi(bus);
+
+	/* disable chip select in software controlled mode */
+	dev->ch0_conf &= ~MCSPI_CH0CONF_FORCE;

That is what I thought. But it has nothing to do with that its a separate thing... 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11866#discussion_r305580825
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190720/82c60918/attachment.htm>


More information about the notifications mailing list