Revision 1a8fb642 modules/PowerManagement_1-1/test/MPR121/module_test_MPR121.c
modules/PowerManagement_1-1/test/MPR121/module_test_MPR121.c | ||
---|---|---|
42 | 42 |
static aos_test_mpr121data_t _data= { |
43 | 43 |
/* MPR121 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, "MPR121", "touch sensor", moduleTestMpr121ShellCb, aosTestMpr121Func, &_data); |
Also available in: Unified diff