Trait drone_stm32::reg::WRegBitBand [] [src]

pub trait WRegBitBand<T> where
    Self: RegBitBand<T> + WReg<T>,
    T: RegFlavor
{ fn set_bit_band(&self, offset: usize, value: bool);
fn bit_band_mut_ptr(&self, offset: usize) -> *mut usize; }

Register that can write bits through peripheral bit-band region.

Required Methods

Atomically sets or clears the register's bit by offset through peripheral bit-band region.

Panics

If offset is greater than or equals to the platform's word size in bits.

Returns an unsafe mutable pointer to the corresponding bit-band address.

Panics

If offset is greater than or equals to the platform's word size in bits.

Implementors