Trait kernel::cpu::IoPortInt

source ·
pub trait IoPortInt {
    // Required methods
    fn io_out(port: u16, val: Self);
    fn io_in(port: u16) -> Self;
}

Required Methods§

source

fn io_out(port: u16, val: Self)

source

fn io_in(port: u16) -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl IoPortInt for u8

source§

fn io_out(port: u16, val: Self)

source§

fn io_in(port: u16) -> Self

source§

impl IoPortInt for u16

source§

fn io_out(port: u16, val: Self)

source§

fn io_in(port: u16) -> Self

source§

impl IoPortInt for u32

source§

fn io_out(port: u16, val: Self)

source§

fn io_in(port: u16) -> Self

Implementors§