#include "board.h"
#include "gpio.h"
#include "rtc.h"
#include "spi.h"
#include "intc.h"
#include "qt60168.h"
#include "controller.h"
#include "conf_qt60168.h"
Functions | |
void | rtc_init_qt (void) |
void | rtc_irq (void) |
static int | special_qt60168_get_reply (unsigned short *data) |
bool | special_qt60168_report_all_key (unsigned short *data) |
"Report all key" status handling More... | |
static int | special_qt60168_send_cmd (unsigned char cmd) |
Variables | |
static unsigned short | Data |
static unsigned short | New_status = 0 |
static unsigned short | Old_status = 0 |
static int | Read_data =0 |
static int | report_state =0 |
void rtc_init_qt | ( | void | ) |
void rtc_irq | ( | void | ) |
|
static |
References Data, QT60168_CMD_NULL_COMMAND, and special_qt60168_send_cmd().
Referenced by special_qt60168_report_all_key().
static bool special_qt60168_report_all_key | ( | unsigned short * | data | ) |
"Report all key" status handling
References QT60168_CMD_REPORT_ALL_KEYS, report_state, special_qt60168_get_reply(), and special_qt60168_send_cmd().
Referenced by rtc_irq().
|
static |
References Read_data, spi_selectChip(), spi_unselectChip(), spi_write(), and state.
Referenced by special_qt60168_get_reply(), and special_qt60168_report_all_key().
|
static |
Referenced by rtc_irq(), and special_qt60168_get_reply().
|
static |
Referenced by rtc_irq().
|
static |
Referenced by rtc_irq().
|
static |
Referenced by rtc_irq(), and special_qt60168_send_cmd().
|
static |
Referenced by special_qt60168_report_all_key().