• R/O
  • HTTP
  • SSH
  • HTTPS

stock.osdn: Commit

definitions & routines shared by projects


Commit MetaInfo

Revisiondb9ca55a3532ac653b3248c5e44ed2c67572f73a (tree)
Time2020-07-04 17:10:45
AuthorPawel Jewstafjew <Pawel.Jewstafjew@gmai...>
CommiterPawel Jewstafjew

Log Message

hw/ADS1299.h: ADS_ID_CHx

Change Summary

Incremental Difference

--- a/hw/ADS1299.h
+++ b/hw/ADS1299.h
@@ -53,9 +53,12 @@ enum {
5353
5454 enum {
5555 // ADS_REG_ID
56- ADS_ID_1299 = 0x1E, // ID reg value, ADS1299 (8 channels)
57- ADS_ID_1299_6 = 0x1D, // ID reg value, ADS1299-6 (6 channels)
58- ADS_ID_1299_4 = 0x1C, // ID reg value, ADS1299-4 (4 channels)
56+ ADS_ID_CH4 = 0, // ID reg, NU_CH field, ADS1299-4 (4 channels)
57+ ADS_ID_CH6 = 1, // ID reg, NU_CH field, ADS1299-6 (6 channels)
58+ ADS_ID_CH8 = 2, // ID reg, NU_CH field, ADS1299 (8 channels)
59+ ADS_ID_1299_4 = 0x1C | ADS_ID_CH4, // ID reg value, ADS1299-4
60+ ADS_ID_1299_6 = 0x1C | ADS_ID_CH6, // ID reg value, ADS1299-6
61+ ADS_ID_1299 = 0x1C | ADS_ID_CH8, // ID reg value, ADS1299
5962 ADS_ID_MASK = 0x1F, // ID reg mask (ignore REV_ID)
6063
6164 // ADS_REG_CONFIG1
Show on old repository browser