]> rtime.felk.cvut.cz Git - fpga/virtex2/uart.git/blobdiff - software/hardware.h
Added custom openMSP430 peripheral as an interface to the quadcount module.
[fpga/virtex2/uart.git] / software / hardware.h
index 7e4d846071282996632610c748dfa6336cddac05..d7131041c5c0f2b5bf0463ec800aa05d7852c6fe 100644 (file)
@@ -9,6 +9,13 @@
 #include <iomacros.h>
 
 
+//QuadCounter registers
+#define QCNTL_             0x0150
+sfrw(QCNTL,QCNTL_);
+#define QCNTH_             0x0152
+sfrw(QCNTH,QCNTH_);
+
+
 //PINS
 //PORT1
 #define TX              BIT1