摘要 |
A method for interfacing single transfer and burst transfer components, comprising: processing transfer completion of a byte in burst transfer as an interrupt; maintaining the current state of signal lines to prevent occurrence of next interrupt; copying the transferred byte from buffer to memory; and allowing next interrupt; and enabling sending of next byte in burst transfer. This invention interfaces incompatible signaling of the components, and solves the handshake, communication and buffering problems involved. The methods also include polling simulating an interrupt, prevention of premature transfer and overwrite, interrupt on an edge of a busy signal, disabling and enabling clock to maintain current status, packet exchange protocol involving header, body and checksum, command and status packets, copying task waiting on a blocking semaphore which is signaled by interrupt handler task, and signals from a first component routed to a conversion component which generates new signals compatible with the second component.
|