Revision 1a8fb642 modules/PowerManagement_1-2/test/AT42QT1050/module_test_AT42QT1050.c
modules/PowerManagement_1-2/test/AT42QT1050/module_test_AT42QT1050.c | ||
---|---|---|
42 | 42 |
static aos_test_at42qt1050data_t _data = { |
43 | 43 |
/* AT42QT1050 driver */ &moduleLldTouch, |
44 | 44 |
/* timeout */ MICROSECONDS_PER_SECOND, |
45 |
/* event source */ &aos.events.io, |
|
46 |
/* event flags */ MODULE_OS_IOEVENTFLAGS_TOUCHINT,
|
|
45 |
/* event source */ &aos.events.gpio,
|
|
46 |
/* event flags */ MODULE_OS_GPIOEVENTFLAG_TOUCHINT,
|
|
47 | 47 |
}; |
48 | 48 |
|
49 | 49 |
static AOS_TEST(_test, "AT42QT1050", "touch sensor", moduleTestAt42qt1050ShellCb, aosTestAt42qt1050Func, &_data); |
Also available in: Unified diff