MD4331-d1G-MECH M-Systems Inc., MD4331-d1G-MECH Datasheet - Page 73

no-image

MD4331-d1G-MECH

Manufacturer Part Number
MD4331-d1G-MECH
Description
Mobile Diskonchip G3 Data Sheet
Manufacturer
M-Systems Inc.
Datasheet
10.5 Implementing the Interrupt Mechanism
10.5.1 Hardware Configuration
To configure the hardware for working with the interrupt mechanism, connect the IRQ# pin/ball to
the host interrupt input.
Note: A nominal 10 KΩ pull-up resistor must be connected to this pin/ball.
10.5.2 Software Configuration
Configuring the software to support the IRQ# interrupt is performed in two stages.
Stage 1
Configure the software so that when the system is initialized, the following steps occur:
1.
2.
3.
4.
Stage 2
Configure the software so that for every long flash I/O operation, the following steps occur:
1.
2.
3.
4.
70
The correct value is written to the Interrupt Control register to configure Mobile DiskOnChip
G3 for:
Note: Refer to Section 8 for further information on the value to write to this register.
The host interrupt is configured to the selected input sensitivity, either edge or level-triggered.
The handshake mechanism between the interrupt handler and the OS is initialized.
The interrupt service routine to the host interrupt is connected and enabled.
The correct value is written to the Interrupt Control register to enable the IRQ# interrupt.
Note: Refer to Section 8 for further information on the value to write to this register.
The flash I/O operation starts.
Control is returned to the OS to continue other tasks. When the IRQ# interrupt is received,
other interrupts are disabled and the OS is flagged.
The OS either returns control immediately to the TrueFFS driver, or waits for the appropriate
condition to return control to the TrueFFS driver.
Interrupt source: Flash ready, data protection, last byte during DMA has been transferred,
or BCH ECC error has been detected (used during multi-page DMA operations).
Output sensitivity: Either edge or level-triggered
Data Sheet, Rev. 1.0
Mobile DiskOnChip G3
91-SR-011-05-8L

Related parts for MD4331-d1G-MECH