Trait port_io::PortOut

source ·
pub trait PortOut {
    // Required method
    unsafe fn port_out(port: u16, value: Self);
}
Expand description

This trait is defined for any type which can be read from a port. x86 processors support Port IO for u8, u16 and u32.

Required Methods§

source

unsafe fn port_out(port: u16, value: Self)

Write a value to the specified port.

Implementations on Foreign Types§

source§

impl PortOut for u32

source§

unsafe fn port_out(port: u16, value: Self)

source§

impl PortOut for u16

source§

unsafe fn port_out(port: u16, value: Self)

source§

impl PortOut for u8

source§

unsafe fn port_out(port: u16, value: Self)

Implementors§