1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-20 20:13:50 +01:00
RIOT/drivers
bors[bot] ae2118cbf6
Merge #19816
19816: drivers/lcd: code deduplication for st7735 and ili9341 r=aabadie a=gschorcht

### Contribution description

In preparation for the parallel interface support the following changes were made:

1. The code for basic communication (acquire/release SPI device, SPI transfers), which were always duplicated by copy & paste in each display driver again and again, has been moved to the LCD driver as low-level functions that are now used by the display drivers. These low level function allow 
- code deduplication and
- to define a more abstract communication interface that can then be extended later by parallel communication interface
2. Identical GPIO initializations has also been moved from display drivers to the LCD driver.
3. Using a default implementation of `lcd_set_area` function allows further code deduplication.

Finally, the `ili9341` and `st7735` drivers only implement the inialization sequence for the LCD driver IC.

### Testing procedure

`tests/drivers/ili9341` should still work for a board with an ILI9341. Tested with `esp32-wrover-kit`.
`tests/drivers/st7735` should still work for a board with a ST77xx. Tested with `esp32s3-usb-otg`.

### Issues/PRs references


Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
2023-07-12 14:08:56 +00:00
..
2022-09-14 15:05:25 +02:00
2023-02-23 16:44:24 +01:00
2022-09-14 15:05:25 +02:00
2022-09-14 15:05:25 +02:00
2022-09-14 15:05:25 +02:00
2022-03-04 14:15:35 +01:00
2022-09-14 15:05:25 +02:00
2023-02-23 16:44:24 +01:00
2023-02-23 16:44:24 +01:00
2022-09-14 15:05:25 +02:00
2022-09-14 15:05:25 +02:00
2023-02-23 16:44:24 +01:00
2023-02-23 16:44:24 +01:00
2023-02-23 16:44:24 +01:00
2022-09-14 15:05:25 +02:00
2023-02-23 16:44:24 +01:00
2023-02-23 16:44:24 +01:00
2023-02-23 16:44:24 +01:00
2022-09-14 15:05:25 +02:00
2023-01-31 21:05:07 +01:00
2022-09-14 15:05:25 +02:00
2023-02-23 16:44:24 +01:00
2023-02-23 16:44:24 +01:00
2023-05-23 21:40:40 +02:00
2023-06-01 16:52:26 +02:00
2023-05-22 12:22:01 -04:00
2022-12-15 10:15:31 +00:00
2022-09-14 15:05:25 +02:00
2022-03-04 14:15:50 +01:00
2023-02-23 16:44:24 +01:00
2022-09-14 15:05:25 +02:00
2022-09-26 18:54:40 +02:00
2022-09-16 14:00:35 +02:00
2023-05-19 23:01:30 +02:00
2022-03-04 14:15:57 +01:00
2022-03-04 14:15:58 +01:00
2022-09-14 15:05:25 +02:00
2022-09-14 15:05:25 +02:00
2023-07-10 10:51:20 +00:00