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

Wlad Meixner notifications at github.com
Fri Jul 19 23:40:32 CEST 2019


gosticks commented on this pull request.



> +		spi(bus)->ch0_conf &= ~MCSPI_CH0CONF_FORCE;
+	} else {
+		spi(bus)->ch0_conf |= MCSPI_CH0CONF_FORCE;
+	}
+	ROM_SPITransfer((unsigned long)spi(bus), (unsigned char *)out,
+			(unsigned char *)in, len, 0);
+
+	/* if cs was enabled disable it again */
+	if (cs != GPIO_UNDEF) {
+		spi(bus)->ch0_conf &= ~MCSPI_CH0CONF_FORCE;
+	}
+}
+
+uint8_t spi_transfer_reg(spi_t bus, spi_cs_t cs, uint8_t reg, uint8_t out)
+{
+	(void)cs;

done

-- 
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_r305533104
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190719/ae237f02/attachment-0001.htm>


More information about the notifications mailing list