world leader in high performance signal processing
Trace: » blackfin_twi_keypad_driver

GENERAL DESCRIPTION

Card that attaches to the STAMP board I2C/Keypad adapter Keypad

See also: gpio-keys

Kernel Configuration for TWI/I2C support

<*> I2C support
<*>   I2C device interface
      I2C Algorithms  --->
      I2C Hardware Bus support  --->
      Miscellaneous I2C Chip support  --->
[ ]   I2C Core debugging messages
[ ]   I2C Algorithm debugging messages
[ ]   I2C Bus debugging messages
[ ]   I2C Chip debugging messages

I2C Hardware Bus support

For BF533 or BF561

<*> Generic Blackfin and HHBF533/561 development board I2C support
    BFIN I2C SDA/SCL Selection  --->

For BF537/6/4 BF527/5/2 and BF549/8/4/2

<*> Blackfin TWI I2C support
(50)  TWI clock (kHZ)
< > Parallel port adapter (light)
< > I2C/SMBus Test Stub
< > PCA9564 on an ISA bus

Setting up Input Device Support

Device Drivers

Input device support

 <*> Generic input layer (needed for keyboard, mouse, ...)
 ---   Userland interfaces
 < >   Mouse interface
 < >   Joystick interface (NEW)
 < >   Touchscreen interface (NEW)
 <*>   Event interface
 < >   Event debugging (NEW)
 ---   Input Device Drivers
 [ ]   Keyboards  --->
 [ ]   Mouse  --->
 [ ]   Joysticks (NEW)  --->
 [ ]   Touchscreens (NEW)  --->
 [*]   Miscellaneous devices  --->
     Hardware I/O ports  --->

Miscellaneous devices

 <*>   User level driver support (NEW)
 < >   PF buttons input device
 <*>   TWI/I2C Keypad input device
 (72)  IRQ

Default:

  • 72 for BF537-STAMP (STAMP TWI Extender Card JP1 SET 15-16)
  • 39 for BF533-STAMP (STAMP TWI Extender Card JP1 SET 15-16)
  • 212 for BF548-EZKIT (STAMP TWI Extender Card JP1 SET 9-10)
  • 79 for BF527-EZKIT (STAMP TWI Extender Card JP1 SET 9-10)

see also here gpio_interrupt_processing

Blackfin test programs

 [ ] PPI test program
 [ ] TWI LCD test program
 [*] TWI KEYPAD test program
 [ ] Sqlite test program

Help

Usage: twikeypad_test [-h?v]
        -h?            this help
        -v             print version info
        -r             repeate
        -q             quiet mode
root:~>

Complete Table of Contents/Topics