DC-ANT-E-24DT-25 Digi International, DC-ANT-E-24DT-25 Datasheet - Page 20
![no-image](/images/manufacturer_photos/0/1/193/digi_international_sml.jpg)
DC-ANT-E-24DT-25
Manufacturer Part Number
DC-ANT-E-24DT-25
Description
CORD EXT 30CM W/RP-SMA CONN (25)
Manufacturer
Digi International
Datasheet
1.DC-ANT-E-24DP.pdf
(42 pages)
Specifications of DC-ANT-E-24DT-25
Accessory Type
Extension Cord
For Use With/related Products
Dipole Antennae
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
GPIO Registers
2 0
G P I O
Two registers, named PORTA and PORTC, govern the 16 GPIO pins. Each register is
responsible for eight pins, and each GPIO pin uses the following four bits to completely
describe its behavior:
The first three bits describe the functionality of the GPIO pin. The data bit provides the
current value of the pin when read and allows control of the value of an output pin when
written.
In order to configure a pin as either a GPIO input or GPIO output, the corresponding bit
positions in the appropriate register must be configured according to the information in the
following table:
Since each register controls 8 GPIO pins, it is safest to read the full 32 bit register, modify
the bits corresponding to the pin, and then write the full 32 bits back. In this way, the
behavior of other GPIO pins will be preserved.
For more information regarding the format and programming of the GPIO registers, see the
NS7520 Hardware Reference.
Mode (CMODE)
Direction (CDIR)
Special function (CSF). This is only applicable to PORTC.
Data value
D i g i C o n n e c t S P H a r d w a r e R e f e r e n c e
–
–
–
CMODE = 0
CDIR = 0
CSF = 0
Input
GPIO Configuration
–
–
–
Output
CMODE = 0
CDIR = 1
CSF = 0