.Modelica_DeviceDrivers.EmbeddedTargets.AVR.Blocks.ADC

Information

ADC

The AVR ADC (analog-to-digital converter) takes as parameters a selection of which voltage reference input to use (voltageReferenceSelect), what voltage this reference voltage has (voltageReference), the analogPort (which analog input to convert to a digital value) and which prescaler to use (prescaler, might be automatically chosen if the used AVR platform had known constants for this). The output is continuously read (at each time step), producing a voltage between 0 and voltageReference.


Generated at 2024-12-22T19:25:51Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos