
5.2 Data Port B Control Register (Base + 1)
The Data Port B Control Register contains the control bits for I/O channels DATA8 - DATA15.
Each I/O channel may be individually programmed for input by writing a '1' to the
appropriate bit of this register.
General Purpose I/O bit 8
General Purpose I/O bit 9
General Purpose I/O bit 10
General Purpose I/O bit 11
General Purpose I/O bit 12
General Purpose I/O bit 13
General Purpose I/O bit 14
General Purpose I/O bit 15
DescriptionNameBit
Table 5-3. Data Port B Control Register
5.3 Data Port C Control Register (Base + 2)
The Data Port C Control Register contains the control bits for I/O channels DATA16 -
DATA23. Each I/O channel may be individually programmed for input by writing a '1' to the
appropriate bit of this register. In addition, any of these eight I/O channels which are
programmed for input may also be used to generate interrupts. In order to program an I/O
channel as an interrupt source, the Port C Interrupt Enable Register must be set appropriately.
The I/O channel must also be programmed for input by writing a '1' to the appropriate bit of
the Data Port C Control Register.
General Purpose I/O bit 16 and Interrupt Line 0
General Purpose I/O bit 17 and Interrupt Line 1
General Purpose I/O bit 18 and Interrupt Line 2
General Purpose I/O bit 19 and Interrupt Line 3
General Purpose I/O bit 20 and Interrupt Line 4
General Purpose I/O bit 21 and Interrupt Line 5
General Purpose I/O bit 22 and Interrupt Line 6
General Purpose I/O bit 23 and Interrupt Line 7
DescriptionNameBit
Table 5-4. Data Port C Control Register
Kommentare zu diesen Handbüchern