ch11-82C55PPI

ch11-82C55PPI - Programmable Peripheral Interface 82C55 EE...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Programmable Peripheral Interface — 82C55 EE 3750 2 3 ports, 2 groups 82C55 is a parallel interface Contains 3 8-bit ports port A port B port C These are treated as 2 groups group A (port A and upper half of port C) group B (port B and lower half of port C) Why split port C? In some modes, part of port C carries control signals, rather than serving as an I/O port.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
3 Operational modes Mode 0 - basic input/output Mode 1 - strobed input/output Mode 2 - bidirectional input/output figure from Brey 4 Programming the 82C55 Command register 1 1 Port C 0 1 Port B 1 0 Port A 0 0 Function A_0 A_1 Port addresses Command register contents: A - setting ports A, B, C; B - set/reset bits of port C
Background image of page 2
figure from Brey 5 Example initialization Command register 1 1 Port C 0 1 Port B 1 0 Port A 0 0 Function A_0 A_1 Write an 8086 instruction sequence to initialize an 82C55 programmable peripheral interface. Set Group A to operate in Mode 0 with Port A as an input port and the upper part of Port C (PC7-
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 6

ch11-82C55PPI - Programmable Peripheral Interface 82C55 EE...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online