File tree Expand file tree Collapse file tree 4 files changed +16
-17
lines changed Expand file tree Collapse file tree 4 files changed +16
-17
lines changed Original file line number Diff line number Diff line change 16
16
#include < Arduino.h>
17
17
#include < drivers/DigitalOut.h>
18
18
#include < drivers/DigitalInOut.h>
19
- #include < dsi.h>
20
- // #include <string.h>
21
19
#include < drivers/I2C.h>
22
20
23
21
#ifdef TARGET_PORTENTA_H7
24
22
23
+ #include " dsi.h"
25
24
#include " anx7625.h"
26
25
#include " video_modes.h"
27
26
Original file line number Diff line number Diff line change @@ -353,20 +353,6 @@ enum AudioWdLen {
353
353
#define ONE_BLOCK_SIZE 128
354
354
#define FOUR_BLOCK_SIZE (128*4)
355
355
356
- struct display_timing {
357
- unsigned int pixelclock ;
358
- unsigned int hactive ;
359
- unsigned int hfront_porch ;
360
- unsigned int hback_porch ;
361
- unsigned int hsync_len ;
362
- unsigned int vactive ;
363
- unsigned int vfront_porch ;
364
- unsigned int vback_porch ;
365
- unsigned int vsync_len ;
366
- unsigned int hpol : 1 ;
367
- unsigned int vpol : 1 ;
368
- };
369
-
370
356
int anx7625_dp_start (uint8_t bus , const struct edid * edid , enum edid_modes mode = EDID_MODE_AUTO );
371
357
int anx7625_dp_get_edid (uint8_t bus , struct edid * out );
372
358
int anx7625_init (uint8_t bus );
Original file line number Diff line number Diff line change 1
1
#include < Arduino.h>
2
- # include < anx7625.h >
2
+
3
3
#include " dsi.h"
4
4
#include " SDRAM.h"
5
5
Original file line number Diff line number Diff line change 3
3
4
4
extern DSI_HandleTypeDef dsi ;
5
5
6
+ struct display_timing {
7
+ unsigned int pixelclock ;
8
+ unsigned int hactive ;
9
+ unsigned int hfront_porch ;
10
+ unsigned int hback_porch ;
11
+ unsigned int hsync_len ;
12
+ unsigned int vactive ;
13
+ unsigned int vfront_porch ;
14
+ unsigned int vback_porch ;
15
+ unsigned int vsync_len ;
16
+ unsigned int hpol : 1 ;
17
+ unsigned int vpol : 1 ;
18
+ };
19
+
6
20
int dsi_init (uint8_t bus , struct edid * edid , struct display_timing * dt );
7
21
8
22
void dsi_lcdClear (uint32_t color );
You can’t perform that action at this time.
0 commit comments