Zephyr API Documentation
4.2.0-rc3
A Scalable Open Source RTOS
4.2.0-rc3
Toggle main menu visibility
Main Page
Related Pages
Topics
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
Enumerations
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
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
z
Variables
$
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
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
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
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
Zephyr API Documentation
Introduction
Deprecated List
Topics
Data Structures
Files
File List
doc
kernel
lib
modules
subsys
zephyr
acpi
app_memory
arch
audio
bluetooth
canbus
console
crypto
data
debug
devicetree
dfu
display
drivers
adc
bluetooth
can
clock_control
comparator
console
dac
dma
edac
eeprom
ethernet
firmware
flash
gnss
gpio
haptics
i2c
i3c
ieee802154
interrupt_controller
led
led_strip
mfd
ad559x.h
adp5585.h
aw9523b.h
axp192.h
bd8lb600fs.h
ds3231.h
max22017.h
max31790.h
mfd_ite_it8801.h
mfd_maxq10xx.h
nct38xx.h
npm13xx.h
npm2100.h
nxp_lp_flexcomm.h
tle9104.h
mic_privacy
mipi_dsi
misc
mm
modem
mspi
pcie
pinctrl
pm_cpu_ops
power
psi5
pwm
regulator
retained_mem
rtc
sensor
sent
serial
sip_svc
spi
stepper
timer
uart
usb
usb_c
video
virtio
virtualization
adc.h
auxdisplay.h
bbram.h
bluetooth.h
cache.h
can.h
cellular.h
charger.h
clock_control.h
comparator.h
coredump.h
counter.h
dac.h
dai.h
disk.h
display.h
dma.h
edac.h
eeprom.h
emul.h
emul_bbram.h
emul_fuel_gauge.h
emul_sensor.h
emul_stub_device.h
entropy.h
espi.h
espi_emul.h
espi_saf.h
flash.h
fpga.h
fuel_gauge.h
gnss.h
gpio.h
haptics.h
hwinfo.h
hwspinlock.h
i2c.h
i2c_emul.h
i2s.h
i3c.h
ipm.h
led.h
led_strip.h
loopback_disk.h
lora.h
mbox.h
mdio.h
mipi_dbi.h
mipi_dsi.h
mspi.h
mspi_emul.h
peci.h
pinctrl.h
pm_cpu_ops.h
ps2.h
ptp_clock.h
pwm.h
regulator.h
reset.h
retained_mem.h
rtc.h
sdhc.h
sensor.h
sensor_attribute_types.h
sensor_clock.h
sensor_data_types.h
smbus.h
spi.h
spi_emul.h
stepper.h
swdp.h
syscon.h
tee.h
uart.h
uart_emul.h
uart_pipe.h
video-controls.h
video.h
virtio.h
w1.h
watchdog.h
dsp
dt-bindings
fs
input
internal
ipc
kernel
linker
llext
logging
lorawan
math
mem_mgmt
mgmt
misc
modbus
modem
multi_heap
net
platform
pm
pmci
portability
posix
psa
random
retention
rtio
sd
sensing
settings
shell
sip_svc
stats
storage
sys
task_wdt
timing
toolchain
tracing
usb
usb_c
xen
zbus
zvfs
bindesc.h
cache.h
device.h
devicetree.h
fatal.h
fatal_types.h
init.h
irq.h
irq_multilevel.h
irq_nextlevel.h
irq_offload.h
kernel.h
kernel_includes.h
kernel_structs.h
kernel_version.h
net_buf.h
shared_irq.h
smf.h
spinlock.h
sw_isr_table.h
sys_clock.h
syscall.h
toolchain.h
types.h
Globals
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
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
10
struct
k_sem
;
11
struct
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
43
struct
k_sem
*
aw9523b_get_lock
(
const
struct
device
*dev);
44
45
#endif
/* ZEPHYR_INCLUDE_DRIVERS_MFD_AW9523B_H_ */
aw9523b_get_lock
struct k_sem * aw9523b_get_lock(const struct device *dev)
device
Runtime device structure (in ROM) per driver instance.
Definition
device.h:510
k_sem
Semaphore structure.
Definition
kernel.h:3275
zephyr
drivers
mfd
aw9523b.h
Generated on
for Zephyr API Documentation by
1.14.0