DC-ME-01T-C-50 Digi International, DC-ME-01T-C-50 Datasheet - Page 38
![no-image](/images/manufacturer_photos/0/1/193/digi_international_sml.jpg)
DC-ME-01T-C-50
Manufacturer Part Number
DC-ME-01T-C-50
Description
ME 8MB SDRAM 2MB FLASH 50 PAK
Manufacturer
Digi International
Specifications of DC-ME-01T-C-50
Module/board Type
Device Server
For Use With/related Products
Networking
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
DC-ME-01T-C-50
Manufacturer:
Digi International
Quantity:
135
General Information
3 0
G P I O
GPIO
D i g i C o n n e c t M E & D i g i C o n n e c t W i - M E H a r d w a r e R e f e r e n c e
The NS7520 processor supports 16 general purpose I/O (GPIO) lines, some of which are
reserved for specific functions and some of which can be customized. These GPIO lines
fall into three categories:
Two registers govern the 16 GPIO lines. These registers are named PORTA and PORTC.
Each GPIO pin has four bits which completely describe its behavior, and each register is
responsible for eight GPIO pins. The four bits that describe the GPIO behavior are its mode
(CMODE), its direction (CDIR), its special function (CSF--only applicable to PORTC),
and the data value. 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 one to control the
value of an output pin when written.
In order to configure any GPIO pin as a GPIO input, the corresponding bit positions in the
appropriate register must be configured as:
In order to configure any GPIO pin as a GPIO output, the corresponding bit positions
appropriate register must be configured as
Since each register controls 8 GPIO lines, it is safest to read the full 32 bit register, modify
the bits corresponding to the GPIO line of interest, and then write the full 32 bits back. In
this way, the behavior of the other GPIO lines will be preserved. For more information
regarding the format and programming of the GPIO registers, see the NS7520 Hardware
Reference.
Those labeled “Reserved” in the following table are reserved for a specific use
and must not be reprogrammed, or the unit might not operate correctly. Often,
these lines are not connected to external interfaces.
Those labeled “Allocated” in the following table are exposed to an external
interface and allocated to a specific use by the software, but can be customized
safely with code modifications.
Those labeled “Available” are exposed to an external interface, not controlled
directly by the software, and can be customized.
: CMODE = 0 CDIR = 1 CSF = 0
CMODE = 0 CDIR = 0 CSF = 0
in the