<?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>Application Timer Context Pointer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19698/application-timer-context-pointer</link><description>When you start an application timer, you can provide an optional context pointer. Is that pointer memcpy&amp;#39;d like with the scheduler or is it a shallow copy? I&amp;#39;d like to know if I can provide locally created values via this pointer.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Feb 2017 22:48:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19698/application-timer-context-pointer" /><item><title>RE: Application Timer Context Pointer</title><link>https://devzone.nordicsemi.com/thread/76629?ContentTypeID=1</link><pubDate>Tue, 14 Feb 2017 22:48:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c15c4884-7817-4f77-a8cb-5ada7d9aeef4</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;It&amp;#39;s just a pointer, treated as an opaque void *, the pointer value itself is retained and returned to you in each call, there is no copying (how could there be, there&amp;#39;s no size to go with the pointer so it would be impossible to know what to copy).&lt;/p&gt;
&lt;p&gt;It doesn&amp;#39;t even really need to be a pointer, you can cast any 4 byte value to a void*, pass it, and cast it back when you get it returned.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>