#[repr(C)]pub struct VersatileEmbeddedRetroAdapter {Show 13 fields
pub address: RW<u16>,
pub address_hi: RW<u8>,
pub data0: RW<u8>,
pub data1: RW<u8>,
pub control: RW<ControlFlags>,
pub irq_enable: RW<u8>,
pub irq_flags: RW<u8>,
pub irq_raster: RW<u8>,
pub display_composer: DisplayComposer,
pub layer0: Layer,
pub layer1: Layer,
pub audio: Audio,
pub spi: SPIController,
}Expand description
Versatile Embedded Retro Adapter (VERA) graphics chip
Fields§
§address: RW<u16>VRAM Address 0-16 (offset 0x00)
address_hi: RW<u8>ADDRx_H - Address (offset 0x02)
data0: RW<u8>DATA0 - VRAM Data port 0 (offset 0x03)
data1: RW<u8>DATA1 - VRAM Data port 1 (offset 0x04)
control: RW<ControlFlags>CTRL - Control, offset 0x05
irq_enable: RW<u8>IEN - Interrupt enable, offset 0x06
irq_flags: RW<u8>ISR - Interrupt flags, offset 0x07
irq_raster: RW<u8>IRQLINE_L - Interrupt raster, offset 0x08
IRQLINE specifies at which line the LINE interrupt will be generated.
Note that bit 8 of this value is present in the IEN register.
For interlaced modes the interrupt will be generated each field and the bit 0 of IRQ_LINE is ignored.
display_composer: DisplayComposerDC_VIDEO - Display composer
layer0: Layer§layer1: Layer§audio: AudioAudio (offset 0x1b)
spi: SPIControllerAuto Trait Implementations§
impl !Freeze for VersatileEmbeddedRetroAdapter
impl !RefUnwindSafe for VersatileEmbeddedRetroAdapter
impl Send for VersatileEmbeddedRetroAdapter
impl !Sync for VersatileEmbeddedRetroAdapter
impl Unpin for VersatileEmbeddedRetroAdapter
impl UnwindSafe for VersatileEmbeddedRetroAdapter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more