<?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 obtain current PWM value?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13805/how-to-obtain-current-pwm-value</link><description>Hi, 
 is there any simple way to obtain current PWM value if nrf52 PWM module is used to produce complex waveform from RAM array? The task is to get currently settled value of duty-cycle and to perform some modification of residual data according that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 May 2016 09:36:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13805/how-to-obtain-current-pwm-value" /><item><title>RE: How to obtain current PWM value?</title><link>https://devzone.nordicsemi.com/thread/52751?ContentTypeID=1</link><pubDate>Wed, 18 May 2016 09:36:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bad5bba-b7e3-4c01-beee-8a48ba25db8f</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There is no such register, but if you absolutely need to know which value it is executing from the RAM then you can calculate it in your program. If your app is not doing a manual step, then the PWM pulses depends on the PRESCALER register. You can calculate how many pulses happened after the sequence started event has happened and you will know which value in that sequence it is executing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>