Trait nrf51_hal::rng::Read
[−]
[src]
pub trait Read { type Error; fn read(&mut self, buffer: &mut [u8]) -> Result<(), Self::Error>; }
Blocking read
Associated Types
type Error
Error type
Required Methods
fn read(&mut self, buffer: &mut [u8]) -> Result<(), Self::Error>
Reads enough bytes from hardware random number generator to fill buffer