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 22be238 commit 892abdaCopy full SHA for 892abda
src/rng.rs
@@ -113,11 +113,13 @@ impl Rng<Running> {
113
}
114
115
/// Check if the seed error flag is set
116
+ #[inline(always)]
117
pub fn is_seed_error(&self) -> bool {
118
unsafe { (*RNG::ptr()).sr().read().seis().bit_is_set() }
119
120
121
/// Check if the clock error flag is set
122
123
pub fn is_clock_error(&self) -> bool {
124
unsafe { (*RNG::ptr()).sr().read().ceis().bit_is_set() }
125
0 commit comments