Skip to content

Commit

Permalink
registers: Reexport ReadWriteable
Browse files Browse the repository at this point in the history
The tock-registers::interfaces::ReadWriteable trait allows us to use
`modify()` function. It is useful for set flags in clean manner.

Signed-off-by: Akira Moroo <retrage01@gmail.com>
  • Loading branch information
retrage committed Oct 3, 2023
1 parent af65e2c commit 3efa42c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/registers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,4 @@ pub use vtcr_el2::VTCR_EL2;
pub use vttbr_el2::VTTBR_EL2;

#[doc(inline)]
pub use tock_registers::interfaces::{Readable, Writeable};
pub use tock_registers::interfaces::{ReadWriteable, Readable, Writeable};

0 comments on commit 3efa42c

Please sign in to comment.