Skip to content

Commit

Permalink
Merge pull request #2071 from tock/fix-register-docs
Browse files Browse the repository at this point in the history
Update tock-registers doc to fix mistake
  • Loading branch information
bradjc committed Aug 14, 2020
2 parents 5a1e105 + 6645331 commit f5f0913
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions libraries/tock-register-interface/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,8 @@ Bitfields are defined through the `register_bitfields!` macro:

```rust
register_bitfields! [
// First parameter is the register width for the bitfields. Can be u8, u16,
// u32, or u64.
u8,
// First parameter is the register width. Can be u8, u16, u32, or u64.
u32,

// Each subsequent parameter is a register abbreviation, its descriptive
// name, and its associated bitfields.
Expand Down

0 comments on commit f5f0913

Please sign in to comment.