Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
framebuf.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2019 Intel Corp.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_DISPLAY_FRAMEBUF_H_
8#define ZEPHYR_INCLUDE_DISPLAY_FRAMEBUF_H_
9
10#include <drivers/display.h>
11
13
15 void *buffer;
19};
20
21#define FRAMEBUF_DATA(dev) ((struct framebuf_dev_data *) ((dev)->data))
22
23#endif /* ZEPHYR_INCLUDE_DISPLAY_FRAMEBUF_H_ */
Public API for display drivers and applications.
const struct display_driver_api framebuf_display_api
__UINT32_TYPE__ uint32_t
Definition: stdint.h:60
__UINT16_TYPE__ uint16_t
Definition: stdint.h:59
Display driver API API which a display driver should expose.
Definition: display.h:200
Definition: framebuf.h:14
uint32_t pitch
Definition: framebuf.h:16
void * buffer
Definition: framebuf.h:15
uint16_t height
Definition: framebuf.h:18
uint16_t width
Definition: framebuf.h:17