Zephyr API Documentation  2.7.0-rc2
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 <drivers/kscan.h>
12
24 const struct device *child,
25 kscan_callback_t callback);
26
27#endif /* ZEPHYR_INCLUDE_DRIVERS_LED_HT16K33_H_ */
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
int ht16k33_register_keyscan_callback(const struct device *parent, const struct device *child, kscan_callback_t callback)
Public API for Keyboard scan matrix devices. The scope of this API is simply to report which key even...
Runtime device structure (in ROM) per driver instance.
Definition: device.h:367