summaryrefslogtreecommitdiff
path: root/apps/examples/usbterm/usbterm.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-30 14:54:43 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-30 14:54:43 +0000
commitb3aa316f2e4affe5e17c50a178e6c25c08be30c5 (patch)
tree5049d401a207143ebb88ae56dc470424168093c5 /apps/examples/usbterm/usbterm.h
parente20ee86ffd4d06095641bcecd3dfb0f91552eb89 (diff)
downloadpx4-nuttx-b3aa316f2e4affe5e17c50a178e6c25c08be30c5.tar.gz
px4-nuttx-b3aa316f2e4affe5e17c50a178e6c25c08be30c5.tar.bz2
px4-nuttx-b3aa316f2e4affe5e17c50a178e6c25c08be30c5.zip
STM32 GPIO fix; Fixes for PIC32 USB term example
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4241 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/usbterm/usbterm.h')
-rw-r--r--apps/examples/usbterm/usbterm.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/apps/examples/usbterm/usbterm.h b/apps/examples/usbterm/usbterm.h
index 97ccf5405..241db610a 100644
--- a/apps/examples/usbterm/usbterm.h
+++ b/apps/examples/usbterm/usbterm.h
@@ -144,5 +144,30 @@ extern struct usbterm_globals_s g_usbterm;
/****************************************************************************
* Public Function Prototypes
****************************************************************************/
+/****************************************************************************
+ * Name:
+ *
+ * Description:
+ * If CONFIG_EXAMPLES_USBTERM_DEVINIT is defined, then the example will
+ * call this user provided function as part of its initialization.
+ *
+ ****************************************************************************/
+
+#ifdef CONFIG_EXAMPLES_USBTERM_DEVINIT
+int usbterm_devinit(void);
+#endif
+
+/****************************************************************************
+ * Name:
+ *
+ * Description:
+ * If CONFIG_EXAMPLES_USBTERM_DEVINIT is defined, then the example will
+ * call this user provided function as part of its termination sequeunce.
+ *
+ ****************************************************************************/
+
+#ifdef CONFIG_EXAMPLES_USBTERM_DEVINIT
+void usbterm_devuninit(void);
+#endif
#endif /* __APPS_EXAMPLES_USBTERM_USBTERM_H */