Electronic Components Datasheet Search
  English  ▼

X  

WM5102 Datasheet(PDF) 197 Page - Wolfson Microelectronics plc

Part # WM5102
Description  Audio Hub CODEC with Voice Processor DSP
PDF  334 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  WOLFSON [Wolfson Microelectronics plc]
Direct Link  http://www.wolfsonmicro.com
Logo WOLFSON - Wolfson Microelectronics plc

WM5102 Datasheet(HTML) 197 Page - Wolfson Microelectronics plc

Back Button WM5102 Datasheet HTML 193Page - Wolfson Microelectronics plc WM5102 Datasheet HTML 194Page - Wolfson Microelectronics plc WM5102 Datasheet HTML 195Page - Wolfson Microelectronics plc WM5102 Datasheet HTML 196Page - Wolfson Microelectronics plc WM5102 Datasheet HTML 197Page - Wolfson Microelectronics plc WM5102 Datasheet HTML 198Page - Wolfson Microelectronics plc WM5102 Datasheet HTML 199Page - Wolfson Microelectronics plc WM5102 Datasheet HTML 200Page - Wolfson Microelectronics plc WM5102 Datasheet HTML 201Page - Wolfson Microelectronics plc Next Button
Zoom Inzoom in Zoom Outzoom out
 197 / 334 page
background image
Production Data
WM5102
w
PD, June 2014, Rev 4.2
197
GPIO CONTROL
For each GPIO, the selected function is determined by the GPn_FN field, where n identifies the GPIO
pin (1, 2, 3, 4 or 5). The pin direction, set by GPn_DIR, must be set according to function selected by
GPn_FN.
When a pin is configured as a GPIO input (GPn_DIR = 1, GPn_FN = 01h), the logic level at the pin
can be read from the respective GPn_LVL bit. Note that GPn_LVL is not affected by the GPn_POL bit.
A de-bounce circuit can be enabled on any GPIO input, to avoid false event triggers. This is enabled
on each pin by setting the respective GPn_DB bit. The de-bounce circuit uses the 32kHz clock, which
must be enabled whenever input de-bounce functions are required. The de-bounce time is
configurable using the GP_DBTIME register. See “Clocking and Sample Rates” for further details of
the WM5102 clocking configuration.
Each of the GPIO pins is an input to the Interrupt control circuit and can be used to trigger an Interrupt
event. An interrupt event is triggered on the rising and falling edges of the GPIO input. The associated
interrupt bit is latched once set; it can be polled at any time or used to control the IRQ signal. See
“Interrupts” for more details of the Interrupt event handling.
When a pin is configured as a GPIO input, internal pull-up and pull-down resistors may be enabled
using the GPn_PU and GPn_PD fields; this allows greater flexibility to interface with different signals
from other devices. (Note that, if the pin is configured as an output, or if GPn_PU and GPn_PD are
both set for any GPIO pin, then the pull-up and pull-down will be disabled.)
When a pin is configured as a GPIO output (GPn_DIR = 0, GPn_FN = 01h), its level can be set to
logic 0 or logic 1 using the GPn_LVL field. Note that the GPn_LVL registers are ‘write only’ when the
respective GPIO pin is configured as an output.
When a pin is configured as an output (GPn_DIR = 0), the polarity can be inverted using the
GPn_POL bit. When GPn_POL = 1, then the selected output function is inverted. In the case of Logic
Level output (GPn_FN = 01h), the external output will be the opposite logic level to GPn_LVL when
GPn_POL = 1.
A GPIO output can be either CMOS driven or Open Drain. This is selected on each pin using the
respective GPn_OP_CFG bit.
The register fields that control the GPIO pins are described in Table 85.



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