1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
| /********************************************************************************************************************
| *
| * Allwinner SoCs display driver.
| *
| * Copyright (C) 2016 Allwinner.
| *
| * This file is licensed under the terms of the GNU General Public
| * License version 2. This program is licensed "as is" without any
| * warranty of any kind, whether express or implied.
| *
| * Melis
| * the Easy Portable/Player Operation System
| * (c) Copyright 2012-2020
| * All Rights Reserved
| *
| * File :
| * By : libaiao
| * Version : v1.00
| * Data :
| * Note : eink 设备控制时序数据和waveform数据
| * Version : v2.00
| * By : liuli
| * Note : eink 设备控制时序数据和waveform数据已经分开,现在只存放timing数据
| **********************************************************************************************************************
| */
|
| #include "include/timing_ctrl.h"
|
| static struct timing_ctrl_manager *g_timing_ctrl_mgr;
|
| struct timing_ctrl_manager *get_timing_ctrl_mgr(void)
| {
| return g_timing_ctrl_mgr;
| }
|
| const __u32 eink_ctrl_line_index_tbl[EINK_LCD_H + 1] = {
|
| 0, 0, 0, 0, 0, /* line1--line5 */
| 1, /* line6 */
| 2, /* line7 */
| 3, /* line8 */
| 3, /* line9(解决右边少显示一行的问题)*/
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* line9--line608,共600行 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 2 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 3 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 4 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 5 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 6 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 7 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 8 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 9 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 10, 100 */
|
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 1 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 2 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 3 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 4 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 5 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 6 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 7 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 8 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 9 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 10, 200 */
|
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 1 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 2 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 3 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 4 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 5 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 6 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 7 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 8 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 9 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 10, 300 */
|
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 1 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 2 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 3 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 4 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 5 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 6 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 7 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 8 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 9 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 10, 400 */
|
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 1 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 2 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 3 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 4 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 5 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 6 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 7 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 8 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 9 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 10, 500 */
|
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 1 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 2 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 3 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 4 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 5 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 6 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 7 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 8 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 9 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 10, 600 */
|
| #if (EINK_PANEL_H >= 758)
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 1 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 2 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 3 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 4 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 5 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 6 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 7 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 8 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 9 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 10, 700 */
|
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 1 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 2 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 3 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 4 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 5 */
|
| 4, 4, 4, 4, 4, 4, 4, 4, /* 6 , 758 */
| #endif
|
| #if (EINK_PANEL_H >= 1080)
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 1 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 2 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 3 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 4 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 5 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 6 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 7 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 8 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 9 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 10, 600 */
|
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 1 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 2 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 3 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 4 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 5 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 6 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 7 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 8 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 9 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 10, 958 */
|
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 1 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 2 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 3 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 4 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 5 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 6 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 7 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 8 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 9 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 10, 1058 */
|
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 1068 */
| 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, /* 1078 */
| 4, 4, /* 1080 */
|
| #endif
| 4, 5, /* line609 */
|
| 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, /* line610--line620 */
| };
|
| /* NEW_CTRL_DATA */
| const __u32 eink_ctrl_tbl_GC16_COMMON[8][EINK_WF_WIDTH] = {
|
| /* line1--line5; 共5行 */
| /* 1 2 3 4 5 6 7 8 9 10 */
| {0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
|
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
|
| #if (EINK_PANEL_W >= 1024)
| /* 256 data */
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
|
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
|
| #endif
|
| #if (EINK_PANEL_W >= 1440)
| /* 360 data */
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
|
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
|
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| #endif
|
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
|
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303,
|
| 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303, 0xA00000|0xFF030303
| },
|
|
| /* line6 */
| /* 1 2 3 4 5 6 7 8 9 10 */
| {0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| /* $14 */
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
|
| /* 1 2 3 4 5 6 7 $108 9 10 */
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
|
|
| #if (EINK_PANEL_W >= 1024)
| /* 256 data */
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
|
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| #endif
|
| #if (EINK_PANEL_W >= 1440)
| /* 360 data */
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
|
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
|
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
|
| #endif
|
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
|
| /* 1 2 3 4 5 6 7 8 9 10 */
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
|
| /* 1 2 3 4 $215 6 7 8 9 10 */
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303,
| 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303,
| 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303,
| 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303,
|
| 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303, 0x208000|0xff030303
| },
|
| /* line7 */
| /* 1 2 3 4 5 6 7 8 9 10 */
| {0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303,
|
|
| 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0x608000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
|
| #if (EINK_PANEL_W >= 1024)
| /* 256 data */
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
|
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| #endif
|
| #if (EINK_PANEL_W >= 1440)
| /* 360 data */
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
|
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
|
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
|
| #endif
|
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
|
|
| /* 1 2 3 2 4 2 5 2 6 2 7 2 8 2 9 2 10 2 2 */
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
|
| /* 1 2 3 2 4 2 $215 2 6 2 7 2 8 2 9 2 10 2 2 */
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
|
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303
| },
|
|
| /* line8 */
| /* 1 2 3 4 5 6 7 8 9 10 */
| {0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
|
|
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
|
| #if (EINK_PANEL_W >= 1024)
| /* 256 data */
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| #endif
|
| #if (EINK_PANEL_W >= 1440)
| /* 360 data */
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
|
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
|
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
|
| #endif
|
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
|
|
| /* 1 2 3 2 4 2 5 2 6 2 7 2 8 2 9 2 10 2 2 */
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
|
| /* 1 2 3 2 4 2 $215 2 6 2 7 2 8 2 9 2 10 2 2 */
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
|
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303
|
| },
|
| /* line9-line608, 共600行 */
| /* 1 2 3 4 5 6 7 8 9 10 */
| {0xE0A000|0xff030303, 0xE0A000|0xff030303, 0xE0A000|0xff030303, 0xE0A000|0xff030303, 0xE0A000|0xff030303, 0xE0A000|0xff030303, 0xE0A000|0xff030303, 0xE0A000|0xff030303, 0xE0A000|0xff030303, 0xE0A000|0xff030303,
|
| /* 1 2 $13 2 $14 2 $15 2 6 2 7 2 8 2 $19 2 10 2 2 */
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xF08000|0xff030303, 0xD08000|0xff030303, 0xD08000|0xff030303, 0xD08000|0xff030303, 0xD08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
|
|
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
|
| #if (EINK_PANEL_W >= 1024)
| /* 256 data */
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| #endif
|
| #if (EINK_PANEL_W >= 1440)
| /* 360 data */
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
|
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
|
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| #endif
|
|
|
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
|
|
| /* 1 2 3 2 4 2 5 2 6 2 7 2 8 2 9 2 10 2 2 */
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303,
| /* 211 212 213 212 214 212 215 212 216 212 217 212 218 212 219 212 210 212 212 */
| 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xF08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303,
| 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303,
| 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303,
| 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303,
|
| /* 251 252 253 252 254 252 255 252 $256 252 257 252 258 252 252 252 252 */
| 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303, 0xB08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303
|
| },
|
| /* 以上为有效数据行 */
|
|
| /* 以下为场结束部分 */
| /* line609 */
| /* 1 2 3 4 $5 6 7 8 9 10 */
| {0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
|
|
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
|
| #if (EINK_PANEL_W >= 1024)
| /* 256 data */
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
|
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| #endif
|
| #if (EINK_PANEL_W >= 1440)
| /* 360 data */
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
|
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
|
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| #endif
|
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
|
|
| /* 1 2 3 2 3 4 2 3 5 2 3 6 2 3 $7 2 3 8 2 39 2 3 10 2 3 2 3 */
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303,
|
| /* 21 212 213 212 214 212 215 212 216 212 217 212 218 212 219 212 210 212 212 */
| 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xE08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
|
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303
| },
|
| /* line610-620 */
| /* 1 2 3 4 $5 6 $7 8 9 10 */
| {0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
|
|
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
|
| #if (EINK_PANEL_W >= 1024)
| /* 256 data */
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
|
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| #endif
|
| #if (EINK_PANEL_W >= 1440)
| /* 360 data */
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
|
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
|
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
|
| #endif
|
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
|
|
| /* 1 2 3 2 4 2 5 2 6 2 $7 2 8 2 9 2 10 2 2 */
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303,
|
| 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303, 0xA08000|0xff030303
| },
|
| };
|
| /*
| Description : wavedata buffer must call this function to init conctrl data,
| this interface is for 8-bits data TCON
| Input : eink_timing_info -- specify the eink panel timing parameter
| Ouput : timing_buf -- timing para buffer address(virturl address)
| Return : 0 -- success, others -- fail
| */
| int init_eink_ctrl_data(unsigned long timing_vaddr)
| {
| int ret = 0;
| u32 row, col = 0, row_temp = 0;
|
| const u32 *p_ctrl_gc_tbl = NULL;
| u32 *p_ctrl_line = NULL;
|
| u32 wav_width = 0, wav_height = 0;
| u32 hync_len = 0, vync_len = 0;
| u32 h_data_len = 0, v_data_len = 0;
|
| u32 *point = NULL;
| A13_WAVEDATA *global_ctrl_buffer = NULL;
|
| A13_WAVEDATA *src = NULL;
| TIMING_INFO *dest = NULL;
|
| struct eink_panel_info *panel_info;
| struct timing_info *timing;
|
| struct eink_manager *mgr = get_eink_manager();
|
| if (mgr == NULL) {
| pr_err("%s:Eink Mgr is NULL\n", __func__);
| return -1;
| }
|
| panel_info = &mgr->panel_info;
| timing = &mgr->timing_info;
|
| if ((timing_vaddr == 0) || (panel_info == NULL) || (timing == NULL)) {
|
| pr_err("%s: input param is null\n", __func__);
| return -EINVAL;
| }
|
| hync_len = timing->lsl + timing->lbl + timing->lel;
| vync_len = timing->fsl + timing->fbl + timing->fel;
| h_data_len = panel_info->width >> 2;
| v_data_len = panel_info->height;
| wav_width = h_data_len + hync_len;
| wav_height = v_data_len + vync_len;
|
| global_ctrl_buffer = (A13_WAVEDATA *)kzalloc(wav_width * wav_height *
| sizeof(A13_WAVEDATA), GFP_KERNEL);
| if (global_ctrl_buffer == NULL) {
| pr_err("%s: alloc memory for global control buffer fail, size=0x%x\n", __func__,
| (unsigned int)(wav_width * wav_height * sizeof(A13_WAVEDATA)));
| return -ENOMEM;
| }
|
| point = (u32 *)global_ctrl_buffer;
| p_ctrl_gc_tbl = (u32 *)eink_ctrl_tbl_GC16_COMMON[4];
| p_ctrl_line = (u32 *)eink_ctrl_line_index_tbl;
|
| /* line1--line8 */
| for (row = 0; row < (timing->fsl + timing->fbl); row++) {
| row_temp = *p_ctrl_line++;
| for (col = 0; col < wav_width; col++) {
| *point = eink_ctrl_tbl_GC16_COMMON[row_temp][col];
| point++;
| }
| }
|
| /* p_ctrl_line += 600;*/
| /* point += 600*258;*/
|
| for (; row < (wav_height - timing->fel); row++) {
| row_temp = *p_ctrl_line++;
| /* for (col = 0; col < (eink_timing_info->lsl +
| * eink_timing_info->lbl); col++) {
| *point = (*(p_ctrl_gc_tbl + col));
| point++;
| }
|
| point += h_data_len;
| col += h_data_len;
| */
| for (col = 0; col < wav_width; col++) {
| *point = (*(p_ctrl_gc_tbl + col));
| point++;
| }
| }
|
| for (; row < wav_height; row++) {
| row_temp = *p_ctrl_line++;
| for (col = 0; col < wav_width; col++) {
| *point = eink_ctrl_tbl_GC16_COMMON[row_temp][col];
| point++;
| }
| }
|
| src = global_ctrl_buffer;
| dest = (TIMING_INFO *)timing_vaddr;
|
| for (row = 0; row < wav_height; row++) {
| for (col = 0; col < wav_width; col++) {
| dest->bits.mode = src->bits.mode;
| dest->bits.oeh = src->bits.oeh;
| dest->bits.leh = src->bits.leh;
| dest->bits.sth = src->bits.sth;
| dest->bits.ckv = src->bits.ckv;
| dest->bits.stv = src->bits.stv;
| dest->bits.res0 = 0;//3;
| dest++;
| src++;
| }
| }
|
| if (global_ctrl_buffer != NULL) {
| kfree(global_ctrl_buffer);
| global_ctrl_buffer = NULL;
| }
|
| return ret;
| }
|
| static s32 timing_ctrl_set_open_func(struct timing_ctrl_manager *mgr,
| EINK_PANEL_FUNC func, u32 delay)
| {
| EINK_INFO_MSG("\n");
| if (func) {
| EINK_INFO_MSG("\n");
| mgr->open_flow.func[mgr->open_flow.func_num].func = func;
| mgr->open_flow.func[mgr->open_flow.func_num].delay = delay;
| mgr->open_flow.func_num++;
| }
|
| return 0;
| }
|
| static s32 timing_ctrl_set_close_func(struct timing_ctrl_manager *mgr,
| EINK_PANEL_FUNC func, u32 delay)
| {
| EINK_INFO_MSG("\n");
| if (func) {
| mgr->close_flow.func[mgr->close_flow.func_num].func = func;
| mgr->close_flow.func[mgr->close_flow.func_num].delay = delay;
| mgr->close_flow.func_num++;
| }
|
| return 0;
| }
|
| s32 timing_ctrl_mgr_enable(struct timing_ctrl_manager *mgr)
| {
| int ret = 0, i = 0;
| unsigned long flags = 0;
|
| spin_lock_irqsave(&mgr->tlock, flags);
| if (mgr->enabled) {
| pr_warn("timing mgr already enable!\n");
| spin_unlock_irqrestore(&mgr->tlock, flags);
| return 0;
| }
|
| spin_unlock_irqrestore(&mgr->tlock, flags);
| #ifdef TIMING_FROM_MEM
| u32 hsync = 0, vsync = 0;
| struct timing_buf_cfg cfg_buf;
| struct timing_info *timing = &mgr->info;
| u32 coor_x = 0, coor_y = 0;
|
| hsync = timing->lsl + timing->lbl + timing->ldl + timing->lel;
| vsync = timing->fsl + timing->fbl + timing->fdl + timing->fel;
| mgr->timing_size = hsync * vsync;
|
| mgr->timing_vaddr = eink_malloc(mgr->timing_size, &mgr->timing_paddr);
| if (mgr->timing_vaddr == NULL) {
| pr_err("%s: timing buf malloc faile\n", __func__);
| ret = -ENOMEM;
| goto timing_buf_err;
| }
|
| ret = init_eink_ctrl_data((unsigned long)mgr->timing_vaddr);
| if (ret) {
| pr_err("%s:fail to init ctrl data\n", __func__);
| ret = -EINVAL;
| goto timing_buf_err;
| }
| eink_cache_sync(mgr->timing_vaddr, mgr->timing_size);
| EINK_INFO_MSG("timing vaddr=0x%p, paddr=0x%p\n", mgr->timing_vaddr, (void *)mgr->timing_paddr);
|
| save_as_bin_file((__u8 *)mgr->timing_vaddr, "/tmp/timing_test.bin", mgr->timing_size, 0);
|
| cfg_buf.addr = mgr->timing_paddr;
| cfg_buf.width = hsync - 1;
| cfg_buf.pitch = hsync;
| cfg_buf.height = vsync - 1;
|
| coor_x = timing->lsl + timing->lbl;
| coor_y = timing->fsl + timing->fbl;
| eink_timing_config_coor(coor_x, coor_y);
| eink_config_timing_buf(&cfg_buf);
| #else
| eink_config_timing_param(&mgr->info);
| eink_timing_gen_enable();
| #endif
| for (i = 0; i < EINK_GPIO_NUM; i++) {
| mgr->gpio_hdl[i] = 0;
|
| if (mgr->eink_gpio_used[i]) {
| mgr->gpio_hdl[i] =
| eink_sys_gpio_request(&mgr->eink_gpio[i], 1);
| }
| }
|
| mgr->open_flow.func_num = 0;/* reset when standby */
| if (mgr->panel_func.cfg_open_flow)
| mgr->panel_func.cfg_open_flow();
| else {
| pr_err("%s:cfg_open_flow is NULL\n", __func__);
| ret = -EINVAL;
| return ret;
| }
|
| EINK_INFO_MSG("func num = %d\n", mgr->open_flow.func_num);
| for (i = 0; i < mgr->open_flow.func_num; i++) {
| EINK_INFO_MSG("0x%p\n", mgr->open_flow.func[i].func);
| if (mgr->open_flow.func[i].func) {
| mgr->open_flow.func[i].func();
| EINK_INFO_MSG("open flow:step %d finish, to delay %d\n", i,
| mgr->open_flow.func[i].delay);
| if (mgr->open_flow.func[i].delay != 0)
| mdelay(mgr->open_flow.func[i].delay);
| }
| }
|
| spin_lock_irqsave(&mgr->tlock, flags);
| mgr->enabled = 1;
| spin_unlock_irqrestore(&mgr->tlock, flags);
| return ret;
| #ifdef TIMING_FROM_MEM
| timing_buf_err:
| if (mgr->timing_vaddr)
| eink_free(mgr->timing_vaddr, (void *)mgr->timing_paddr, mgr->timing_size);
| return ret;
| #endif
| }
|
| int timing_ctrl_mgr_disable(struct timing_ctrl_manager *mgr)
| {
| int i = 0;
| unsigned long flags = 0;
|
| spin_lock_irqsave(&mgr->tlock, flags);
| if (mgr->enabled == 0) {
| pr_warn("timing mgr already disable!\n");
| spin_unlock_irqrestore(&mgr->tlock, flags);
| return 0;
| }
| spin_unlock_irqrestore(&mgr->tlock, flags);
|
| mgr->close_flow.func_num = 0;
| if (mgr->panel_func.cfg_close_flow)
| mgr->panel_func.cfg_close_flow();
| else {
| pr_err("%s:cfg_close_flow is NULL\n", __func__);
| return -1;
| }
|
| for (i = 0; i < mgr->close_flow.func_num; i++) {
| if (mgr->close_flow.func[i].func) {
| mgr->close_flow.func[i].func();
| EINK_INFO_MSG("close flow:step %d finish, to delay %d\n", i,
| mgr->close_flow.func[i].delay);
| if (mgr->close_flow.func[i].delay != 0)
| mdelay(mgr->close_flow.func[i].delay);
| }
| }
|
| for (i = 0; i < EINK_GPIO_NUM; i++) {
| if (mgr->gpio_hdl[i]) {
| eink_sys_gpio_release(mgr->gpio_hdl[i]);
|
| mgr->eink_gpio[i].mul_sel = 7;
| mgr->gpio_hdl[i] =
| eink_sys_gpio_request(&mgr->eink_gpio[i], 1);
|
| eink_sys_gpio_release(mgr->gpio_hdl[i]);
| mgr->gpio_hdl[i] = 0;
| }
| }
| #ifdef TIMING_FROM_MEM
| if (mgr->timing_vaddr)
| eink_free(mgr->timing_vaddr, (void *)mgr->timing_paddr, mgr->timing_size);
| #endif
| spin_lock_irqsave(&mgr->tlock, flags);
| mgr->enabled = 0;
| spin_unlock_irqrestore(&mgr->tlock, flags);
| return 0;
| }
|
| int timing_ctrl_mgr_init(struct init_para *para)
| {
| int ret = 0;
| struct timing_ctrl_manager *timing_ctrl_mgr = NULL;
|
| struct eink_manager *eink_mgr = get_eink_manager();
|
| if (eink_mgr == NULL) {
| pr_err("%s:eink_mgr is NULL!\n", __func__);
| return -1;
| }
| timing_ctrl_mgr =
| (struct timing_ctrl_manager *)kmalloc(sizeof(struct timing_ctrl_manager), GFP_KERNEL | __GFP_ZERO);
| if (timing_ctrl_mgr == NULL) {
| pr_err("%s:timing manager malloc failed!\n", __func__);
| ret = -ENOMEM;
| goto timing_mgr_err;
| }
|
| memcpy(&timing_ctrl_mgr->info, ¶->timing_info, sizeof(struct timing_info));
| memcpy(timing_ctrl_mgr->eink_gpio_used, para->eink_gpio_used, EINK_GPIO_NUM * sizeof(unsigned int));
| memcpy(timing_ctrl_mgr->eink_gpio, para->eink_gpio, EINK_GPIO_NUM * sizeof(struct eink_gpio_cfg));
|
| timing_ctrl_mgr->enable = timing_ctrl_mgr_enable;
| timing_ctrl_mgr->disable = timing_ctrl_mgr_disable;
| timing_ctrl_mgr->set_open_func = timing_ctrl_set_open_func;
| timing_ctrl_mgr->set_close_func = timing_ctrl_set_close_func;
|
| timing_ctrl_mgr->enabled = 0;
| eink_mgr->timing_ctrl_mgr = timing_ctrl_mgr;
| g_timing_ctrl_mgr = timing_ctrl_mgr;
|
| /* init eink panel func */
| eink_panel_init();
|
| return 0;
|
| timing_mgr_err:
| kfree(timing_ctrl_mgr);
| return ret;
| }
|
| s32 eink_set_panel_funcs(char *name, struct eink_panel_func *eink_cfg)
| {
| struct timing_ctrl_manager *timing_ctrl_mgr = NULL;
| char primary_key[20], drv_name[32];
| s32 ret = 0;
|
| EINK_INFO_MSG("PANEL:%s come in!\n", name);
|
| timing_ctrl_mgr = g_timing_ctrl_mgr;
| if (timing_ctrl_mgr == NULL) {
| pr_err("set panel funcs NULL hdl!\n");
| return -EINVAL;
| }
|
| sprintf(primary_key, "eink");
|
| ret = eink_sys_script_get_item(primary_key, "eink_panel_name",
| (int *)drv_name, 2);
| EINK_INFO_MSG("syscfg_drv_name %s, set_panel_name %s\n", drv_name, name);
|
| if ((ret == 2) && !strcmp(drv_name, name)) {
| memset(&timing_ctrl_mgr->panel_func, 0, sizeof(struct eink_panel_func));
| timing_ctrl_mgr->panel_func.cfg_open_flow = eink_cfg->cfg_open_flow;
| timing_ctrl_mgr->panel_func.cfg_close_flow = eink_cfg->cfg_close_flow;
|
| return 0;
| }
|
| return -1;
| }
|
|