summaryrefslogtreecommitdiff
path: root/help/en_US/AVRGetTimerValue.xml
diff options
context:
space:
mode:
authorAnkitr192017-07-04 15:33:41 +0530
committerAnkitr192017-07-04 15:33:41 +0530
commit5b9f48de8fe9af5d4b4a3bea0eb3baacd2bc7950 (patch)
tree7f2f4c1784898f975c05095b505f047d77361d87 /help/en_US/AVRGetTimerValue.xml
parentafae3013c86d26dc1b233228431be208705acff0 (diff)
parenta3dfa2a4069740517ca6e83f99dd4e0dbb71c377 (diff)
downloadscilab2c-5b9f48de8fe9af5d4b4a3bea0eb3baacd2bc7950.tar.gz
scilab2c-5b9f48de8fe9af5d4b4a3bea0eb3baacd2bc7950.tar.bz2
scilab2c-5b9f48de8fe9af5d4b4a3bea0eb3baacd2bc7950.zip
New functions added and rpi issues resolved
Diffstat (limited to 'help/en_US/AVRGetTimerValue.xml')
-rw-r--r--help/en_US/AVRGetTimerValue.xml73
1 files changed, 73 insertions, 0 deletions
diff --git a/help/en_US/AVRGetTimerValue.xml b/help/en_US/AVRGetTimerValue.xml
new file mode 100644
index 00000000..f639c60d
--- /dev/null
+++ b/help/en_US/AVRGetTimerValue.xml
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ *
+ * This help file was generated from AVRGetTimerValue.sci using help_from_sci().
+ *
+ -->
+
+<refentry version="5.0-subset Scilab" xml:id="AVRGetTimerValue" xml:lang="en"
+ xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns:ns3="http://www.w3.org/1999/xhtml"
+ xmlns:mml="http://www.w3.org/1998/Math/MathML"
+ xmlns:scilab="http://www.scilab.org"
+ xmlns:db="http://docbook.org/ns/docbook">
+
+ <refnamediv>
+ <refname>AVRGetTimerValue</refname>
+ <refpurpose>Function to get timer count</refpurpose>
+ </refnamediv>
+
+
+<refsection>
+ <title>Parameters</title>
+ <variablelist>
+ <varlistentry><term>timer :</term>
+ <listitem><para> timer whose current count is to be returned</para></listitem></varlistentry>
+ </variablelist>
+</refsection>
+
+<refsection>
+ <title>Description</title>
+ <para>
+This function returns the count value of a desired timer.By knowing the count value certain interrupt action can be taken.
+ </para>
+ <para>
+Timer can take the following values
+<itemizedlist>
+<listitem><para>0 -> for timer0</para></listitem>
+<listitem><para>1 -> for timer1</para></listitem>
+<listitem><para>2 -> for timer2</para></listitem>
+</itemizedlist>
+ </para>
+ <para>
+This is curretly dummy function. It provides no functionality but is required
+for providing support for generating C code for AVR.
+ </para>
+ <para>
+</para>
+</refsection>
+
+<refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+AVRGetTimerValue(0); //returns present count of the TCNT0 counter
+ ]]></programlisting>
+</refsection>
+
+<refsection>
+ <title>See also</title>
+ <simplelist type="inline">
+ <member><link linkend="AVRTimerSetup">AVRTimerSetup</link></member>
+ </simplelist>
+</refsection>
+
+<refsection>
+ <title>Authors</title>
+ <simplelist type="vert">
+ <member>Ashish Kamble</member>
+ </simplelist>
+</refsection>
+</refentry>