jornada720.h
上传用户:lgb322
上传日期:2013-02-24
资源大小:30529k
文件大小:1k
源码类别:

嵌入式Linux

开发平台:

Unix_Linux

  1. /*
  2.  * linux/include/asm-arm/arch-sa1100/jornada720.h
  3.  *
  4.  * Created 2000/11/29 by John Ankcorn <jca@lcs.mit.edu>
  5.  *
  6.  * This file contains the hardware specific definitions for HP Jornada 720
  7.  *
  8.  */
  9. #ifndef __ASM_ARCH_HARDWARE_H
  10. #error "include <asm/hardware.h> instead"
  11. #endif
  12. #define JORNADA720_SA1111_BASE (0x40000000)
  13. #define GPIO_JORNADA720_KEYBOARD GPIO_GPIO(0)
  14. #define GPIO_JORNADA720_MOUSE GPIO_GPIO(9)
  15. #define GPIO_JORNADA720_KEYBOARD_IRQ IRQ_GPIO0
  16. #define GPIO_JORNADA720_MOUSE_IRQ IRQ_GPIO9
  17. #ifndef __ASSEMBLY__
  18. void jornada720_mcu_init(void);
  19. void jornada_contrast(int arg_contrast);
  20. void jornada720_battery(void);
  21. int jornada720_getkey(unsigned char *data, int size);
  22. #endif