File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ pub enum Range {
2323 NAPOT = 0b11 ,
2424}
2525
26- /// Pmp struct holds a readable configuration of a single pmp
26+ /// Pmp struct holds a high-level representation of a single pmp configuration
2727#[ derive( Clone , Copy , Debug ) ]
2828pub struct Pmp {
2929 /// raw bits
@@ -37,12 +37,12 @@ pub struct Pmp {
3737}
3838
3939pub struct Pmpcsr {
40- /// Holds the raw contents of the PMP CSR Register
40+ /// Holds the raw contents of a PMP CSR Register
4141 pub bits : usize ,
4242}
4343
4444impl Pmpcsr {
45- /// Take the register contents and translates into a Pmp configuration struct
45+ /// Take the register contents and translate into a Pmp configuration struct
4646 #[ inline]
4747 pub fn into_config ( & self , index : usize ) -> Pmp {
4848 #[ cfg( riscv32) ]
You can’t perform that action at this time.
0 commit comments