Cov txheej txheem:

Muaj pes tsawg I O hom muaj nyob rau hauv 8255a programmable peripheral interface?
Muaj pes tsawg I O hom muaj nyob rau hauv 8255a programmable peripheral interface?

Video: Muaj pes tsawg I O hom muaj nyob rau hauv 8255a programmable peripheral interface?

Video: Muaj pes tsawg I O hom muaj nyob rau hauv 8255a programmable peripheral interface?
Video: Vajtswv 10 nqe kev cai puas tau hloov 2024, Kaum ib hlis
Anonim

ob hom

Tom qab ntawd, programmable peripheral interface yog dab tsi?

Programmable peripheral interface 8255. PPI 8255 yog lub hom phiaj dav dav programmable I/O ntaus ntawv tsim los rau interface lub CPU nrog nws lub ntiaj teb sab nraud xws li ADC, DAC, keyboard thiab lwm yam. Peb tuaj yeem ua nws raws li cov xwm txheej muab. Nws tuaj yeem siv nrog yuav luag txhua microprocessor.

Tsis tas li ntawd, lwm lub npe ntawm strobed input output hom yog dab tsi? Peb hu hom 1 as ua strobed Input Output los yog tuav tes Input Output . Peb siv qhov no hom thaum cov ntaub ntawv muab los ntawm lub nkag ntaus ntawv mus rau microprocessor ntawm lub sijhawm tsis tu ncua. Ib qhov chaw nres nkoj uas ua haujlwm rau qhov program hauv hom siv peb lub cim tuav tes. Cov teeb liab sib tuav tes no yog muab los ntawm Port C.

Raws li txoj cai, cov qauv sib txawv ntawm 8255 yog dab tsi?

8255 microprocessor kev khiav hauj lwm hom

  • Bit Set Reset (BSR) Hom.
  • Hom tswv yim / Output.
  • Hom 0 โ€“ Yooj yim lossis yooj yim I / O hom.
  • Hom 1 โ€“ Handshake lossis Strobed I/O.
  • Hom 3 โ€“ Bidirectional I/O.

Qhov chaw nres nkoj twg tuaj yeem ua haujlwm hauv hom 2 hauv 8255?

Hom 2 - Bidirectional I / O: Hauv qhov no hom nkaus xwb chaw nres nkoj A yuav ua haujlwm , chaw nres nkoj B ua tau ob yog nyob rau hauv hom 0o1i ib chaw nres nkoj C cov khoom siv los ua kev sib tuav tes. Cov outputs thiab inputs yog latched. Nws muaj peev xwm ua haujlwm cuam tshuam.

Pom zoo: