experimental pin-cir

This commit is contained in:
NIIBE Yutaka
2010-12-24 15:28:23 +09:00
parent 466052dcd1
commit c67a30aba1
5 changed files with 396 additions and 4 deletions

View File

@@ -99,6 +99,7 @@
/* Port B setup. */
#if defined(PINPAD_SUPPORT)
#define GPIOB_CIR 0
#define GPIOB_BUTTON 2
#define GPIOB_ROT_A 3
#define GPIOB_ROT_B 4
@@ -143,4 +144,9 @@
#define VAL_GPIODCRH 0x88888888 /* PD15...PD8 */
#define VAL_GPIODODR 0xFFFFFFFF
#if defined(PINPAD_SUPPORT)
extern void cir_ext_disable (void);
extern void cir_ext_enable (void);
#endif
#endif /* _BOARD_H_ */