lcd.h 305 Bytes
Newer Older
Rahix's avatar
Rahix committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <stdbool.h>
#include <stdint.h>

void lcd_reconfigure(void);
void lcd_initialize(void);
void lcd_write_fb_partial(
	uint16_t xstart,
	uint16_t ystart,
	uint16_t xend,
	uint16_t yend,
	const uint8_t *fb
);
void lcd_write_fb(const uint8_t *fb);
void lcd_set_screenflip(bool flipped);