Arianna autonomous DAQ firmware
Dependencies: mbed SDFileSystemFilinfo AriSnProtocol NetServicesMin AriSnComm MODSERIAL PowerControlClkPatch DS1820OW
Diff: SnLPC1768UID.h
- Revision:
- 116:8099b754fbb4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SnLPC1768UID.h Tue May 03 02:01:35 2016 +0000 @@ -0,0 +1,24 @@ +#ifndef SN_SnLPC1768UID +#define SN_SnLPC1768UID + +/* + * How to read LPC1768 part ID and device serial number + * Dan Minear + * 2012-11-08 + */ + +#include <stdint.h> + +#include "SnPreCompOptions.h" + +class SnLPC1768UID { + public: + + static const uint8_t kUIDlen = 4; // number of UID values + + static + bool GetUID(uint32_t uid[SnLPC1768UID::kUIDlen]); + +}; + +#endif // SN_SnLPC1768UID