diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-30 16:51:43 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-30 16:51:43 +0000 |
commit | 505963a3568ba0dc23cb0cb7b3efee58f83a49ea (patch) | |
tree | 41f9e4861aa9914bbcf36241710b609ce1681ba1 /apps/examples/qencoder/qe.h | |
parent | e3feaf63eccee5e555ab006d7f8216057cd1e31b (diff) | |
download | nuttx-505963a3568ba0dc23cb0cb7b3efee58f83a49ea.tar.gz nuttx-505963a3568ba0dc23cb0cb7b3efee58f83a49ea.tar.bz2 nuttx-505963a3568ba0dc23cb0cb7b3efee58f83a49ea.zip |
Add support for testing multiple ADC, PWM, and QE devices
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4993 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/qencoder/qe.h')
-rw-r--r-- | apps/examples/qencoder/qe.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/examples/qencoder/qe.h b/apps/examples/qencoder/qe.h index 1571da7b2..4c03689ab 100644 --- a/apps/examples/qencoder/qe.h +++ b/apps/examples/qencoder/qe.h @@ -100,9 +100,11 @@ #ifdef CONFIG_NSH_BUILTIN_APPS struct qe_example_s { - bool reset; /* True: set the count back to zero */ - unsigned int nloops; /* Collect this number of samples */ - unsigned int delay; /* Delay this number of seconds between samples */ + bool initialized; /* True: QE devices have been initialized */ + bool reset; /* True: set the count back to zero */ + FAR char *devpath; /* Path to the QE device */ + unsigned int nloops; /* Collect this number of samples */ + unsigned int delay; /* Delay this number of seconds between samples */ }; #endif |