Repository navigation
Refactor!: Migrate to device-driver 2.1 #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
472b4a4
Refactor!: Migrate to device-driver 2.1
tullom 9df72c4
Fix test target for the device-driver v2 API
felipebalbi 944c6ba
Type ADC_IBAT as a signed reading
felipebalbi c3ed943
Type ADC_IIN as signed and document its 0.5mA step
felipebalbi 6cdc68f
Name the IIN_DPM register field IIN_DPM
felipebalbi 6bb19a1
Mark the IIN_DPM register read-only
felipebalbi 46dfe61
Mark MANUFACTURE_ID and DEVICE_ID read-only
felipebalbi 10b88a3
Mark the CHARGE_OPTION_4 status bits read-only
felipebalbi 951175b
Name CHARGE_OPTION_3 bit 7 BATFET_ENZ
felipebalbi 5c124ac
Stop inventing a single-phase MODE_STAT topology
felipebalbi e79d704
Document the five fields with a non-zero offset
felipebalbi 94eab8d
Document the 2mV step on ADC_VBUS and ADC_VSYS
felipebalbi f55d8c4
Model ILIM2_VTH, IDCHG_TH2 and VSYS_UVP as enums
felipebalbi 6fb37e5
Fix boltage typo in the IN_VINDPM doc comment
felipebalbi 1442df8
Move the one-bit signedness note out of a field definition
felipebalbi 2d1dc5b
Document that writing zero charge voltage disables charging
felipebalbi df06db5
Wrap DDSL doc comments at 80 columns
felipebalbi 7dc358c
Document the RSNS_RSR dependency of the CHARGE_CURRENT step
felipebalbi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| *.rs text eol=lf | ||
| *.ddsl text eol=lf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| #![allow(missing_docs)] | ||
| fn main() { | ||
| println!("cargo:rebuild-if-changed=device.yaml"); | ||
| println!("cargo:rerun-if-changed=device.ddsl"); | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.