[][src]Struct virt_ic::chip::memory::Rom256B

pub struct Rom256B { /* fields omitted */ }

A 256-bytes ROM chip

Diagram

CS: Chip Select WE: Write Enable OE: Output Enable A0-7: Addresses IO0-7: Input/Output

        ---__---
  !CS --|1   22|-- VCC
UNUSED--|2   21|-- UNUSED
  !OE --|3   20|-- IO7
   A0 --|4   19|-- IO6
   A1 --|5   18|-- IO5
   A2 --|6   17|-- IO4
   A3 --|7   16|-- IO3
   A4 --|8   15|-- IO2
   A5 --|9   14|-- IO1
   A6 --|10  13|-- IO0
  GND --|11  12|-- A7
        --------

Implementations

impl Rom256B[src]

pub const CS: u8[src]

pub const OE: u8[src]

pub const A0: u8[src]

pub const A1: u8[src]

pub const A2: u8[src]

pub const A3: u8[src]

pub const A4: u8[src]

pub const A5: u8[src]

pub const A6: u8[src]

pub const A7: u8[src]

pub const IO0: u8[src]

pub const IO1: u8[src]

pub const IO2: u8[src]

pub const IO3: u8[src]

pub const IO4: u8[src]

pub const IO5: u8[src]

pub const IO6: u8[src]

pub const IO7: u8[src]

pub const VCC: u8[src]

pub const GND: u8[src]

pub fn new() -> Self[src]

pub fn from_data(data: [u8; 256]) -> Rom256B[src]

pub fn load_data(&mut self, data: [u8; 256])[src]

Trait Implementations

impl Chip for Rom256B[src]

impl Debug for Rom256B[src]

impl Default for Rom256B[src]

impl ToString for Rom256B[src]

Auto Trait Implementations

impl !RefUnwindSafe for Rom256B

impl !Send for Rom256B

impl !Sync for Rom256B

impl Unpin for Rom256B

impl !UnwindSafe for Rom256B

Blanket Implementations

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

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

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

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

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

impl<T> ToString for T where
    T: Display + ?Sized
[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> 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<V, T> VZip<V> for T where
    V: MultiLane<T>,