wm8351 Wolfson Microelectronics plc, wm8351 Datasheet - Page 179
wm8351
Manufacturer Part Number
wm8351
Description
Wolfson Audioplus? Stereo Codec With Power Management
Manufacturer
Wolfson Microelectronics plc
Datasheet
1.WM8351.pdf
(328 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
wm8351CGBE/RV
Manufacturer:
WOLFSON
Quantity:
2 642
Part Number:
wm8351G
Manufacturer:
WOLFSON
Quantity:
20 000
Company:
Part Number:
wm8351GEB/RV
Manufacturer:
ST
Quantity:
3 186
- Current page: 179 of 328
- Download datasheet (3Mb)
Production Data
w
20.1.1
To configure a pin as a GPIO, the corresponding GPn_FN register bits must be set to 0000 (see
Table 124). Each GPIO pin can be set up as an input or as an output through the corresponding
GPn_DIR register bits. Note that, when changing GPn_DIR, it is recommended to set GPn_FN =
0000 first. See Section 20.2.2 for the recommended sequence of commands when updating the
GPIO pin function.
The state of a GPIO output is determined by writing to the corresponding GPn_LVL register bit. For
GPIO inputs, reading the GPn_LVL bit returns the logic level at the GPIO pin.
The polarity of GPIO inputs can be selected through the corresponding GPn_CFG bit. For GPIO
outputs, the GPn_CFG bit controls the electrical characteristics of the output pin.
GPIO inputs can also generate an interrupt (see Section 20.1.3). The GPn_INTMODE selects
whether an interrupt occurs on a rising edge only, or else on both rising and falling edges. The input
to this function is influenced by the polarity bit GPn_CFG described above.
R129 (81h)
GPIO pull-up
R130 (82h)
GPIO
pull-down
R131 (83h)
GPIO Interrupt
Mode
R134 (86h)
GPIO Pin
Configuration
R135 (87h)
GPIO Pin
Polarity / Type
R230 (E6h)
GPIO pin
status
Note: n is a number between 0 and 12 that identifies the individual GPIO.
Table 120 Configuring the GPIO Pins
ADDRESS
CONFIGURING GPIO PINS
12:0
12:0
12:0
12:0
12:0
12:0
BIT
GPn_PU [12:0]
GPn_PD [12:0]
GPn_INTMODE
[12:0]
GPn_DIR [12:0]
GPn_CFG
[12:0]
GPn_LVL [12:0]
LABEL
DEFAULT
Dependan
Dependan
Dependan
Dependan
CONFIG
CONFIG
CONFIG
CONFIG
settings
settings
settings
settings
t on
t on
t on
t on
N/A
0
GPIOn pull-up
0 = Normal
1 = Pull-up enabled
Only valid when GPIOn is set to input. Do
not select pull-up and pull-down at the
same time. (see note)
GPIOn pull-down
0 = Normal
1 = Pull-down enabled
Only valid when GPIOn is set to input. Do
not select pull-up and pull-down at the
same time. (see note)
GPIOn Pin Mode:
0 = GPIO interrupt is rising edge triggered
and taken after the effect of GPn_CFG
register bit
1 = GPIO interrupt is both rising and falling
edge triggered
GPIOn pin direction
0 = Output
1 = Input
Selects input polarity /output type for GPIOn
Input (GPn_DIR=1)
0 = active low
1 = active high
(see Note)
Logic level of GPIOn pin
Input (GPn_DIR=1)
Read GPn_LVL to
check logic level.
Writing ‘0’ clears
GPn_EINT
DESCRIPTION
PD, June 2009, Rev 4.1
Output
(GPn_DIR=0)
0 = CMOS
1 = open-drain
(see Note)
Output
(GPn_DIR=0)
Write to GPn_LVL
to change logic
level.
WM8351
179
Related parts for wm8351
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
Wolfson Microelectronics plc
Datasheet:
Part Number:
Description:
Manufacturer:
Wolfson Microelectronics plc
Datasheet:
Part Number:
Description:
Manufacturer:
Wolfson Microelectronics plc
Datasheet:
Part Number:
Description:
Manufacturer:
Wolfson Microelectronics plc
Datasheet:
Part Number:
Description:
Manufacturer:
Wolfson Microelectronics plc
Datasheet:
Part Number:
Description:
Manufacturer:
Wolfson Microelectronics plc
Datasheet:
Part Number:
Description:
Manufacturer:
Wolfson Microelectronics plc
Datasheet:
Part Number:
Description:
24-bit, 192khz 6-channel Dac With Volume Control
Manufacturer:
Wolfson Microelectronics plc
Datasheet:
Part Number:
Description:
24-bit, 192khz 6-channel Dac
Manufacturer:
Wolfson Microelectronics plc
Datasheet:
Part Number:
Description:
HI FI AND TELEPHONY DUAL CODEC
Manufacturer:
Wolfson Microelectronics plc
Datasheet:
Part Number:
Description:
Stereo Codec Portable Audio Applications
Manufacturer:
Wolfson Microelectronics plc
Datasheet:
Part Number:
Description:
Stereo Codec For Portable Audio Applications
Manufacturer:
Wolfson Microelectronics plc
Datasheet:
Part Number:
Description:
Multichannel Codec With S/pdif Transceiver
Manufacturer:
Wolfson Microelectronics plc
Datasheet:
Part Number:
Description:
Ac97 Audio Codec Mixer With Integrated Headphone Driver
Manufacturer:
Wolfson Microelectronics plc
Datasheet:
Part Number:
Description:
Ac-link Interface Audio Dac
Manufacturer:
Wolfson Microelectronics plc
Datasheet: