Zephyr API Documentation
3.0.0
A Scalable Open Source RTOS
3.0.0
Toggle main menu visibility
Main Page
Related Pages
Modules
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
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
y
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
y
z
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
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
Enumerator
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
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
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
ft8xx_common.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2020 Hubert Miś
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
12
#ifndef ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_COMMON_H_
13
#define ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_COMMON_H_
14
15
#include <
stdint.h
>
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
34
void
ft8xx_wr8
(
uint32_t
address,
uint8_t
data
);
35
42
void
ft8xx_wr16
(
uint32_t
address,
uint16_t
data
);
43
50
void
ft8xx_wr32
(
uint32_t
address,
uint32_t
data
);
51
59
uint8_t
ft8xx_rd8
(
uint32_t
address);
60
68
uint16_t
ft8xx_rd16
(
uint32_t
address);
69
77
uint32_t
ft8xx_rd32
(
uint32_t
address);
78
83
#ifdef __cplusplus
84
}
85
#endif
86
87
#endif
/* ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_COMMON_H_ */
ft8xx_wr32
void ft8xx_wr32(uint32_t address, uint32_t data)
Write 4 bytes (32 bits) to FT8xx memory.
ft8xx_wr8
void ft8xx_wr8(uint32_t address, uint8_t data)
Write 1 byte (8 bits) to FT8xx memory.
ft8xx_rd32
uint32_t ft8xx_rd32(uint32_t address)
Read 4 bytes (32 bits) from FT8xx memory.
ft8xx_rd8
uint8_t ft8xx_rd8(uint32_t address)
Read 1 byte (8 bits) from FT8xx memory.
ft8xx_rd16
uint16_t ft8xx_rd16(uint32_t address)
Read 2 bytes (16 bits) from FT8xx memory.
ft8xx_wr16
void ft8xx_wr16(uint32_t address, uint16_t data)
Write 2 bytes (16 bits) to FT8xx memory.
stdint.h
uint32_t
__UINT32_TYPE__ uint32_t
Definition:
stdint.h:60
uint8_t
__UINT8_TYPE__ uint8_t
Definition:
stdint.h:58
uint16_t
__UINT16_TYPE__ uint16_t
Definition:
stdint.h:59
data
static fdata_t data[2]
Definition:
test_fifo_contexts.c:15
include
drivers
misc
ft8xx
ft8xx_common.h
Generated on Mon Feb 21 2022 22:43:01 for Zephyr API Documentation by
1.9.2