| Electronic Components Datasheet Search |
|
WM8903 Datasheet(PDF) 107 Page - Wolfson Microelectronics plc |
|
|
|||||||||||||||||||||||||||||
WM8903 Datasheet(HTML) 107 Page - Wolfson Microelectronics plc |
|
107 / 178 page ![]() Production Data WM8903 w PD, Rev 4.5, June 2012 107 GENERAL PURPOSE INPUT/OUTPUT (GPIO) The WM8903 provides five multi-function pins which can be configured to provide a number of different functions. These are digital input/output pins on the DBVDD power domain. The GPIO pins are: GPIO1/DMIC_LR GPIO2/DMIC_DAT GPIO3/ADDR INTERRUPT (GPIO4) BCLK (GPIO5) Each general purpose I/O pin can be configured to be a GPIO input or configured as one of a number of output functions. Signal de-bouncing can be selected on GPIO input pins for use with jack/button detect applications. Table 71 lists the functions that are available on each of these pins. The default function is highlighted for each pin. GPIO PINS GPIO Pin Function GPIO1/D MIC_LR GPIO2/D MIC_DAT GPIO3/ ADDR INTERRUPT (GPIO4) BCLK (GPIO5) GPIO output Yes Yes Yes Yes Yes BCLK input/output No No No No Yes Interrupt output (IRQ) Yes Yes Yes Yes Yes Digital Microphone Clock (DMIC_LR) Yes No No No No Digital Microphone Data (DMIC_DAT) No Yes No No No GPIO input (including jack/button detect) Yes Yes Yes Yes Yes MICBIAS Current detect output Yes Yes Yes Yes Yes MICBIAS Short Circuit detect output Yes Yes Yes Yes Yes FLL Lock output Yes Yes Yes Yes Yes FLL Clock output Yes Yes Yes Yes Yes Table 71 GPIO Functions Available The register fields that control the functionality of these pins are described in Table 72. For each pin, the selected function is determined by the GPn_FN field, where n identifies the GPIO pin (1 to 5). Note that the INTERRUPT pin is also referred to as GPIO4; the BCLK pin is also referred to as GPIO5. The pin direction, set by GPn_DIR, must be set according to the function selected by GPn_FN. The characteristics of any pin selected as an output may be controlled by setting GPn_OP_CFG - an output pin may be either CMOS or Open-Drain. When a pin is configured as a GPIO output, its level can be set to logic 0 or logic 1 using the GPn_LVL field. A pin configured as a GPIO input can be used to trigger an Interrupt event. This input may be configured as active high or active low using the GPn_IP_CFG field. De-bouncing of this input may be enabled using the GPn_DB field. Internal pull-up and pull-down resistors may be enabled using the GPn_PU and GPn_PD fields. (Note that if GPn_PU and GPn_PD are both set for any GPIO pin, then the pull-up and pull-down will be disabled.) Each of the GPIO pins is an input to the Interrupt control circuit and can be used to trigger an Interrupt event. The register field GPn_INTMODE selects edge detect or level detect Interrupt functionality. Edge detect raises an interrupt on rising and falling transitions. Level detect asserts the interrupt for as long as the GPIO status is asserted. See “Interrupts”. |
|
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 |
| 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 |