Struct syscall::io::Pio
[−]
[src]
pub struct Pio<T> { /* fields omitted */ }
Generic PIO
Methods
impl<T> Pio<T>
[src]
Trait Implementations
impl<T: Copy> Copy for Pio<T>
[src]
impl<T: Clone> Clone for Pio<T>
[src]
fn clone(&self) -> Pio<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Io for Pio<u8>
[src]
Read/Write for byte PIO
type Value = u8
fn read(&self) -> u8
[src]
Read
fn write(&mut self, value: u8)
[src]
Write
fn readf(&self, flags: Self::Value) -> bool
[src]
fn writef(&mut self, flags: Self::Value, value: bool)
[src]
impl Io for Pio<u16>
[src]
Read/Write for word PIO
type Value = u16
fn read(&self) -> u16
[src]
Read
fn write(&mut self, value: u16)
[src]
Write
fn readf(&self, flags: Self::Value) -> bool
[src]
fn writef(&mut self, flags: Self::Value, value: bool)
[src]
impl Io for Pio<u32>
[src]
Read/Write for doubleword PIO