Zephyr API Documentation
4.2.0-rc3
A Scalable Open Source RTOS
4.2.0-rc3
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Zephyr API Documentation
Introduction
Deprecated List
Topics
Data Structures
Files
File List
doc
kernel
lib
modules
subsys
zephyr
acpi
app_memory
arch
audio
bluetooth
canbus
console
crypto
data
debug
devicetree
dfu
display
cfb.h
mb_display.h
mipi_display.h
ssd16xx.h
drivers
dsp
dt-bindings
fs
input
internal
ipc
kernel
linker
llext
logging
lorawan
math
mem_mgmt
mgmt
misc
modbus
modem
multi_heap
net
platform
pm
pmci
portability
posix
psa
random
retention
rtio
sd
sensing
settings
shell
sip_svc
stats
storage
sys
task_wdt
timing
toolchain
tracing
usb
usb_c
xen
zbus
zvfs
bindesc.h
cache.h
device.h
devicetree.h
fatal.h
fatal_types.h
init.h
irq.h
irq_multilevel.h
irq_nextlevel.h
irq_offload.h
kernel.h
kernel_includes.h
kernel_structs.h
kernel_version.h
net_buf.h
service.h
shared_irq.h
smf.h
spinlock.h
sw_isr_table.h
sys_clock.h
syscall.h
toolchain.h
types.h
Globals
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
ssd16xx.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2022 Andreas Sandberg
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_DISPLAY_SSD16XX_H_
8
#define ZEPHYR_INCLUDE_DISPLAY_SSD16XX_H_
9
10
#include <
zephyr/drivers/display.h
>
11
15
enum
ssd16xx_ram
{
20
SSD16XX_RAM_BLACK
= 0,
21
/* The red RAM buffer. This is typically the old frame buffer
22
* when performing partial refreshes or an additional color
23
* channel.
24
*/
25
SSD16XX_RAM_RED
,
26
};
15
enum
ssd16xx_ram
{
…
};
27
41
int
ssd16xx_read_ram
(
const
struct
device
*dev,
enum
ssd16xx_ram
ram_type,
42
const
uint16_t
x,
const
uint16_t
y,
43
const
struct
display_buffer_descriptor
*desc,
44
void
*buf);
45
46
#endif
/* ZEPHYR_INCLUDE_DISPLAY_SSD16XX_H_ */
display.h
Public API for display drivers and applications.
ssd16xx_read_ram
int ssd16xx_read_ram(const struct device *dev, enum ssd16xx_ram ram_type, const uint16_t x, const uint16_t y, const struct display_buffer_descriptor *desc, void *buf)
Read data directly from the display controller's internal RAM.
ssd16xx_ram
ssd16xx_ram
SSD16xx RAM type for direct RAM access.
Definition
ssd16xx.h:15
SSD16XX_RAM_RED
@ SSD16XX_RAM_RED
Definition
ssd16xx.h:25
SSD16XX_RAM_BLACK
@ SSD16XX_RAM_BLACK
The black RAM buffer.
Definition
ssd16xx.h:20
uint16_t
__UINT16_TYPE__ uint16_t
Definition
stdint.h:89
device
Runtime device structure (in ROM) per driver instance.
Definition
device.h:510
display_buffer_descriptor
Structure to describe display data buffer layout.
Definition
display.h:124
zephyr
display
ssd16xx.h
Generated on
for Zephyr API Documentation by
1.14.0