Zephyr API Documentation  3.6.0
A Scalable Open Source RTOS
3.6.0
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
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:44
int ht16k33_register_keyscan_callback(const struct device *parent, const struct device *child, kscan_callback_t callback)
Register a HT16K33 keyscan device to be notified of relevant keyscan events by the keyscan interrupt ...
Public API for Keyboard scan matrix devices.
Runtime device structure (in ROM) per driver instance.
Definition: device.h:387