prva verzija, poslednji bajt je sporan

Revision:
0:c06c791ca345
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MiWiApp.h	Fri Jul 10 09:28:30 2020 +0000
@@ -0,0 +1,34 @@
+#ifndef MIWIAPP_H
+#define MIWIAPP_H
+
+struct S_GCONFIG
+{
+    char RPS: 1;
+    char VCOT: 2;
+    char FBS: 2;
+    char  CMOD: 3;
+};
+union U_GCONFIG
+{
+  struct S_GCONFIG s_gc;
+  char bajt;   
+};
+
+
+
+
+void inic_MiWi( void );
+char get_mode( void );
+void print_regs( void );
+void set_mode( char mode );
+void txMiWi( char *niz );
+char readMiWiReg( char reg );
+void writeMiWiReg( char reg, char data );
+void writeMiWiData( char data );
+char readMiWiData( void );
+bool lockPllMiWi( );
+void resetMiWi( void );
+
+
+
+#endif
\ No newline at end of file