EM78862C
8-Bit RISC Type Microprocessor
6.2.8 IOCA (PORT 7 Pull-High Control Register) --- Page 1
Bit 7
PH77
Bit 6
PH76
Bit 5
PH75
Bit 4
PH74
Bit 3
PH73
Bit 2
PH72
Bit 1
PH71
Bit 0
PH70
Bit 0 ~ Bit 7 (PH70 ~ PH77): PORT7 (0~7) pull high control register
0 → disable pull high function
1 → enable pull high function
6.2.9 IOCD (COUNTER 1 Data Buffer Register) --- Page 0
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
CNT1_D7 CNT1_D6 CNT1_D5 CNT1_D4 CNT1_D3 CNT1_D2 CNT1_D1 CNT1_D0
Bit 0 ~ Bit 7 (CNT1_D0~CNT1_D7): Counter1's data buffer
User can read and write to this buffer. Counter1 is an
8-bit up-counter with 8-bit prescaler that uses IOCD to
preset and read the counter (write = preset). After an
interruption, it will reload the preset value.
Examples:
Write: IOW 0x0D
;write the data at accumulator to Counter1
;(preset)
Read: IOR 0x0D
;read IOCD data and write to accumulator
6.2.10 IOCE (COUNTER 2 Data Buffer Register) --- Page 0
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
CNT2_D7 CNT2_D6 CNT2_D5 CNT2_D4 CNT2_D3 CNT2_D2 CNT2_D1 CNT2_D0
Bit 0 ~ Bit 7 (CNT2_D0 ~ CNT2_D7): Counter2's data buffer
User can read and write this buffer. Counter 2 is an 8-bit
up-counter with 8-bit pre-scale that uses IOCE to preset
and read the counter (write = preset). After an
interruption, it will reload the preset value.
Examples:
Write: IOW 0x0E
;write the data at accumulator to Counter2 (preset)
Read: IOR 0x0E
;read IOCE data and write to accumulator
6.2.11 IOCF (INTERRUPT Mask Register)
Bit 7
-
Bit 6
-
Bit 5
INT2
Bit 4
INT1
Bit 3
INT0
Bit 2
CNT2
Bit 0 ~ Bit 5: Interrupt enable bits
0/1 → disable interrupt/enable interrupt
Bit 6 ~ Bit 7: Not used
Bit 1
CNT1
Bit 0
TCIF
Product Specification (V2.1) 07.13.2005
(This specification is subject to change without further notice)
• 19