[−][src]Struct virt_ic::chip::memory::Ram256B
A 256-bytes RAM chip
Diagram
CS: Chip Select WE: Write Enable OE: Output Enable A0-7: Addresses IO0-7: Input/Output
---__---
!CS --|1 22|-- VCC
!WE --|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 Ram256B[src]
pub const CS: u8[src]
pub const WE: 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]
Trait Implementations
impl Chip for Ram256B[src]
fn get_pin_qty(&self) -> u8[src]
fn get_pin(&mut self, pin: u8) -> Result<Rc<RefCell<Pin>>, &str>[src]
fn run(&mut self, _: Duration)[src]
fn get_pin_state(&mut self, pin: u8) -> State[src]
fn set_pin_state(&mut self, pin: u8, state: &State)[src]
impl Debug for Ram256B[src]
impl Default for Ram256B[src]
impl ToString for Ram256B[src]
Auto Trait Implementations
impl !RefUnwindSafe for Ram256B
impl !Send for Ram256B
impl !Sync for Ram256B
impl Unpin for Ram256B
impl !UnwindSafe for Ram256B
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,