Struct kernel::drivers::pio::PIO8 [] [src]

pub struct PIO8 {
    // some fields omitted
}

PIO8

Methods

impl PIO8

fn new(port: u16) -> Self

Create a PIO8 from a given port

unsafe fn read(&self) -> u8

Read

unsafe fn write(&mut self, value: u8)

Write

Trait Implementations

Derived Implementations

impl Clone for PIO8

fn clone(&self) -> PIO8

fn clone_from(&mut self, source: &Self)

impl Copy for PIO8