<?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>why GPIO pins are not getting cleared</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10785/why-gpio-pins-are-not-getting-cleared</link><description>Hello Everyone, 
 I have configured gpio pins for buzzer pin6 and pin 7 and am trying to clear those pins after buzzer making the beep sound but it is not getting cleared even setting like this nrf_gpio_pin_set can anyone help me out what is the issue</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Dec 2015 17:00:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10785/why-gpio-pins-are-not-getting-cleared" /><item><title>RE: why GPIO pins are not getting cleared</title><link>https://devzone.nordicsemi.com/thread/40305?ContentTypeID=1</link><pubDate>Thu, 10 Dec 2015 17:00:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4917fdec-a393-4be5-9775-807f26f86724</guid><dc:creator>karan</dc:creator><description>&lt;p&gt;After initializing the pwm init function then gpio pins will be occupied by the gpiote  handler so inorder to release those pins we need to add these lines to release the gpio pins and then add these lines i hope this wlll help you&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;//app_pwm_disable(&amp;amp;PWM1);  
  nrf_drv_gpiote_out_task_disable(6);
 
  nrf_gpio_pin_clear(6);
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>