This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
subdevices [2020/04/03 09:49] – [ADC] ursgraf | subdevices [2020/05/26 16:27] – [Counter] ursgraf | ||
---|---|---|---|
Line 66: | Line 66: | ||
===== Counter ===== | ===== Counter ===== | ||
- | All modules which count something can implement this interface. An example for this could be a FQD (fast quadrature decoder). It counts the number of edges of a signal. | + | All modules which count something can implement this interface. An example for this could be a FQD (fast quadrature decoder). It counts the number of edges of a signal. The counter module implements a 16 bit counter, hence, reading the counter value will return only 2 bytes. |
^Offset^Size [byte] ^Name^r/ | ^Offset^Size [byte] ^Name^r/ | ||
|0x20|4|count_0|r|no|counter channel 0| | |0x20|4|count_0|r|no|counter channel 0| |