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
ht16k33.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2019 Henrik Brix Andersen <henrik@brixandersen.dk>
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
8
#ifndef ZEPHYR_INCLUDE_DRIVERS_LED_HT16K33_H_
9
#define ZEPHYR_INCLUDE_DRIVERS_LED_HT16K33_H_
10
11
#include <
drivers/kscan.h
>
12
23
int
ht16k33_register_keyscan_callback
(
const
struct
device
*parent,
24
const
struct
device
*child,
25
kscan_callback_t
callback);
26
27
#endif
/* ZEPHYR_INCLUDE_DRIVERS_LED_HT16K33_H_ */
kscan_callback_t
void(* kscan_callback_t)(const struct device *dev, uint32_t row, uint32_t column, bool pressed)
Keyboard scan callback called when user press/release a key on a matrix keyboard.
Definition:
kscan.h:43
ht16k33_register_keyscan_callback
int ht16k33_register_keyscan_callback(const struct device *parent, const struct device *child, kscan_callback_t callback)
kscan.h
Public API for Keyboard scan matrix devices. The scope of this API is simply to report which key even...
device
Runtime device structure (in ROM) per driver instance.
Definition:
device.h:450
include
drivers
led
ht16k33.h
Generated on Mon Feb 21 2022 22:43:01 for Zephyr API Documentation by
1.9.2