<?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>gpiote with FreeRTOS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21239/gpiote-with-freertos</link><description>Hi, 
 I migrate my code to FreeRTOS environment. 
 I use SDK12.2.0 ble_hrs_freertos code example as a startup project. 
 My question is how i need to init gpite?I receive error ,8 
 err_code = nrf_drv_gpiote_init(); //!!! err_code = 8
 APP_ERROR_CHECK</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Apr 2017 06:11:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21239/gpiote-with-freertos" /><item><title>RE: gpiote with FreeRTOS</title><link>https://devzone.nordicsemi.com/thread/83108?ContentTypeID=1</link><pubDate>Wed, 12 Apr 2017 06:11:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e2be1af-f812-4135-9ace-31e0a894a397</guid><dc:creator>max</dc:creator><description>&lt;p&gt;What about input handler? how manage it with FreeRTOS?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: gpiote with FreeRTOS</title><link>https://devzone.nordicsemi.com/thread/83107?ContentTypeID=1</link><pubDate>Sun, 09 Apr 2017 10:23:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6b0ec0d-b644-483c-804e-fec5ef9191ab</guid><dc:creator>RK</dc:creator><description>&lt;pre&gt;&lt;code&gt;#define NRF_ERROR_INVALID_STATE               (NRF_ERROR_BASE_NUM + 8)  ///&amp;lt; Invalid state, operation disallowed in this state


NRF_ERROR_INVALID_STATE	If the driver was already initialized.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;so don&amp;#39;t initialise it twice&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>