ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

Definition at line 15 of file hwsynkp.c.

Referenced by LlbHwInitialize().

{
    /* Set GPIO pin 8 on the TWL4030 as an output pin */
    LlbHwOmap3TwlWrite1(0x49, 0x9B, 0xC0);

    /* Set GPIO pin 8 signal on the TWL4030 ON. This powers the keypad backlight */
    LlbHwOmap3TwlWrite1(0x49, 0xA4, 0xC0);
    
    /* Set PENDDIS and COR on the the keypad interrupt controller */
    LlbHwOmap3TwlWrite1(0x4A, 0xE9, 0x06);

    /* Only falling edge detection for key pressed */
    LlbHwOmap3TwlWrite1(0x4A, 0xE8, 0x01);
    
    /* Unmask key-pressed events */
    LlbHwOmap3TwlWrite1(0x4A, 0xE4, 0x0E);

    /* Set the keypad control register to turn hardware sequencing and turn it on */
    LlbHwOmap3TwlWrite1(0x4A, 0xD2, 0x0);
    LlbHwOmap3TwlRead1(0x4A, 0xE3);
    LlbHwOmap3TwlWrite1(0x4A, 0xD2, 0x43);
}

Generated on Mon May 28 2012 04:47:19 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.