1 / 8

Specifiche

Specifiche. Si consideri un sistema che debba Acquisire dei dati Elaborarli Inviarli in uscita. Soluzione 1. 8086. 8255. PortaA. PortaB. bus. Provvede in software all’acquisizione, elaborazione ed invio dei dati (polling). Soluzione 1. Porta A: input, modo 0 Porta B: output, modo 0.

Télécharger la présentation

Specifiche

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Specifiche Si consideri un sistema che debba • Acquisire dei dati • Elaborarli • Inviarli in uscita.

  2. Soluzione 1 8086 8255 PortaA PortaB bus

  3. Provvede in software all’acquisizione, elaborazione ed invio dei dati (polling) Soluzione 1 Porta A: input, modo 0 Porta B: output, modo 0 8086 8255 PortaA PortaB bus

  4. Codice necessario • Inizializzazione 8255 • Programma principale.

  5. Soluzione 2 8255 PortaA PortaB 8086 8259 INTA IR7 INT 8253 COUNT0 500 kHz

  6. Il processore esegue la IVR, che • Acquisisce i dati • Li elabora • Li invia in output. Porta A: input, modo 0 Porta B: output, modo 0 Soluzione 2 8255 PortaA PortaB 8086 8259 INTA IR7 INT Contatore 0: modo 2 Attiva un interrupt ogni N ms 8253 COUNT0 500 kHz

  7. Codice necessario • Inizializzazione 8255 • Inizializzazione 8253 • Inizializzazione 8259 • Inizializzazione Interrupt Vector Table • Interrupt Service Routine (ISR).

  8. Il processore esegue la IVR, che • Acquisisce i dati • Li elabora • Li invia in output. Porta A: input, modo 1 Porta B: output, modo 0 Soluzione 3 8255 PortaA PortaB 8086 8259 INTA IR7 INT

More Related