EM78468
8-BIT Microcontroller
Bit 7 (IOC67)~Bit 0(IOC60): PORT 6 I/O direction control register
IOC6x =”0”: set the relative PORT6.x I/O pins as output
IOC6x =”1”: set the relative PORT6.x I/O pin into high impedance (input pin)
4.2.4
IOC70/P7CR (PORT 7 I/O Control Register)
(Address: 07h, Bit 0 of R5 = “0”)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
IOC77
IOC76
IOC75
IOC74
IOC73
IOC72
IOC71
IOC70
Bit 7 (IOC77)~Bit 0(IOC70): PORT 7 I/O direction control register
IOC7x = “0”: set the relative PORT7.x I/O pins as output
IOC7x = “1”: set the relative PORT7.x I/O pin into high impedance (input pin)
4.2.5
IOC80/P8CR (PORT 8 I/O Control Register)
(Address: 08h, Bit 0 of R5 = “0”)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
IOC87
IOC86
IOC85
IOC84
IOC83
IOC82
IOC81
IOC80
Bit 7 (IOC 87)~Bit 0(IOC 80): PORT 8 I/O direction control register
IOC8x = “0”: set the relative PORT8.x I/O pins as output
IOC8x = “1”: set the relative PORT8.x I/O pin into high impedance (input pin)
4.2.6
IOC90/RAM_ADDR (128 Bytes General Purpose RAM Address)
(Address: 09h, Bit 0 of R5 = “0”)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
RAM_A6 RAM_A5 RAM_A4 RAM_A3 RAM_A2 RAM_A1 RAM_A0
Bit 7: Not used, fixed at “0”
Bit 6~0: 128 bytes RAM address
4.2.7
IOCA0/RAM_DB (128 Bytes General Purpose RAM Data Buffer)
(Address: 0Ah, Bit 0 of R5 = “0”)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
RAM_D7 RAM_D6 RAM_D5 RAM_D4 RAM_D3 RAM_D2 RAM_D1 RAM_D0
Bit 7~0: 128 bytes RAM data transfer register
4.2.8
IOCB0/CNT1PR (Counter 1 Preset Register)
(Address: 0Bh, Bit 0 of R5 = “0”)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit 7 ~ Bit 0: All are Counter 1 buffer that user can read and write. The Counter 1 is an
8-bit down-count timer/counter with 8-bit pre-scaler that is used as this register to preset
20 •
Product Specification (V1.1) 04.11.2005
(This specification is subject to change without further notice)