CP80S54E ETC2 [List of Unclassifed Manufacturers], CP80S54E Datasheet - Page 10

no-image

CP80S54E

Manufacturer Part Number
CP80S54E
Description
EPROM/ROM-Based 8-Bit Microcontroller Series
Manufacturer
ETC2 [List of Unclassifed Manufacturers]
Datasheet
2.1.6 PORTA & PORTB (Port Data Registers)
Reading the port (PORTA, PORTB register) reads the status of the pins independent of the pin’s input/output modes.
Writing to these ports will write to the port data latch.
PORTA and PORTB are 8-bit port data Registers.
2.1.7 PCON (Power Control Register)
Bit3:Bit0 : Not used. Read as “0”s.
ROC : R-option function of IOA0 and IOA1 pins enable bit.
LVDTE : LVDT (low voltage detector) enable bit.
EIS : Define the function of IOB0/INT pin.
WDTE : WDT (watch-dog timer) enable bit.
2.1.8 WUCON (Port B Input Change Interrupt/Wake-up Control Register)
WUB0 : = 0, Disable the input change interrupt/wake-up function of IOB0 pin.
WUB1 : = 0, Disable the input change interrupt/wake-up function of IOB1 pin.
WUB2 : = 0, Disable the input change interrupt/wake-up function of IOB2 pin.
WUB3 : = 0, Disable the input change interrupt/wake-up function of IOB3 pin.
WUB4 : = 0, Disable the input change interrupt/wake-up function of IOB4 pin.
05h (r/w)
06h (r/w)
08h (r/w)
09h (r/w)
Address
Address
Address
= 0, IOB0 (bi-directional I/O pin) is selected. The path of INT is masked.
= 1, INT (external interrupt pin) is selected. In this case, the I/O control bit of IOB0 must be set to “1”. The path
= 0, Disable the R-option function.
= 1, Enable the R-option function. In this case, if a 430KΩ external resister is connected/disconnected to Vss,
= 1, Enable the input change interrupt/wake-up function of IOB0 pin.
= 1, Enable the input change interrupt/wake-up function of IOB1 pin.
= 1, Enable the input change interrupt/wake-up function of IOB2 pin.
= 1, Enable the input change interrupt/wake-up function of IOB3 pin.
= 0, Disable WDT.
= 1, Enable WDT.
= 0, Disable LVDT.
= 1, Enable LVDT.
of Port B input change of IOB0 pin is masked by hardware, the status of INT pin can also be read by way
of reading PORTB.
the status of IOA0 (IOA1) is read as “0”/”1”.
WUCON
PORTB
PORTA
PCON
Name
Name
Name
WDTE
WUB7
IOA7
IOB7
B7
B7
B7
WUB6
IOA6
IOB6
EIS
B6
B6
B6
LVDTE
WUB5
IOA5
IOB5
B5
B5
B5
WUB4
IOA4
IOB4
ROC
B4
B4
B4
WUB3
IOA3
IOB3
B3
B3
B3
-
CP80S54/56
WUB2
IOA2
IOB2
B2
B2
B2
-
WUB1
IOA1
IOB1
Rev0.1 Nov 30, 2005
B1
B1
B1
-
P.10/CP80S54/S56
WUB0
IOA0
IOB0
B0
B0
B0
-

Related parts for CP80S54E