W83697HG-TR Nuvoton Technology Corporation of America, W83697HG-TR Datasheet - Page 83

no-image

W83697HG-TR

Manufacturer Part Number
W83697HG-TR
Description
Manufacturer
Nuvoton Technology Corporation of America
Datasheet

Specifications of W83697HG-TR

Lead Free Status / RoHS Status
Supplier Unconfirmed
7.12 Logical Device 9 (GPIO Port 2 ~ GPIO Port 4 )
CR30 (Default 0x00)
CR60,61(Default 0x00,0x00).
CRF0 (GP2 I/O 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 (GP2 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 (GP2 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.
CRF3 (GP3 I/O 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.
CRF4 (GP3 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.
CRF5 (GP3 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.
CRF6 (GP4 I/O 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.
Bit 7 ~ 3: Reserved.
Bit 2: = 1 Activate GPIO4.
Bit 1: = 1 Activate GPIO3.
Bit 0: = 1 Activate GPIO2.
These two registers select the GP2,3,4 base address(0x100:FFE) ON 3 bytes boundary.
IO address:
IO address + 1 : CRF3 base address
IO address + 2 : CRF7 base address
= 0 GPIO4 is inactive
= 0 GPIO3 is inactive
= 0 GPIO2 is inactive.
: CRF1 base address
- 80 -
W83697HF/ HG

Related parts for W83697HG-TR