We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c84f913 commit d3f648cCopy full SHA for d3f648c
src/generate/generic.rs
@@ -198,24 +198,6 @@ where
198
}
199
200
201
-impl<REG: Register<Ux=bool>> R<REG> {
202
- /// Value of the field as raw bits.
203
- #[inline(always)]
204
- pub fn bit(&self) -> bool {
205
- self.bits
206
- }
207
- /// Returns `true` if the bit is clear (0).
208
209
- pub fn bit_is_clear(&self) -> bool {
210
- !self.bit()
211
212
- /// Returns `true` if the bit is set (1).
213
214
- pub fn bit_is_set(&self) -> bool {
215
- self.bit()
216
217
-}
218
-
219
/// Register writer.
220
///
221
/// Used as an argument to the closures in the `write` and `modify` methods of the register.
0 commit comments