File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ lang: en
1010
1111# micro: bit I2C Protocol Specification
1212
13- This is version 1.00 of the specification.
13+ This is version 1.01 of the specification.
1414
1515- [ Glossary] ( #glossary )
1616- [ Versioning] ( #versioning )
@@ -163,10 +163,12 @@ Value only includes major version
163163<td >Size 1B e.g. 0x01<br />
164164<pre >typedef enum {
165165 PWR_SOURCE_NONE = 0,
166- PWR_USB_ONLY,
167- PWR_BATT_ONLY,
168- PWR_USB_AND_BATT
169- } power_source_t;</pre ></td >
166+ PWR_USB_ONLY = 0b01,
167+ PWR_BATT_ONLY = 0b10,
168+ PWR_USB_AND_BATT = 0b11 // (*)
169+ } power_source_t;</pre >
170+ * On USB power the battery reading (bit 1) might not be correct due to a hardware bug
171+ </td >
170172</tr >
171173<tr class =" odd " >
172174<td >Power consumption (R)</td >
@@ -419,3 +421,4 @@ This is not yet implemented.
419421| Version | Changes |
420422| ---------| ---------|
421423| 1.00 | Initial release, as implemented in DAPLink 0255 |
424+ | 1.01 | Add note to "Power state" property about the hardware issue detecting battery power when USB power is present. |
You can’t perform that action at this time.
0 commit comments