<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: Interrupt for SPI and D5</title>
		<link>http://forums.leaflabs.com/topic.php?id=9906</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:19:11 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=9906" rel="self" type="application/rss+xml" />

		<item>
			<title>crenn on "Interrupt for SPI and D5"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9906#post-22328</link>
			<pubDate>Sat, 09 Feb 2013 04:51:18 +0000</pubDate>
			<dc:creator>crenn</dc:creator>
			<guid isPermaLink="false">22328@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;You'll need to write an interrupt function for it to work. The reference manual will come in handy but the handler you need is:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;&#60;code&#62;.extern &#34;C&#34; {&#60;br /&#62;
.  void __irq_spi1(void) {&#60;br /&#62;
.    // Insert code here&#60;br /&#62;
.  }&#60;br /&#62;
.}&#60;/code&#62;&#60;/p&#62;&#60;/blockquote&#62;</description>
		</item>
		<item>
			<title>mh555 on "Interrupt for SPI and D5"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9906#post-21664</link>
			<pubDate>Sat, 15 Dec 2012 02:13:34 +0000</pubDate>
			<dc:creator>mh555</dc:creator>
			<guid isPermaLink="false">21664@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;PS. This is restricted to D5. D15 works well even with the SPI interrupt active.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mh555 on "Interrupt for SPI and D5"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9906#post-21663</link>
			<pubDate>Sat, 15 Dec 2012 02:12:28 +0000</pubDate>
			<dc:creator>mh555</dc:creator>
			<guid isPermaLink="false">21663@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi!&#60;/p&#62;
&#60;p&#62;An interrupt on D5 (attachInterrupt(D5, ...)) works fine, but when there is an active SPI interrupt (spi_irq_enable(SPI1, SPI_TXE_INTERRUPT);) it stops firing. The SPI interrupt works as expected. Is this a hardware related issue? Or some libmaple bug? Or my mistake?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
