GadgetSeed  0.9.6
32f469i-disc_ts.c ファイル

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"
32f469i-disc_ts.c の依存先関係図:

[ソースコード]

マクロ定義

#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
 

詳解

STM32F469I Discovery Touch Sensor

日付
2018.08.17
著者
Takashi SHUDO

32f469i-disc_ts.c に定義があります。

変数詳解

◆ ts_device

const struct st_device ts_device
初期値:
= {
.name = DEF_DEV_NAME_TS,
.explan = "32F469IDISCOVERY Touch Sensor",
.mutex = &ts_mutex,
.register_dev = ts_register,
}
#define DEF_DEV_NAME_TS
標準タッチセンサデバイス名
Definition: ts_ioctl.h:15

32f469i-disc_ts.c148 行目に定義があります。