Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
aw9523b.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 TOKITA Hiroshi
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_DRIVERS_MFD_AW9523B_H_
8#define ZEPHYR_INCLUDE_DRIVERS_MFD_AW9523B_H_
9
10struct k_sem;
11struct device;
12
13#define AW9523B_REG_INPUT0 0x00
14#define AW9523B_REG_INPUT1 0x01
15#define AW9523B_REG_OUTPUT0 0x02
16#define AW9523B_REG_OUTPUT1 0x03
17#define AW9523B_REG_CONFIG0 0x04
18#define AW9523B_REG_CONFIG1 0x05
19#define AW9523B_REG_INT0 0x06
20#define AW9523B_REG_INT1 0x07
21#define AW9523B_REG_ID 0x10
22#define AW9523B_REG_CTL 0x11
23#define AW9523B_REG_MODE0 0x12
24#define AW9523B_REG_MODE1 0x13
25#define AW9523B_REG_DIM0 0x20
26#define AW9523B_REG_DIM1 0x21
27#define AW9523B_REG_DIM2 0x22
28#define AW9523B_REG_DIM3 0x23
29#define AW9523B_REG_DIM4 0x24
30#define AW9523B_REG_DIM5 0x25
31#define AW9523B_REG_DIM6 0x26
32#define AW9523B_REG_DIM7 0x27
33#define AW9523B_REG_DIM8 0x28
34#define AW9523B_REG_DIM9 0x29
35#define AW9523B_REG_DIM10 0x2A
36#define AW9523B_REG_DIM11 0x2B
37#define AW9523B_REG_DIM12 0x2C
38#define AW9523B_REG_DIM13 0x2D
39#define AW9523B_REG_DIM14 0x2E
40#define AW9523B_REG_DIM15 0x2F
41#define AW9523B_REG_SW_RSTN 0x7F
42
43struct k_sem *aw9523b_get_lock(const struct device *dev);
44
45#endif /* ZEPHYR_INCLUDE_DRIVERS_MFD_AW9523B_H_ */
struct k_sem * aw9523b_get_lock(const struct device *dev)
Runtime device structure (in ROM) per driver instance.
Definition device.h:411