[][src]Struct nc::types::serial_struct_t

#[repr(C)]
pub struct serial_struct_t {
    pub type_: i32,
    pub line: i32,
    pub port: u32,
    pub irq: i32,
    pub flags: i32,
    pub xmit_fifo_size: i32,
    pub custom_divisor: i32,
    pub baud_base: i32,
    pub close_delay: u16,
    pub io_type: u8,
    pub reserved_char: [u8; 1],
    pub hub6: i32,
    pub closing_wait: u16,
    pub closing_wait2: u16,
    pub iomem_base: *mut u8,
    pub iomem_reg_shift: u16,
    pub port_high: u32,
    pub iomap_base: usize,
}

Fields

type_: i32line: i32port: u32irq: i32flags: i32xmit_fifo_size: i32custom_divisor: i32baud_base: i32close_delay: u16io_type: u8reserved_char: [u8; 1]hub6: i32closing_wait: u16

time to wait before closing

closing_wait2: u16

no longer used...

iomem_base: *mut u8iomem_reg_shift: u16port_high: u32iomap_base: usize

cookie passed into ioremap

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]