LPC2: add LPC2378 example project.
[bertos.git] / examples / lpc2378 / hw / hw_ntc.c
diff --git a/examples/lpc2378/hw/hw_ntc.c b/examples/lpc2378/hw/hw_ntc.c
new file mode 100644 (file)
index 0000000..b8c5691
--- /dev/null
@@ -0,0 +1,46 @@
+/**\r
+ * \file\r
+ * <!--\r
+ * This file is part of BeRTOS.\r
+ *\r
+ * Bertos is free software; you can redistribute it and/or modify\r
+ * it under the terms of the GNU General Public License as published by\r
+ * the Free Software Foundation; either version 2 of the License, or\r
+ * (at your option) any later version.\r
+ *\r
+ * This program is distributed in the hope that it will be useful,\r
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+ * GNU General Public License for more details.\r
+ *\r
+ * You should have received a copy of the GNU General Public License\r
+ * along with this program; if not, write to the Free Software\r
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\r
+ *\r
+ * As a special exception, you may use this file as part of a free software\r
+ * library without restriction.  Specifically, if other files instantiate\r
+ * templates or use macros or inline functions from this file, or you compile\r
+ * this file and link it with other files to produce an executable, this\r
+ * file does not by itself cause the resulting executable to be covered by\r
+ * the GNU General Public License.  This exception does not however\r
+ * invalidate any other reasons why the executable file might be covered by\r
+ * the GNU General Public License.\r
+ *\r
+ * Copyright 2008 Develer S.r.l. (http://www.develer.com/)\r
+ * All Rights Reserved.\r
+ * -->\r
+ *\r
+ * \brief NTC hardware-specific definition\r
+ *\r
+ * \version $Id: hw_ntc.h 1359 2008-05-26 09:42:37Z asterix $\r
+ * \author Lorenzo Berni <duplo@develer.com>\r
+ * \r
+ */\r
+\r
+#include <drv/ntc.h>\r
+#include "hw/ntc_map.h"\r
+\r
+const res_t      NTC_RSER[NTC_CNT];\r
+const res_t      NTC_RPAR[NTC_CNT];\r
+const amp_t      NTC_AMP[NTC_CNT];\r
+const NtcHwInfo* NTC_INFO[NTC_CNT];\r