<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>timer0 interrupt does not work with printf statement</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/14699/timer0-interrupt-does-not-work-with-printf-statement</link><description> I got several warnings when I compile the 
following code using TIMER0 interrupt 
when it overflows. 
 
void main(void) 
{ //----------------------------------------// interrupt 
TMOD = (TMOD &amp;amp; 0xF0) | 0x01; 
ET0 = 1; 
TR0 = 1; 
EA = 1; 
//Timer to overflow</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: timer0 interrupt does not work with printf statement</title><link>https://community.arm.com/thread/38767?ContentTypeID=1</link><pubDate>Fri, 24 May 2002 06:57:59 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:da2b85ee-53a2-4bda-9819-c263cf065c9f</guid><dc:creator>Jon Ward</dc:creator><description>&lt;p&gt;Check the following knowledgebase article:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.keil.com/support/docs/805.htm"&gt;http://www.keil.com/support/docs/805.htm&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Jon&lt;/b&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: timer0 interrupt does not work with printf statement</title><link>https://community.arm.com/thread/38772?ContentTypeID=1</link><pubDate>Fri, 24 May 2002 01:25:28 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:147dd281-d039-4ad2-97fe-34b032b643d6</guid><dc:creator>Fredrik Birgersson</dc:creator><description>&lt;p&gt;I get the same when I try to call an extern function from within a interrupt function.&lt;br /&gt;
Need tips..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>