diff src/cs/drivers/drv_app/r2d/uwire.h @ 132:b8fc86826624

R2D: C139 LCD driver enabled
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 08 Oct 2016 03:55:20 +0000
parents 945cf7f506b2
children
line wrap: on
line diff
--- a/src/cs/drivers/drv_app/r2d/uwire.h	Fri Oct 07 22:04:02 2016 +0000
+++ b/src/cs/drivers/drv_app/r2d/uwire.h	Sat Oct 08 03:55:20 2016 +0000
@@ -34,10 +34,14 @@
 
 #define INDEX_CS1       (1 << 10)
 #define NB_BITS_WR_8    (1 << 8 )
+#define INDEX_CS0       0
+#define NB_BITS_WR_9    (9 << 5)
 #define CS_CMD          (1 << 12)
 #define START           (1 << 13)
 #define CS1_EDGE_RD     (1 << 6)
 #define CS1_FRQ_FINT_4  (1 << 9)
+#define CS0_FRQ_FINT_2  0
+#define CS0_FRQ_FINT_4  (1 << 3)
 #define SR3_CLK_EN      1
 
 #define CSRB            ( 1<<14 )
@@ -75,4 +79,4 @@
    #endif
 #endif
 
-#endif /*_UWIRE_H_*/
\ No newline at end of file
+#endif /*_UWIRE_H_*/