<?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 uninit PPI in nRF52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100661/how-to-uninit-ppi-in-nrf52832</link><description>Hello, 
 I am generating PPI for pizo buzzer driver(PAM8904JER) run. Here is the code for generating PPI channel. Now I want to disable my PPI timers and uninit PPI for low current consuption But I am not able to find any example code for deint/uninit</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Jun 2023 10:38:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100661/how-to-uninit-ppi-in-nrf52832" /><item><title>RE: How to uninit PPI in nRF52832</title><link>https://devzone.nordicsemi.com/thread/430435?ContentTypeID=1</link><pubDate>Mon, 12 Jun 2023 10:38:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cca83175-8903-4aae-97c6-aad66e25ec6b</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;You can use this code snippet&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;uint32_t  PW_UnInitPPI(void)
{ 
	ret_code_t err_code;
	
	err_code = nrf_drv_ppi_channel_free(ppi_channel);
	if (err_code != NRF_SUCCESS)
	{
		return err_code;
	}

    err_code = nrf_drv_ppi_uninit();
    return err_code;
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>