From 3efa42c8676e1fecee64de23e8f93039f2bd2197 Mon Sep 17 00:00:00 2001 From: Akira Moroo Date: Tue, 3 Oct 2023 20:11:46 +0900 Subject: [PATCH] registers: Reexport `ReadWriteable` 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 --- src/registers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/registers.rs b/src/registers.rs index 79bae6a..6ab5c19 100644 --- a/src/registers.rs +++ b/src/registers.rs @@ -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};