|
3 | 3 | <head> |
4 | 4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
5 | 5 | <meta http-equiv="X-UA-Compatible" content="IE=11"/> |
6 | | -<meta name="generator" content="Doxygen 1.9.7"/> |
| 6 | +<meta name="generator" content="Doxygen 1.10.0"/> |
7 | 7 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
8 | 8 | <title>LEDDriver_NXP_Arduino: GradationControl.h Source File</title> |
9 | 9 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
10 | 10 | <script type="text/javascript" src="jquery.js"></script> |
11 | 11 | <script type="text/javascript" src="dynsections.js"></script> |
| 12 | +<script type="text/javascript" src="clipboard.js"></script> |
| 13 | +<script type="text/javascript" src="cookie.js"></script> |
12 | 14 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
13 | 15 | <script type="text/javascript" src="search/searchdata.js"></script> |
14 | 16 | <script type="text/javascript" src="search/search.js"></script> |
|
21 | 23 | <tbody> |
22 | 24 | <tr id="projectrow"> |
23 | 25 | <td id="projectalign"> |
24 | | - <div id="projectname">LEDDriver_NXP_Arduino<span id="projectnumber"> 1.0.0</span> |
| 26 | + <div id="projectname">LEDDriver_NXP_Arduino<span id="projectnumber"> 1.0.1</span> |
25 | 27 | </div> |
26 | 28 | <div id="projectbrief">LED driver device operation sample code for Arduino</div> |
27 | 29 | </td> |
|
30 | 32 | </table> |
31 | 33 | </div> |
32 | 34 | <!-- end header part --> |
33 | | -<!-- Generated by Doxygen 1.9.7 --> |
| 35 | +<!-- Generated by Doxygen 1.10.0 --> |
34 | 36 | <script type="text/javascript"> |
35 | 37 | /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */ |
36 | 38 | var searchBox = new SearchBox("searchBox", "search/",'.html'); |
|
42 | 44 | /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */ |
43 | 45 | $(function() { |
44 | 46 | initMenu('',true,false,'search.php','Search'); |
45 | | - $(document).ready(function() { init_search(); }); |
| 47 | + $(function() { init_search(); }); |
46 | 48 | }); |
47 | 49 | /* @license-end */ |
48 | 50 | </script> |
49 | 51 | <div id="main-nav"></div> |
| 52 | +<script type="text/javascript"> |
| 53 | +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */ |
| 54 | +$(function() { codefold.init(0); }); |
| 55 | +/* @license-end */ |
| 56 | +</script> |
50 | 57 | <!-- window showing the filter options --> |
51 | 58 | <div id="MSearchSelectWindow" |
52 | 59 | onmouseover="return searchBox.OnSearchSelectShow()" |
|
83 | 90 | <div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> </div> |
84 | 91 | <div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#include <LEDDriver.h></span></div> |
85 | 92 | <div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> </div> |
| 93 | +<div class="foldopen" id="foldopen00020" data-start="{" data-end="};"> |
86 | 94 | <div class="line"><a id="l00020" name="l00020"></a><span class="lineno"><a class="line" href="class_gradation_control.html"> 20</a></span><span class="keyword">class </span><a class="code hl_class" href="class_gradation_control.html">GradationControl</a></div> |
87 | 95 | <div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span>{</div> |
88 | 96 | <div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="keyword">public</span>:</div> |
89 | 97 | <div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> </div> |
| 98 | +<div class="foldopen" id="foldopen00025" data-start="{" data-end="};"> |
90 | 99 | <div class="line"><a id="l00025" name="l00025"></a><span class="lineno"><a class="line" href="class_gradation_control.html#aaa9f0a75203764f128858991301bf099"> 25</a></span> <span class="keyword">enum</span> <a class="code hl_enumeration" href="class_gradation_control.html#aaa9f0a75203764f128858991301bf099">control</a> : <span class="keywordtype">int</span></div> |
91 | 100 | <div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> {</div> |
92 | 101 | <div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> STOP,</div> |
93 | 102 | <div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> DUMMY,</div> |
94 | 103 | <div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> ONE_SHOT,</div> |
95 | 104 | <div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> CONTINUOUS,</div> |
96 | 105 | <div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> };</div> |
| 106 | +</div> |
97 | 107 | <div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> </div> |
98 | 108 | <div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="class_gradation_control.html#a8cbbebc831b5b3d93fa281dfa87fcd78"> 34</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="class_gradation_control.html#a8cbbebc831b5b3d93fa281dfa87fcd78">cycle</a>;</div> |
99 | 109 | <div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> </div> |
100 | | -<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> <a class="code hl_class" href="class_gradation_control.html">GradationControl</a>( <a class="code hl_class" href="class_p_c_a995x.html">PCA995x</a>* devp, <span class="keywordtype">int</span> num_group, uint32_t bitmap = 0x0000 );</div> |
| 110 | +<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> <a class="code hl_function" href="class_gradation_control.html#a3852269547504376e809fcd76edac965">GradationControl</a>( <a class="code hl_class" href="class_p_c_a995x.html">PCA995x</a>* devp, <span class="keywordtype">int</span> num_group, uint32_t bitmap = 0x0000 );</div> |
101 | 111 | <div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> </div> |
102 | 112 | <div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">virtual</span> <a class="code hl_function" href="class_gradation_control.html#a8424feac87d38c7811f5704b9cd835b3">~GradationControl</a>();</div> |
103 | 113 | <div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> </div> |
|
120 | 130 | <div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <span class="keyword">const</span> <span class="keywordtype">int</span> group;</div> |
121 | 131 | <div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">float</span> HOLDTIME[];</div> |
122 | 132 | <div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span>};</div> |
| 133 | +</div> |
123 | 134 | <div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> </div> |
124 | 135 | <div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span><span class="preprocessor">#endif </span><span class="comment">// ARDUINO_GRADATION_CONTROL_NXP_ARD_H</span></div> |
125 | | -<div class="ttc" id="aclass_gradation_control_html"><div class="ttname"><a href="class_gradation_control.html">GradationControl</a></div><div class="ttdef"><b>Definition</b> <a href="_gradation_control_8h_source.html#l00020">GradationControl.h:21</a></div></div> |
| 136 | +<div class="ttc" id="aclass_gradation_control_html"><div class="ttname"><a href="class_gradation_control.html">GradationControl</a></div><div class="ttdef"><b>Definition</b> <a href="#l00020">GradationControl.h:21</a></div></div> |
126 | 137 | <div class="ttc" id="aclass_gradation_control_html_a169450a9144949e9538011d1ca4bb835"><div class="ttname"><a href="class_gradation_control.html#a169450a9144949e9538011d1ca4bb835">GradationControl::start</a></div><div class="ttdeci">void start(bool continuous=true)</div><div class="ttdef"><b>Definition</b> <a href="_gradation_control_8cpp_source.html#l00170">GradationControl.cpp:170</a></div></div> |
127 | 138 | <div class="ttc" id="aclass_gradation_control_html_a2008e0dc1462804f29602e9f7d1dd361"><div class="ttname"><a href="class_gradation_control.html#a2008e0dc1462804f29602e9f7d1dd361">GradationControl::stop</a></div><div class="ttdeci">void stop(void)</div><div class="ttdef"><b>Definition</b> <a href="_gradation_control_8cpp_source.html#l00175">GradationControl.cpp:175</a></div></div> |
128 | 139 | <div class="ttc" id="aclass_gradation_control_html_a3625cb2bbd9c82b331f4deaef948b7e6"><div class="ttname"><a href="class_gradation_control.html#a3625cb2bbd9c82b331f4deaef948b7e6">GradationControl::gradation_channel_enable</a></div><div class="ttdeci">void gradation_channel_enable(uint32_t bitmap)</div><div class="ttdef"><b>Definition</b> <a href="_gradation_control_8cpp_source.html#l00087">GradationControl.cpp:87</a></div></div> |
| 140 | +<div class="ttc" id="aclass_gradation_control_html_a3852269547504376e809fcd76edac965"><div class="ttname"><a href="class_gradation_control.html#a3852269547504376e809fcd76edac965">GradationControl::GradationControl</a></div><div class="ttdeci">GradationControl(PCA995x *devp, int num_group, uint32_t bitmap=0x0000)</div><div class="ttdef"><b>Definition</b> <a href="_gradation_control_8cpp_source.html#l00003">GradationControl.cpp:3</a></div></div> |
129 | 141 | <div class="ttc" id="aclass_gradation_control_html_a7a15e266570a694e416d953aa8bd7cd5"><div class="ttname"><a href="class_gradation_control.html#a7a15e266570a694e416d953aa8bd7cd5">GradationControl::gradation_group_assign</a></div><div class="ttdeci">void gradation_group_assign(uint32_t bitmap)</div><div class="ttdef"><b>Definition</b> <a href="_gradation_control_8cpp_source.html#l00101">GradationControl.cpp:101</a></div></div> |
130 | 142 | <div class="ttc" id="aclass_gradation_control_html_a8424feac87d38c7811f5704b9cd835b3"><div class="ttname"><a href="class_gradation_control.html#a8424feac87d38c7811f5704b9cd835b3">GradationControl::~GradationControl</a></div><div class="ttdeci">virtual ~GradationControl()</div><div class="ttdef"><b>Definition</b> <a href="_gradation_control_8cpp_source.html#l00010">GradationControl.cpp:10</a></div></div> |
131 | | -<div class="ttc" id="aclass_gradation_control_html_a8cbbebc831b5b3d93fa281dfa87fcd78"><div class="ttname"><a href="class_gradation_control.html#a8cbbebc831b5b3d93fa281dfa87fcd78">GradationControl::cycle</a></div><div class="ttdeci">float cycle</div><div class="ttdef"><b>Definition</b> <a href="_gradation_control_8h_source.html#l00034">GradationControl.h:34</a></div></div> |
| 143 | +<div class="ttc" id="aclass_gradation_control_html_a8cbbebc831b5b3d93fa281dfa87fcd78"><div class="ttname"><a href="class_gradation_control.html#a8cbbebc831b5b3d93fa281dfa87fcd78">GradationControl::cycle</a></div><div class="ttdeci">float cycle</div><div class="ttdef"><b>Definition</b> <a href="#l00034">GradationControl.h:34</a></div></div> |
132 | 144 | <div class="ttc" id="aclass_gradation_control_html_aa40d8730e0cd996c0744a47231cddbf1"><div class="ttname"><a href="class_gradation_control.html#aa40d8730e0cd996c0744a47231cddbf1">GradationControl::add_channel</a></div><div class="ttdeci">void add_channel(uint8_t ch)</div><div class="ttdef"><b>Definition</b> <a href="_gradation_control_8cpp_source.html#l00125">GradationControl.cpp:125</a></div></div> |
133 | | -<div class="ttc" id="aclass_gradation_control_html_aaa9f0a75203764f128858991301bf099"><div class="ttname"><a href="class_gradation_control.html#aaa9f0a75203764f128858991301bf099">GradationControl::control</a></div><div class="ttdeci">control</div><div class="ttdef"><b>Definition</b> <a href="_gradation_control_8h_source.html#l00025">GradationControl.h:26</a></div></div> |
| 145 | +<div class="ttc" id="aclass_gradation_control_html_aaa9f0a75203764f128858991301bf099"><div class="ttname"><a href="class_gradation_control.html#aaa9f0a75203764f128858991301bf099">GradationControl::control</a></div><div class="ttdeci">control</div><div class="ttdef"><b>Definition</b> <a href="#l00025">GradationControl.h:26</a></div></div> |
134 | 146 | <div class="ttc" id="aclass_gradation_control_html_affa2227a7fc375d62c7a1a8d89fd0b1d"><div class="ttname"><a href="class_gradation_control.html#affa2227a7fc375d62c7a1a8d89fd0b1d">GradationControl::set_gradation</a></div><div class="ttdeci">float set_gradation(float max_iref, float time, bool up=true, bool down=true, float on=0.0, float off=0.0, bool hold_on=true, bool hold_off=true)</div><div class="ttdef"><b>Definition</b> <a href="_gradation_control_8cpp_source.html#l00014">GradationControl.cpp:14</a></div></div> |
135 | 147 | <div class="ttc" id="aclass_p_c_a995x_html"><div class="ttname"><a href="class_p_c_a995x.html">PCA995x</a></div><div class="ttdef"><b>Definition</b> <a href="_l_e_d_driver_8h_source.html#l00094">LEDDriver.h:95</a></div></div> |
136 | 148 | </div><!-- fragment --></div><!-- contents --> |
137 | 149 | <!-- start footer part --> |
138 | 150 | <hr class="footer"/><address class="footer"><small> |
139 | | -Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 |
| 151 | +Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0 |
140 | 152 | </small></address> |
141 | 153 | </body> |
142 | 154 | </html> |
0 commit comments