Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: OTP.h
- Revision:
- 4:1f708415c442
- Parent:
- 2:af09cade52df
diff -r 1d0c09e43e22 -r 1f708415c442 OTP.h
--- a/OTP.h Tue May 13 11:04:01 2014 +0000
+++ b/OTP.h Tue May 13 13:54:32 2014 +0000
@@ -10,6 +10,7 @@
void write();
void prog();
void set_id(uint8_t id);
+ void clear_registers();
uint32_t factory_section;
uint32_t I2C_A; //I2C address <5:1>
@@ -21,6 +22,9 @@
uint32_t PWMhalfEN_IndexWidth;
private:
+ static const int T_PROG_BURN = 15;
+ static const int T_PROG_REFRESH = 200;
+
DigitalInOut PDIO, CLK;
DigitalOut CSn;
Serial pc;