You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
498 B
23 lines
498 B
/* |
|
* Copyright (c) 2019 Intel Corp. |
|
* |
|
* SPDX-License-Identifier: Apache-2.0 |
|
*/ |
|
|
|
#ifndef ZEPHYR_INCLUDE_DISPLAY_FRAMEBUF_H_ |
|
#define ZEPHYR_INCLUDE_DISPLAY_FRAMEBUF_H_ |
|
|
|
#include <drivers/display.h> |
|
|
|
extern const struct display_driver_api framebuf_display_api; |
|
|
|
struct framebuf_dev_data { |
|
void *buffer; |
|
uint32_t pitch; |
|
uint16_t width; |
|
uint16_t height; |
|
}; |
|
|
|
#define FRAMEBUF_DATA(dev) ((struct framebuf_dev_data *) ((dev)->data)) |
|
|
|
#endif /* ZEPHYR_INCLUDE_DISPLAY_FRAMEBUF_H_ */
|
|
|