This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
subdevices [2020/05/28 12:20] – [Info Subdevice] ursgraf | subdevices [2020/06/03 14:48] – [ADC] ursgraf | ||
---|---|---|---|
Line 25: | Line 25: | ||
===== ADC ===== | ===== ADC ===== | ||
- | This function is used to gather analog input data from an ADC. | + | This function is used to gather analog input data from an ADC. The ADC is connected through SPI. Make sure to set the base clock of this subdevice correctly, because the serial clock is derived from that clock. |
^Offset^Size [byte] ^Name^r/ | ^Offset^Size [byte] ^Name^r/ | ||
|0x20|4|resolution|r|yes|this is the number of resolvable digital steps| | |0x20|4|resolution|r|yes|this is the number of resolvable digital steps| |