<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/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/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>NRF52 APP_PWM_INSTANCE compiler problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28608/nrf52-app_pwm_instance-compiler-problem</link><description>Hi
I&amp;#39;m using IAR Compiler and need to generate some PWM outputs. I tried to use the example code from the pwm_library. But the compiler is generating an Error on the macro definition, I really don&amp;#39;t know why, because I think all include files are added</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Dec 2017 12:27:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28608/nrf52-app_pwm_instance-compiler-problem" /><item><title>RE: NRF52 APP_PWM_INSTANCE compiler problem</title><link>https://devzone.nordicsemi.com/thread/113380?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 12:27:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e87fc0a-275c-4df1-8f2b-e6547732eab8</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Happy to help. Feel free to mark my answer as correct if you are satisfied with it :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 APP_PWM_INSTANCE compiler problem</title><link>https://devzone.nordicsemi.com/thread/113381?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 12:12:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9af74b4-9fed-4703-8660-0635f5785c1f</guid><dc:creator>machfax</dc:creator><description>&lt;p&gt;Ok, Thanks a lot Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 APP_PWM_INSTANCE compiler problem</title><link>https://devzone.nordicsemi.com/thread/113379?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 11:48:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98d7fec6-9ac3-4774-93a2-9f5fbf602683</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;This is normal, yes. Setting PWM_ENABLED enables the driver globally, while setting PWMx_ENABLED allows you to decide which of the PWM hardware modules you want to use.&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;
Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 APP_PWM_INSTANCE compiler problem</title><link>https://devzone.nordicsemi.com/thread/113378?ContentTypeID=1</link><pubDate>Sun, 17 Dec 2017 15:53:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7505a78f-9512-4cad-b98a-4e3ade8e07e5</guid><dc:creator>machfax</dc:creator><description>&lt;p&gt;I had to enable not just PWM_ENABLED
also:
PWM0_ENABLED
PWM1_ENABLED
PWM2_ENABLED&lt;/p&gt;
&lt;p&gt;Is this normal? Thanks a lot&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>