<?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>Custom nrf52 gpio toggle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77864/custom-nrf52-gpio-toggle</link><description>Hey guys, 
 
 I have nrf52832 custom Bluetooth module. It is stand alone nr52832 module . I just want to toggle any gpio on this module . 
 Can you guys tell me which library should I use ? Or do I have to develop my own firmware? 
 Thank you.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 26 Jul 2021 08:23:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77864/custom-nrf52-gpio-toggle" /><item><title>RE: Custom nrf52 gpio toggle</title><link>https://devzone.nordicsemi.com/thread/321723?ContentTypeID=1</link><pubDate>Mon, 26 Jul 2021 08:23:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80efeec5-bd2a-4988-b325-7d351c3b5977</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can use the&amp;nbsp;&lt;a title="GPIO HAL" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/group__nrf__gpio__hal.html?cp=8_1_6_8_0_13_0"&gt;GPIO HAL&lt;/a&gt;&amp;nbsp;functions to configure and control GPIOs.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define OUTPUT_PIN NRF_GPIO_PIN_MAP(0, 31)  // P0.31

nrf_gpio_cfg_output(OUTPUT_PIN);
nrf_gpio_pin_set(OUTPUT_PIN);
nrf_gpio_pin_toggle(OUTPUT_PIN);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>