Home | History | Annotate | Download | only in hd64465
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      4  ***   This header was automatically generated from a Linux kernel header
      5  ***   of the same name, to make information necessary for userspace to
      6  ***   call into the kernel available to libc.  It contains only constants,
      7  ***   structures, and macros generated from the original header, and thus,
      8  ***   contains no copyrightable information.
      9  ***
     10  ****************************************************************************
     11  ****************************************************************************/
     12 #ifndef _ASM_SH_HD64465_GPIO_
     13 #define _ASM_SH_HD64465_GPIO_ 1
     14 
     15 #include <asm/hd64465.h>
     16 
     17 #define HD64465_GPIO_PORTPIN(port,pin) (((port)-'A')<<3|(pin))
     18 
     19 #define HD64465_GPIO_FUNCTION2 0
     20 #define HD64465_GPIO_OUT 1
     21 #define HD64465_GPIO_IN_PULLUP 2
     22 #define HD64465_GPIO_IN 3
     23 
     24 #define HD64465_GPIO_FALLING 0
     25 #define HD64465_GPIO_RISING 1
     26 
     27 #endif
     28