English
Language : 

W83697HG Datasheet, PDF (81/109 Pages) Winbond – WINBOND LPC I/O
W83697HF/ HG
7.11 Logical Device 8 (MIDI Port and GPIO Port 5)
CR30 (MIDI Port Default 0x00)
Bit 7 - 1: Reserved.
Bit 0: = 1 MIDI/GP5 port is Activate
= 0 MIDI/GP5 port is inactive.
CR60, CR 61 (Default 0x03, 0x30 if PNPCSV = 0 during POR, default 0x00 otherwise)
These two registers select the MIDI Port base address [0x100:0xFFF] on 2byte boundary.
CR62, CR 63 (Default 0x00, 0x00 )
These two registers select the GPIO5 base address [0x100:0xFFF] on 4byte boundary.
IO address : CRF1 base address
IO address + 1 : CRF3 base address
IO address + 2 : CRF4 base address
IO address + 3 : CRF5 base address
CR70 (Default 0x09 if PNPCSV = 0 during POR, default 0x00 otherwise)
Bit 7 - 4: Reserved.
Bit [3:0]: These bits select IRQ resource for MIDI Port .
CRF0 (GP5 selection register. Default 0xFF)
When set to a '1', respective GPIO port is programmed as an input port.
When set to a '0', respective GPIO port is programmed as an output port.
CRF1 (GP5 data register. Default 0x00)
If a port is programmed to be an output port, then its respective bit can be read/written.
If a port is programmed to be an input port, then its respective bit can only be read.
CRF2 (GP5 inversion register. Default 0x00)
When set to a '1', the incoming/outgoing port value is inverted.
When set to a '0', the incoming/outgoing port value is the same as in data register.
- 78 -