92
92
93
93
< h1 id ="System_Device_Adc_AdcControllerBase " data-uid ="System.Device.Adc.AdcControllerBase " class ="text-break "> Class AdcControllerBase
94
94
</ h1 >
95
- < div class ="markdown level0 summary "> < p > Base class for < a class ="xref " href ="System.Device .Adc.AdcController.html "> AdcController</ a > .</ p >
95
+ < div class ="markdown level0 summary "> < p > Base class for < a class ="xref " href ="nanoFramework.GiantGecko .Adc.AdcController.html "> AdcController</ a > .</ p >
96
96
</ div >
97
97
< div class ="markdown level0 conceptual "> </ div >
98
98
< div class ="inheritance ">
99
99
< h5 > Inheritance</ h5 >
100
100
< div class ="level0 "> < a class ="xref " href ="System.Object.html "> object</ a > </ div >
101
101
< div class ="level1 "> < span class ="xref "> AdcControllerBase</ span > </ div >
102
102
< div class ="level2 "> < a class ="xref " href ="System.Device.Adc.AdcController.html "> AdcController</ a > </ div >
103
+ < div class ="level2 "> < a class ="xref " href ="nanoFramework.GiantGecko.Adc.AdcController.html "> AdcController</ a > </ div >
103
104
</ div >
104
105
< div class ="inheritedMembers ">
105
106
< h5 > Inherited Members</ h5 >
@@ -126,7 +127,7 @@ <h5>Inherited Members</h5>
126
127
</ div >
127
128
</ div >
128
129
< h6 > < strong > Namespace</ strong > : < a class ="xref " href ="System.html "> System</ a > .< a class ="xref " href ="System.Device.html "> Device</ a > .< a class ="xref " href ="System.Device.Adc.html "> Adc</ a > </ h6 >
129
- < h6 > < strong > Assembly</ strong > : System.Device .Adc.dll</ h6 >
130
+ < h6 > < strong > Assembly</ strong > : nanoFramework.GiantGecko .Adc.dll</ h6 >
130
131
< h5 id ="System_Device_Adc_AdcControllerBase_syntax "> Syntax</ h5 >
131
132
< div class ="codewrapper ">
132
133
< pre > < code class ="lang-csharp hljs "> public abstract class AdcControllerBase</ code > </ pre >
@@ -149,7 +150,7 @@ <h3 id="properties">Properties
149
150
150
151
< a id ="System_Device_Adc_AdcControllerBase_ChannelCount_ " data-uid ="System.Device.Adc.AdcControllerBase.ChannelCount* "> </ a >
151
152
< h4 id ="System_Device_Adc_AdcControllerBase_ChannelCount " data-uid ="System.Device.Adc.AdcControllerBase.ChannelCount "> ChannelCount</ h4 >
152
- < div class ="markdown level1 summary "> < p > The number of channels available on the < a class ="xref " href ="System.Device .Adc.AdcController.html "> AdcController</ a > .</ p >
153
+ < div class ="markdown level1 summary "> < p > The number of channels available on the < a class ="xref " href ="nanoFramework.GiantGecko .Adc.AdcController.html "> AdcController</ a > .</ p >
153
154
</ div >
154
155
< div class ="markdown level1 conceptual "> </ div >
155
156
< h5 class ="declaration "> Declaration</ h5 >
@@ -280,6 +281,33 @@ <h5 class="propertyValue">Property Value</h5>
280
281
</ tr >
281
282
</ tbody >
282
283
</ table >
284
+
285
+
286
+ < a id ="System_Device_Adc_AdcControllerBase_SupportedResolutionsInBits_ " data-uid ="System.Device.Adc.AdcControllerBase.SupportedResolutionsInBits* "> </ a >
287
+ < h4 id ="System_Device_Adc_AdcControllerBase_SupportedResolutionsInBits " data-uid ="System.Device.Adc.AdcControllerBase.SupportedResolutionsInBits "> SupportedResolutionsInBits</ h4 >
288
+ < div class ="markdown level1 summary "> < p > Gets the resolution(s) of the controller as number of bits it has. For example, if we have a 10-bit ADC, that means it can detect 1024 (2^10) discrete levels.</ p >
289
+ </ div >
290
+ < div class ="markdown level1 conceptual "> </ div >
291
+ < h5 class ="declaration "> Declaration</ h5 >
292
+ < div class ="codewrapper ">
293
+ < pre > < code class ="lang-csharp hljs "> public abstract SampleResolution[] SupportedResolutionsInBits { get; }</ code > </ pre >
294
+ </ div >
295
+ < h5 class ="propertyValue "> Property Value</ h5 >
296
+ < table class ="table table-bordered table-condensed ">
297
+ < thead >
298
+ < tr >
299
+ < th > Type</ th >
300
+ < th > Description</ th >
301
+ </ tr >
302
+ </ thead >
303
+ < tbody >
304
+ < tr >
305
+ < td > < a class ="xref " href ="nanoFramework.GiantGecko.Adc.SampleResolution.html "> SampleResolution</ a > []</ td >
306
+ < td > < p > Array with the resolution(s) that the ADC has support for.</ p >
307
+ </ td >
308
+ </ tr >
309
+ </ tbody >
310
+ </ table >
283
311
< h3 id ="methods "> Methods
284
312
</ h3 >
285
313
@@ -366,7 +394,58 @@ <h5 class="returns">Returns</h5>
366
394
</ thead >
367
395
< tbody >
368
396
< tr >
369
- < td > < a class ="xref " href ="System.Device.Adc.AdcChannel.html "> AdcChannel</ a > </ td >
397
+ < td > < a class ="xref " href ="nanoFramework.GiantGecko.Adc.AdcChannel.html "> AdcChannel</ a > </ td >
398
+ < td > < p > The ADC channel.</ p >
399
+ </ td >
400
+ </ tr >
401
+ </ tbody >
402
+ </ table >
403
+
404
+
405
+ < a id ="System_Device_Adc_AdcControllerBase_OpenChannel_ " data-uid ="System.Device.Adc.AdcControllerBase.OpenChannel* "> </ a >
406
+ < h4 id ="System_Device_Adc_AdcControllerBase_OpenChannel_System_Int32_nanoFramework_GiantGecko_Adc_AdcChannelConfiguration_ " data-uid ="System.Device.Adc.AdcControllerBase.OpenChannel(System.Int32,nanoFramework.GiantGecko.Adc.AdcChannelConfiguration) "> OpenChannel(int, AdcChannelConfiguration)</ h4 >
407
+ < div class ="markdown level1 summary "> < p > Opens a connection to the specified ADC channel with the specified configurations.</ p >
408
+ </ div >
409
+ < div class ="markdown level1 conceptual "> </ div >
410
+ < h5 class ="declaration "> Declaration</ h5 >
411
+ < div class ="codewrapper ">
412
+ < pre > < code class ="lang-csharp hljs "> public abstract AdcChannel OpenChannel(int channelNumber, AdcChannelConfiguration configuration)</ code > </ pre >
413
+ </ div >
414
+ < h5 class ="parameters "> Parameters</ h5 >
415
+ < table class ="table table-bordered table-condensed ">
416
+ < thead >
417
+ < tr >
418
+ < th > Type</ th >
419
+ < th > Name</ th >
420
+ < th > Description</ th >
421
+ </ tr >
422
+ </ thead >
423
+ < tbody >
424
+ < tr >
425
+ < td > < a class ="xref " href ="System.Int32.html "> int</ a > </ td >
426
+ < td > < span class ="parametername "> channelNumber</ span > </ td >
427
+ < td > < p > The channel to connect to.</ p >
428
+ </ td >
429
+ </ tr >
430
+ < tr >
431
+ < td > < a class ="xref " href ="nanoFramework.GiantGecko.Adc.AdcChannelConfiguration.html "> AdcChannelConfiguration</ a > </ td >
432
+ < td > < span class ="parametername "> configuration</ span > </ td >
433
+ < td > < p > Initial configuration for ADC channel.</ p >
434
+ </ td >
435
+ </ tr >
436
+ </ tbody >
437
+ </ table >
438
+ < h5 class ="returns "> Returns</ h5 >
439
+ < table class ="table table-bordered table-condensed ">
440
+ < thead >
441
+ < tr >
442
+ < th > Type</ th >
443
+ < th > Description</ th >
444
+ </ tr >
445
+ </ thead >
446
+ < tbody >
447
+ < tr >
448
+ < td > < a class ="xref " href ="nanoFramework.GiantGecko.Adc.AdcChannel.html "> AdcChannel</ a > </ td >
370
449
< td > < p > The ADC channel.</ p >
371
450
</ td >
372
451
</ tr >
0 commit comments