packageConstants
Extends from Modelica.Icons.Package.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SIunits.Frequency[Types.Platform] | cpuFrequency | {0, 8e6, 16e6} | Default frequency on the given microcontroller. Returns 0 if unknown. |
| SIunits.Frequency[Types.Platform,Types.TimerSelect,Types.TimerPrescaler] | prescalerTimer | {timerUnknown, timerATmega16, timerATmega328P} | Lookup-table from pre-scaler enumeration (and platform/timer tuple) to the corresponding value (0 means this prescaler is not available on the MCU) |
| SIunits.Frequency[Types.AnalogPrescaler] | prescalerAnalog | {2, 4, 8, 16, 32, 64, 128} | Lookup-table from analog pre-scaler enumeration to the corresponding value |
| SIunits.Frequency[Types.Platform] | minADCFrequency | {0, 50e3, 50e3} | Minimum recommended frequency of the ADC |
| SIunits.Frequency[Types.Platform] | maxADCFrequency | {0, 200e3, 200e3} | Maximum recommended frequency of the ADC |
| Integer[Types.Platform] | adcResolution | {0, 10, 10} | Bits of resolution in the ADC |
| String | spaces_16 | " " | 16 spaces |