<?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>How to get a configuration of a single pin</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116927/how-to-get-a-configuration-of-a-single-pin</link><description>Hi 
 I want to know how to get a configuration of a single pin . 
 
 I added this function to the blinky example. 
 But it keeps reporting -ENOSYS. 
 Testing environment: ncs2.8.0 nRF52840DK 
 My test code is as follows.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Dec 2024 08:27:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116927/how-to-get-a-configuration-of-a-single-pin" /><item><title>RE: How to get a configuration of a single pin</title><link>https://devzone.nordicsemi.com/thread/513124?ContentTypeID=1</link><pubDate>Tue, 03 Dec 2024 08:27:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fac84da7-8da0-47b7-91ca-97f47a63a0b5</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This function is not implemented in our device driver, which is why it returns -ENOSYS. This API is relatively new (&lt;a href="https://github.com/nrfconnect/sdk-zephyr/commit/b1ba284b83f8f4cc0e4ab1d5421010a9efd005cf"&gt;introduced in 2022&lt;/a&gt;), and it appears&amp;nbsp;that we have not gotten around to add support&amp;nbsp;for it yet. Do you need this to check if the output is set active high or low?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>