@@ -9,20 +9,20 @@ pub trait Register {
99/// Trait implemented by readable registers to enable the `read` method.
1010///
1111/// Registers marked with `Writable` can be also `modify`'ed.
12- pub trait ReadableRegister : Register { }
12+ pub trait Readable : Register { }
1313
1414/// Trait implemented by writeable registers.
1515///
1616/// This enables the `write`, `write_with_zero` and `reset` methods.
1717///
1818/// Registers marked with `Readable` can be also `modify`'ed.
19- pub trait WritableRegister : Register { }
19+ pub trait Writable : Register { }
2020
2121/// Reset value of the register.
2222///
2323/// This value is the initial value for the `write` method. It can also be directly written to the
2424/// register by using the `reset` method.
25- pub trait ResettableRegister : Register {
25+ pub trait Resettable : Register {
2626 /// Reset value of the register.
2727 fn reset_value ( ) -> Self :: Ux ;
2828}
5050 }
5151}
5252
53- impl < REG : ReadableRegister > Reg < REG >
53+ impl < REG : Readable > Reg < REG >
5454where
5555 REG :: Ux : Copy ,
5656{
7575 }
7676}
7777
78- impl < REG : ResettableRegister + WritableRegister > Reg < REG >
78+ impl < REG : Resettable + Writable > Reg < REG >
7979where
8080 REG :: Ux : Copy ,
8181{
@@ -117,7 +117,7 @@ where
117117 }
118118}
119119
120- impl < REG : WritableRegister > Reg < REG >
120+ impl < REG : Writable > Reg < REG >
121121where
122122 REG :: Ux : Copy + Default ,
123123{
@@ -139,7 +139,7 @@ where
139139 }
140140}
141141
142- impl < REG : ReadableRegister + WritableRegister > Reg < REG >
142+ impl < REG : Readable + Writable > Reg < REG >
143143where
144144 REG :: Ux : Copy ,
145145{
0 commit comments