Electronic Components Datasheet Search
  English  ▼

X  

WM8352 Datasheet(PDF) 180 Page - Wolfson Microelectronics plc

Part # WM8352
Description  Wolfson AudioPlus™ Stereo CODEC with Power Management
PDF  336 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  WOLFSON [Wolfson Microelectronics plc]
Direct Link  http://www.wolfsonmicro.com
Logo WOLFSON - Wolfson Microelectronics plc

WM8352 Datasheet(HTML) 180 Page - Wolfson Microelectronics plc

Back Button WM8352 Datasheet HTML 176Page - Wolfson Microelectronics plc WM8352 Datasheet HTML 177Page - Wolfson Microelectronics plc WM8352 Datasheet HTML 178Page - Wolfson Microelectronics plc WM8352 Datasheet HTML 179Page - Wolfson Microelectronics plc WM8352 Datasheet HTML 180Page - Wolfson Microelectronics plc WM8352 Datasheet HTML 181Page - Wolfson Microelectronics plc WM8352 Datasheet HTML 182Page - Wolfson Microelectronics plc WM8352 Datasheet HTML 183Page - Wolfson Microelectronics plc WM8352 Datasheet HTML 184Page - Wolfson Microelectronics plc Next Button
Zoom Inzoom in Zoom Outzoom out
 180 / 336 page
background image
WM8352
Production Data
w
PD, February 2011, Rev 4.4
180
20.1.1
CONFIGURING GPIO PINS
To configure a pin as a GPIO, the corresponding GPn_FN register bits must be set to 0000 (see
Table 125). 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.
ADDRESS
BIT
LABEL
DEFAULT
DESCRIPTION
R129 (81h)
GPIO pull-up
12:0
GPn_PU [12:0]
Dependan
t on
CONFIG
settings
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)
R130 (82h)
GPIO
pull-down
12:0
GPn_PD [12:0]
Dependan
t on
CONFIG
settings
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)
R131 (83h)
GPIO Interrupt
Mode
12:0
GPn_INTMODE
[12:0]
0
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
R134 (86h)
GPIO Pin
Configuration
12:0
GPn_DIR [12:0]
Dependan
t on
CONFIG
settings
GPIOn pin direction
0 = Output
1 = Input
R135 (87h)
GPIO Pin
Polarity / Type
12:0
GPn_CFG
[12:0]
Dependan
t on
CONFIG
settings
Selects input polarity /output type for GPIOn
Input (GPn_DIR=1)
Output
(GPn_DIR=0)
0 = active low
1 = active high
(see note)
0 = CMOS
1 = open-drain
(see note)
R230 (E6h)
GPIO pin
status
12:0
GPn_LVL [12:0]
N/A
Logic level of GPIOn pin
Input (GPn_DIR=1)
Output
(GPn_DIR=0)
Read GPn_LVL to
check logic level.
Writing ‘0’ clears
GPn_EINT
Write to GPn_LVL
to change logic
level.
Note: n is a number between 0 and 12 that identifies the individual GPIO.
Table 121 Configuring the GPIO Pins
Note: The GPIO input functions /MR, /WAKEUP and /LDO_ENA behave differently to other GPIO
inputs. These functions are Active Low by default, when GPn_CFG = 1. These functions may be
changed to Active High by setting GPn_CFG = 0.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com