25
8Bit Single Chip Microcontroller DMC73C167
Table 5-2. P6 0106h ADATA A Port Data
Bit 7 6 5 4 3 2 1 0
R
W
ADATA7 ADATA6 ADATA5 ADATA4 ADATA3 ADATA2 ADATA1 ADATA0
Special - - INT5_0 INT3_0 INT1 ECI2 ECI1 ADIN
Table 5-3. A Port Control Register Operation
ADDRn Driection ADATAn(Read) ADATAn(Write)
0 Input Port 0 ; Input 'Low' Invalid
1 : Input 'High'
1 Output Port Written Data 0 ; Output 'Low'
1 : Output 'High'
Note :
Special usage for Pin A0 to A5 is as follows.
ADIN : Analog signal for 4-bit ADC is acceptable through Pin A0. Bit 0 for the A/D
control register (ADCTL, P16) controls digital input or analog input.
To use analog input, pin A0 must be in input mode (ADDR0-0).
ECI1 : Event counter input for Timer 1
The external clock from Pin A1 can be directly connected to the clock source of
Timer 1. T1SRC (bit 5 of P22) selects the source of Timer 1.
See Timer 1 operation for more details.
ECI2 : Event counter input for Timer 2.
The external clock from Pin A2 can be directly connected to the clock source of
Timer 2. T2SRC (bit 5 of P25) selects the source of Timer 2.
See Timer 2 operation for more details.
INT1 : External interrupt 1 is triggered by the falling and rising transition of Pin A3,
which must be in input mode to be used as an interrupt source. This pin
can also be used as a normal input port while the interrupt is activated.
INT3_0 : External interrupt 3_0 is triggered by the falling and rising transition of
Pin A4, which must be in input mode to be used as an interrupt source.
This pin can also be used as a normal input port while the interrupt is
activated.
£Ä£Á£Å£×£Ï£Ï
DAEWOO ELECTRONICS CO., LTD.