FreeCalypso > hg > fc-magnetite
comparison 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 |
comparison
equal
deleted
inserted
replaced
131:384fbd61c252 | 132:b8fc86826624 |
---|---|
32 #define SR2 (MEM_UWIRE+0x06) | 32 #define SR2 (MEM_UWIRE+0x06) |
33 #define SR3 (MEM_UWIRE+0x08) | 33 #define SR3 (MEM_UWIRE+0x08) |
34 | 34 |
35 #define INDEX_CS1 (1 << 10) | 35 #define INDEX_CS1 (1 << 10) |
36 #define NB_BITS_WR_8 (1 << 8 ) | 36 #define NB_BITS_WR_8 (1 << 8 ) |
37 #define INDEX_CS0 0 | |
38 #define NB_BITS_WR_9 (9 << 5) | |
37 #define CS_CMD (1 << 12) | 39 #define CS_CMD (1 << 12) |
38 #define START (1 << 13) | 40 #define START (1 << 13) |
39 #define CS1_EDGE_RD (1 << 6) | 41 #define CS1_EDGE_RD (1 << 6) |
40 #define CS1_FRQ_FINT_4 (1 << 9) | 42 #define CS1_FRQ_FINT_4 (1 << 9) |
43 #define CS0_FRQ_FINT_2 0 | |
44 #define CS0_FRQ_FINT_4 (1 << 3) | |
41 #define SR3_CLK_EN 1 | 45 #define SR3_CLK_EN 1 |
42 | 46 |
43 #define CSRB ( 1<<14 ) | 47 #define CSRB ( 1<<14 ) |
44 | 48 |
45 #define IO_SEL0 0xFFFEF008 | 49 #define IO_SEL0 0xFFFEF008 |