cs5378 Cirrus Logic, Inc., cs5378 Datasheet - Page 64

no-image

cs5378

Manufacturer Part Number
cs5378
Description
Low-power Single-channel Decimation Filter
Manufacturer
Cirrus Logic, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
cs5378-ISZ
Manufacturer:
CIRRUS
Quantity:
42
Part Number:
cs5378-ISZ
Quantity:
5
Part Number:
cs5378-ISZ
Manufacturer:
ALTERA
0
Part Number:
cs5378-ISZ
Manufacturer:
CIRRUS
Quantity:
20 000
Company:
Part Number:
cs5378-ISZ
Quantity:
32
19. GENERAL PURPOSE I/O
The General Purpose I/O (GPIO) block provides 8
general purpose pins to interface with external
hardware.
19.1 Pin Descriptions
GPIO[3:0] - Pins 4 - 1
Standard GPIO pins.
GPIO[6:4]:PLL[2:0] - Pins 7 - 5
Standard GPIO pins also used to select the PLL
mode after reset. Internal pull-ups default high,
10 kΩ external pull-downs required to set low.
GPIO7:BOOT - Pin 28
Standard GPIO pin also used to select boot mode
after reset. Internal pull-up defaults high, 10 kΩ ex-
ternal pull-down required to set low.
19.2 GPIO Architecture
Each GPIO pin can be configured as input or out-
put, high or low, with a weak (~100 kΩ) internal
pull-up resistor enabled or disabled.
shows the structure of a bi-directional GPIO pin.
19.3 GPIO Registers
GPIO pin settings are programmed in the GPCFG
register. GP_DIR bits set the input/output mode,
DS639F1
GP_PULL
GP_DATA
GP_DIR
Figure 38
Figure 38. GPIO Block Diagram
GP_PULL bits enable/disable the internal pull-up
resistor, and GP_DATA bits set the output data val-
ue. After reset, GPIO pins default as inputs with
pull-up resistors enabled.
19.4 GPIO Input Mode
When reading a value from the GP_DATA bits, the
returned data reports the current state of the pins. If
a pin is externally driven high it reads a logical 1, if
externally driven low it reads a logical 0. When a
GPIO pin is used as an input, the pull-up resistor
should be disabled to save power if it isn’t required.
19.5 GPIO Output Mode
When a GPIO pin is programmed as an output with
a data value of 0, the pin is driven low and the in-
ternal pull-up resistor is automatically disabled.
When programmed as an output with a data value
of 1, the pin is driven high and the pull-up resistor
is inconsequential.
Any GPIO pin can be used as an open-drain output
by setting the data value to 0, enabling the pull-up,
and using the GP_DIR direction bits to control the
pin value. This open-drain output configuration
uses the internal pull-up resistor to hold the pin
high when GP_DIR is set as an input, and drives the
pin low when GP_DIR is set as an output.
Pull Up
Logic
R
GPIO
CS5378
64

Related parts for cs5378