Trait drone_core::reg::RawBits [] [src]

pub trait RawBits<R, T> {
    fn write(&mut self, offset: u32, set: bool) -> &mut Self;
fn read(&self, offset: u32) -> bool; }

Types, that can write to distinct bits.

Required Methods

Sets or clears a bit by offset.

Panics

If offset is greater or equals to 0x20.

Checks that a bit by offset is set.

Panics

If offset is greater or equals to 0x20.

Implementors