Zephyr Project API
3.2.0
A Scalable Open Source RTOS
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 <
zephyr/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:435
include
zephyr
drivers
led
ht16k33.h
Generated on Tue Feb 28 2023 15:43:18 for Zephyr Project API by
1.9.2