]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/m16c62p/dac/HplM16c62pDacC.nc
Merge TinyOS 2.1.1 into master.
[tinyos-2.x.git] / tos / chips / m16c62p / dac / HplM16c62pDacC.nc
diff --git a/tos/chips/m16c62p/dac/HplM16c62pDacC.nc b/tos/chips/m16c62p/dac/HplM16c62pDacC.nc
new file mode 100755 (executable)
index 0000000..31b3961
--- /dev/null
@@ -0,0 +1,17 @@
+/**
+ * HPL for the M16c62p D/A conversion susbsystem.
+ *
+ * @author Henrik Makitaavola <henrik.makitaavola@gmail.com>
+ */
+
+configuration HplM16c62pDacC {
+  provides interface HplM16c62pDac as Dac0;
+  provides interface HplM16c62pDac as Dac1;
+}
+implementation {
+  components new HplM16c62pDacP(&DA0, 0) as Dac0_, 
+             new HplM16c62pDacP(&DA1, 1) as Dac1_;
+
+  Dac0 = Dac0_;
+  Dac1 = Dac1_;
+}