root/platform/ixus40_sd300/platform_kbd.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef PLATFORM_KBD_H
   2 #define PLATFORM_KBD_H
   3 // plaform specific keyboard defines, see core/kbd_common.c for documentation
   4 // platform code handles reading, updating physw
   5 #define KBD_CUSTOM_UPDATE_KEY_STATE 1
   6 #define KBD_CUSTOM_UPDATE_PHYSW_BITS 1
   7 
   8 // key masks, used for press, release
   9 #define KEYS_MASK0 0x00000000
  10 #define KEYS_MASK1 0x00002FFE
  11 #define KEYS_MASK2 0x00000000
  12 
  13 
  14 // PHYSW_BITS is custom, but these are used for get_usb_bit
  15 #define USB_MASK 0x40 
  16 #define USB_IDX  1
  17 
  18 // MMIO to read USB +5v directly, for get_usb_bit
  19 #define USB_MMIO 0xc0220204
  20 #endif

/* [<][>][^][v][top][bottom][index][help] */