|
GadgetSeed
0.9.6
|
STM32F469I Discovery Touch Sensor [詳解]
#include "sysconfig.h"#include "device.h"#include "interrupt.h"#include "device/video_ioctl.h"#include "device/ts_ioctl.h"#include "timer.h"#include "tkprintf.h"#include "sysevent.h"#include "task/syscall.h"#include "dkprintf.h"#include "stm32469i_discovery_ts.h"
マクロ定義 | |
| #define | LCD_WIDTH GSC_GRAPHICS_DISPLAY_WIDTH |
| LCD幅ドット数 | |
| #define | LCD_HEIGHT GSC_GRAPHICS_DISPLAY_HEIGHT |
| LCD高さドット数 | |
| #define | MOVEEVENTINTERVAL 20 |
| EVT_TOUCHMOVEの最小送信間隔 | |
| #define | MAX_TS_EVENT_QUEUE 4 |
| #define | SIZEOFSTACK (1024*4) |
関数 | |
| static void | inthdr_exti9_5 (unsigned int intnum, void *sp) |
| static int | ts_task (char *arg) |
| static int | ts_register (struct st_device *dev, char *param) |
変数 | |
| static struct st_event | ts_evq |
| static unsigned char | ts_data [MAX_TS_EVENT_QUEUE] |
| static struct st_mutex | ts_mutex |
| static unsigned short | levent |
| static unsigned int | ltime |
| static unsigned short | lpos_x |
| static unsigned short | lpos_y |
| static struct st_tcb | tcb |
| static unsigned int | stack [SIZEOFSTACK/sizeof(unsigned int)] |
| const struct st_device | ts_device |
| const struct st_device ts_device |
32f469i-disc_ts.c の 148 行目に定義があります。