
21. Intelligent I/O
Figure 21.6
G0PO0 to G0PO7 and G1PO0 to G1PO7 Registers, G0FS and G1FS Registers
Group i Function Select Register (i = 0, 1)
Symbol
G0FS, G1FS
Address
00E7h, 0127h
Bit Symbol
RW
FSC0
After Reset
00h
FSC1
FSC2
FSC3
FSC4
RW
FSC5
RW
FSC6
RW
Symbol
G0PO0 to G0PO2
G0PO3 to G0PO5
G0PO6, G0PO7
G1PO0 to G1PO2
G1PO3 to G1PO5
G1PO6, G1PO7
Address
00C1h - 00C0h, 00C3h - 00C2h, 00C5h - 00C4h
00C7h - 00C6h, 00C9h - 00C8h, 00CBh - 00CAh
00CDh - 00CCh, 00CFh - 00CEh
0101h - 0100h, 0103h - 0102h, 0105h - 0104h
0107h - 0106h, 0109h - 0108h, 010Bh - 010Ah
010Dh - 010Ch, 010Fh - 010Eh
After Reset
Undefined
Function
RW
Group i Waveform Generation Register j (i = 0, 1, j = 0 to 7)
RW
When read, the value written is returned.
When a value is written to the GiPOj register:
- If the RLD bit in the GiPOCRj register is set to 0, the value
written is immediately reloaded into the internal register and
reflected in such as output waveform.
- If the RLD bit in the GiPOCRj register is set to 1, the value is
reloaded into the internal register when the base timer is reset.
Setting Range
0000h to FFFFh(1)
b7 b6 b5 b4
b1
b2
b3
b0
b15
b0
Bit Name
Channel 0
time measurement/waveform
generation function select bit
Channel 4
time measurement/waveform
generation function select bit
Function
0: Waveform generation function selected
1: Time measurement function selected
b7
b8
FSC7
Channel 7
time measurement/waveform
generation function select bit
RW
Channel 5
time measurement/waveform
generation function select bit
Channel 6
time measurement/waveform
generation function select bit
NOTE:
1. When the RST1 bit in the GiBCR1 register is set to 1, the setting range of the GiPOj register must be from 0001h to FFFDh.
Channel 1
time measurement/waveform
generation function select bit
Channel 2
time measurement/waveform
generation function select bit
Channel 3
time measurement/waveform
generation function select bit