Go to the source code of this file.
#define ADP5585_COL_MASK 0x1F |
#define ADP5585_COL_SHIFT 6 |
#define ADP5585_GPI_PIN_COL0 43 |
#define ADP5585_GPI_PIN_COL1 44 |
#define ADP5585_GPI_PIN_COL2 45 |
#define ADP5585_GPI_PIN_COL3 46 |
#define ADP5585_GPI_PIN_COL4 47 |
#define ADP5585_GPI_PIN_ROW0 37 |
#define ADP5585_GPI_PIN_ROW1 38 |
#define ADP5585_GPI_PIN_ROW2 39 |
#define ADP5585_GPI_PIN_ROW3 40 |
#define ADP5585_GPI_PIN_ROW4 41 |
#define ADP5585_GPI_PIN_ROW5 42 |
#define ADP5585_KEYMAPSIZE 30 |
#define ADP5585_MAX_COL_NUM 4 |
#define ADP5585_MAX_ROW_NUM 5 |
#define ADP5585_ROW_MASK 0x3F |
#define ADP5585_ROW_SHIFT 0 |
#define ADP5589_COL_MASK 0xFF |
#define ADP5589_COL_SHIFT 8 |
#define ADP5589_GPI_PIN_COL0 105 |
#define ADP5589_GPI_PIN_COL1 106 |
#define ADP5589_GPI_PIN_COL10 115 |
#define ADP5589_GPI_PIN_COL2 107 |
#define ADP5589_GPI_PIN_COL3 108 |
#define ADP5589_GPI_PIN_COL4 109 |
#define ADP5589_GPI_PIN_COL5 110 |
#define ADP5589_GPI_PIN_COL6 111 |
#define ADP5589_GPI_PIN_COL7 112 |
#define ADP5589_GPI_PIN_COL8 113 |
#define ADP5589_GPI_PIN_COL9 114 |
#define ADP5589_GPI_PIN_ROW0 97 |
#define ADP5589_GPI_PIN_ROW1 98 |
#define ADP5589_GPI_PIN_ROW2 99 |
#define ADP5589_GPI_PIN_ROW3 100 |
#define ADP5589_GPI_PIN_ROW4 101 |
#define ADP5589_GPI_PIN_ROW5 102 |
#define ADP5589_GPI_PIN_ROW6 103 |
#define ADP5589_GPI_PIN_ROW7 104 |
#define ADP5589_KEYMAPSIZE 88 |
#define ADP5589_MAX_COL_NUM 10 |
#define ADP5589_MAX_ROW_NUM 7 |
#define ADP5589_ROW_MASK 0xFF |
#define ADP5589_SCAN_CYCLE_10ms 0 |
#define ADP5589_SCAN_CYCLE_20ms 1 |
#define ADP5589_SCAN_CYCLE_30ms 2 |
#define ADP5589_SCAN_CYCLE_40ms 3 |
#define ADP_COL |
( |
|
x | ) |
(1 << (x + 8)) |
#define ADP_ROW |
( |
|
x | ) |
(1 << (x)) |
#define RESET1_POL_HIGH (1 << 6) |
#define RESET1_POL_LOW (0 << 6) |
#define RESET2_POL_HIGH (1 << 7) |
#define RESET2_POL_LOW (0 << 7) |
#define RESET_PASSTHRU_EN (1 << 5) |
#define RESET_PULSE_WIDTH_10ms 3 |
#define RESET_PULSE_WIDTH_1ms 1 |
#define RESET_PULSE_WIDTH_2ms 2 |
#define RESET_PULSE_WIDTH_500us 0 |
#define RESET_TRIG_TIME_0ms (0 << 2) |
#define RESET_TRIG_TIME_1000ms (1 << 2) |
#define RESET_TRIG_TIME_1500ms (2 << 2) |
#define RESET_TRIG_TIME_2000ms (3 << 2) |
#define RESET_TRIG_TIME_2500ms (4 << 2) |
#define RESET_TRIG_TIME_3000ms (5 << 2) |
#define RESET_TRIG_TIME_3500ms (6 << 2) |
#define RESET_TRIG_TIME_4000ms (7 << 2) |