Arianna autonomous DAQ firmware
Dependencies: mbed SDFileSystemFilinfo AriSnProtocol NetServicesMin AriSnComm MODSERIAL PowerControlClkPatch DS1820OW
SnLPC1768UID.h@125:ce4045184366, 2019-06-05 (annotated)
- Committer:
- uci1
- Date:
- Wed Jun 05 17:29:31 2019 +0000
- Revision:
- 125:ce4045184366
- Parent:
- 116:8099b754fbb4
Added SnRateListner proto-class, publishing this version of the code in order to enable exporting of most recent features.
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 |