]> rtime.felk.cvut.cz Git - pes-rpp/rpp-test-sw.git/blobdiff - source/het.c
Added command to set and read HOUT port
[pes-rpp/rpp-test-sw.git] / source / het.c
index 42ab803e0a8f438a3464f174e3ccc24184efe62a..f77f8244968f006efaed97becbfe6f8c6e972726 100644 (file)
@@ -961,20 +961,20 @@ void hetInit(void)
     /** - Set HET pins direction */\r
     hetREG1->DIR = 0x00000000U \r
                 | 0x00000000U \r
+                | 0x20000000U \r
                 | 0x00000000U \r
                 | 0x00000000U \r
                 | 0x00000000U \r
+                | 0x02000000U \r
                 | 0x00000000U \r
                 | 0x00000000U \r
+                | 0x00400000U \r
                 | 0x00000000U \r
+                | 0x00100000U \r
                 | 0x00000000U \r
+                | 0x00040000U \r
                 | 0x00000000U \r
-                | 0x00000000U \r
-                | 0x00000000U \r
-                | 0x00000000U \r
-                | 0x00000000U \r
-                | 0x00000000U \r
-                | 0x00000000U \r
+                | 0x00010000U \r
                 | 0x00000000U \r
                 | 0x00004000U \r
                 | 0x00000000U \r