
M1 = 0 is mode 0 for group B. Input / Output
M1 = 1 is mode 1 for group B. Strobed Input / Output
The Ports A, B, C High and C Low can be independently programmed for input or output.
The two groups of ports, group A and group B, can be independently programmed in one of several
modes. The most commonly used mode is mode 0, input / output mode. The codes for programming the
8255 in this mode are shown in Table 6-5 below.
Table 6-5. Programming Codes for the 82C55 Chip
ININININ1559B1111
OUTINININ1549A0111
INOUTININ153991011
OUTOUTININ152980011
ININOUTIN147931101
OUTINOUTIN146920101
INOUTOUTIN145911001
OUTOUTOUTIN144900001
INININOUT1398B1110
OUTININOUT1388A0110
INOUTINOUT137891010
OUTOUTINOUT136880010
ININOUTOUT131831100
OUTINOUTOUT130820100
INOUTOUTOUT129811000
OUTOUTOUTOUT128800000
CLBCUADECHEXD0D1D3D4
NOTE:
D7 is always 1; D6, D5, and D2 are always 0.
6.1.12 CONVERT DISABLE REGISTER
BASE ADDRESS + 404h
TTTTTTTT
01234567
WRITE ONLY. Writing a 0 to this register enables triggering of the A/D converter if the DAS1600
mode is enabled. On power-up or reset this register is reset to conversion triggers enabled. Writing a
40 hex to this register disables A/D conversions.
6.1.13 BURST MODE ENABLE REGISTER
BASE ADDRESS + 405h
BBBBBBBB
01234567
WRITE ONLY. Burst mode enable. Writing 40 hex to this register enables the burst trigger. Writing 0
to this register disables burst trigger. On power-up or reset the burst trigger is disabled.
29
Kommentare zu diesen Handbüchern