[−][src]Struct ral::R
Methods
impl<ValueType, RegisterType> R<ValueType, RegisterType> where
ValueType: Copy + Not<Output = ValueType> + BitAnd<Output = ValueType> + BitOr<Output = ValueType>,
RegisterType: Register<RegisterType = RegisterType, ValueType = ValueType>,
[src]
ValueType: Copy + Not<Output = ValueType> + BitAnd<Output = ValueType> + BitOr<Output = ValueType>,
RegisterType: Register<RegisterType = RegisterType, ValueType = ValueType>,
pub fn new(register: *mut VolatileCell<ValueType>) -> Option<Self>
[src]
pub fn get_bits(&self) -> ValueType
[src]
pub fn set_bits(&mut self, bits: ValueType)
[src]
pub fn read(&mut self)
[src]
pub fn write(&mut self)
[src]
Trait Implementations
impl<'_, ValueType, RegisterType> Into<*mut VolatileCell<ValueType>> for &'_ mut R<ValueType, RegisterType> where
ValueType: Copy + Not<Output = ValueType> + BitAnd<Output = ValueType> + BitOr<Output = ValueType>,
RegisterType: Register<RegisterType = RegisterType, ValueType = ValueType>,
[src]
ValueType: Copy + Not<Output = ValueType> + BitAnd<Output = ValueType> + BitOr<Output = ValueType>,
RegisterType: Register<RegisterType = RegisterType, ValueType = ValueType>,
fn into(self) -> *mut VolatileCell<ValueType>
[src]
Auto Trait Implementations
impl<ValueType, RegisterType> Unpin for R<ValueType, RegisterType> where
RegisterType: Unpin,
ValueType: Unpin,
RegisterType: Unpin,
ValueType: Unpin,
impl<ValueType, RegisterType> !Send for R<ValueType, RegisterType>
impl<ValueType, RegisterType> !Sync for R<ValueType, RegisterType>
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,