| Electronic Components Datasheet Search |
|
WM8994 Datasheet(PDF) 145 Page - Wolfson Microelectronics plc |
|
|
|||||||||||||||||||||||||||||
WM8994 Datasheet(HTML) 145 Page - Wolfson Microelectronics plc |
|
145 / 359 page ![]() Production Data WM8994 w PD, April 2012, Rev 4.4 145 GENERAL PURPOSE INPUT/OUTPUT The WM8994 provides a number of GPIO functions to enable interfacing and detection of external hardware and to provide logic outputs to other devices. The input functions can be polled directly or can be used to generate an Interrupt (IRQ) event. The GPIO and Interrupt circuits support the following functions: Alternate interface functions (AIF2, AIF3) Button detect (GPIO input) Logic ‘1’ and logic ‘0’ output (GPIO output) SDOUT (4-wire SPI Control Interface data) Interrupt (IRQ) status output Over-Temperature detection Accessory detection (MICBIAS current detection) Frequency Locked Loop (FLL) Lock status output Sample Rate Conversion (SRC) Lock status output Dynamic Range Control (DRC) Signal activity detection Control Write Sequencer status output Digital Core FIFO error status output Clock output (SYSCLK divided by OPCLK_DIV) Frequency Locked Loop (FLL) Clock output GPIO CONTROL For each GPIO, the selected function is determined by the GPn_FN field, where n identifies the GPIO pin (1 to 11). The pin direction, set by GPn_DIR, must be set according to function selected by GPn_FN. The alternate audio interfaces AIF2 and AIF3 are both supported using GPIO pins; the applicable pin functions are selected by setting the corresponding GPn_FN register to 00h. See Table 81 for the definition of which AIF function is available on each GPIO pin. See “Digital Audio Interface Control” for details of AIF2 and AIF3. Note that the GPIO2 pin supports functions MCLK2 and Button Detect / Logic Level Input only. Accordingly, GP2_DIR should be set to ‘1’ in all applications. When a pin is configured as a GPIO input (GPn_DIR = 1), 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. Note that TOCLK must be enabled when this input de-bouncing is required. When a pin is configured as a Logic Level output (GPn_DIR = 0, GPn_FN = 01h), its level can be set to logic 0 or logic 1 using the GPn_LVL field. 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. |
|
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 |