Arianna autonomous DAQ firmware
Dependencies: mbed SDFileSystemFilinfo AriSnProtocol NetServicesMin AriSnComm MODSERIAL PowerControlClkPatch DS1820OW
SnLPC1768UID.h@116:8099b754fbb4, 2016-05-03 (annotated)
- Committer:
- uci1
- Date:
- Tue May 03 02:01:35 2016 +0000
- Revision:
- 116:8099b754fbb4
One program for all stns via UID/MAC lookup table or generation. Status sends number trg/evt and livetime, not rates. Add 512 sample evt and RFFT-LUTs. Add L1Scaledown trg bit. Allow skip SST reset at start. Fix dt at end of seq. End of comm signal.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
uci1 | 116:8099b754fbb4 | 1 | #ifndef SN_SnLPC1768UID |
uci1 | 116:8099b754fbb4 | 2 | #define SN_SnLPC1768UID |
uci1 | 116:8099b754fbb4 | 3 | |
uci1 | 116:8099b754fbb4 | 4 | /* |
uci1 | 116:8099b754fbb4 | 5 | * How to read LPC1768 part ID and device serial number |
uci1 | 116:8099b754fbb4 | 6 | * Dan Minear |
uci1 | 116:8099b754fbb4 | 7 | * 2012-11-08 |
uci1 | 116:8099b754fbb4 | 8 | */ |
uci1 | 116:8099b754fbb4 | 9 | |
uci1 | 116:8099b754fbb4 | 10 | #include <stdint.h> |
uci1 | 116:8099b754fbb4 | 11 | |
uci1 | 116:8099b754fbb4 | 12 | #include "SnPreCompOptions.h" |
uci1 | 116:8099b754fbb4 | 13 | |
uci1 | 116:8099b754fbb4 | 14 | class SnLPC1768UID { |
uci1 | 116:8099b754fbb4 | 15 | public: |
uci1 | 116:8099b754fbb4 | 16 | |
uci1 | 116:8099b754fbb4 | 17 | static const uint8_t kUIDlen = 4; // number of UID values |
uci1 | 116:8099b754fbb4 | 18 | |
uci1 | 116:8099b754fbb4 | 19 | static |
uci1 | 116:8099b754fbb4 | 20 | bool GetUID(uint32_t uid[SnLPC1768UID::kUIDlen]); |
uci1 | 116:8099b754fbb4 | 21 | |
uci1 | 116:8099b754fbb4 | 22 | }; |
uci1 | 116:8099b754fbb4 | 23 | |
uci1 | 116:8099b754fbb4 | 24 | #endif // SN_SnLPC1768UID |