zephyr/include
Jordan Yates 6964fa8fbd i2c: introduce struct i2c_dt_spec
Introduces the `struct i2c_dt_spec` type, which contains the complete
I2c bus information derived from devicetree. It serves the same purpose
as `struct spi_dt_spec` in that it can be constructed automatically in
`DEVICE_DT_INST_DEFINE` macros and provided as a single handle to I2C
API calls. While I2C has much less instance configuration than SPI, this
is still useful to enable the following pattern in device drivers that
support both I2C and SPI comms:

```
struct config {
    union {
        struct spi_dt_spec spi;
        struct i2c_dt_spec i2c;
    };
};
```

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2021-08-03 19:05:14 -04:00
..
app_memory arm/arm64: Make ARM64 a standalone architecture 2021-03-31 10:34:33 -05:00
arch arm: cortex-m: clean up some more hard-coded constants in swap_helper 2021-07-28 21:08:18 -04:00
audio audio: dmic: fix compile error on arm gcc 8 2021-02-16 15:29:16 +03:00
bluetooth Bluetooth: Mesh: Refactor Mesh Model Extensions 2021-08-03 10:20:52 -04:00
canbus modules: canopennode: move glue code to modules directory 2021-07-01 13:32:18 -04:00
console
crypto
data doc: fix @param usage in callbacks 2020-12-18 12:18:28 +01:00
debug kernel: remove object tracing 2021-05-07 22:10:21 -04:00
devicetree reserved-memory: Introduce support for reserved-memory node 2021-07-15 18:12:51 -05:00
dfu dfu: flash_img: Removing conditional compilation from header 2021-06-29 08:38:36 -04:00
disk include: disk_access: Add a compat warning 2021-03-26 08:59:47 -04:00
display
drivers i2c: introduce struct i2c_dt_spec 2021-08-03 19:05:14 -04:00
dt-bindings drivers: sensor: Add driver for TI INA23x 2021-07-27 17:59:23 -04:00
fs doc: doxygen: replace option alias with kconfig 2021-06-29 10:26:28 -04:00
ipc ipc: Fix struct name 2021-07-30 20:06:14 -04:00
kernel kernel: add macros to allow declaring extern stack arrays 2021-07-22 07:24:11 -05:00
linker doc: reference: add a page for iterable sections 2021-08-03 19:02:43 -04:00
logging logging: Split log_core into two files 2021-07-30 19:58:13 -04:00
lorawan lorawan: port oriented downlink callbacks 2021-04-30 13:05:10 -05:00
mgmt subsys/mgmt/mcumgr: Fix collision with user defined groups 2021-08-03 11:47:53 +02:00
modbus modbus: add raw ADU support 2021-03-19 15:50:21 +01:00
net dsa: updated api to use net_if 2021-07-26 19:37:22 -04:00
pm pm: device: add deprecated busy APIs 2021-07-30 09:28:42 -04:00
portability portability: move cmsis api headers 2021-04-20 08:45:05 -04:00
posix sys: eventfd: Add locking to eventfd_read/write functions 2021-04-15 07:16:51 -05:00
power pm: deprecate power/power.h header 2021-05-05 18:35:49 -04:00
random
settings
shell shell: Add option to bypass shell 2021-07-02 13:35:18 -04:00
stats
storage storage/stream: Add persistent write progress to stream_flash 2021-04-23 15:01:32 -05:00
sys sys: ring_buffer: ring_buf_peek() and ring_buf_size_get() 2021-07-28 07:32:28 -04:00
task_wdt task_wdt: add task-level watchdog subsystem 2021-03-15 12:24:54 +01:00
timing timing: guard the header with CONFIG_TIMING_FUNCTIONS 2021-04-06 16:43:55 -04:00
toolchain doc: reference: add a page for iterable sections 2021-08-03 19:02:43 -04:00
tracing Tracing: TRACING_NONE Compilation Fix 2021-05-27 14:39:40 -05:00
usb include: usb: deprecate usb_common.h and usbstruct.h 2021-08-03 13:20:07 +02:00
zephyr zephyr: Remove support for deprecated int types 2021-03-05 04:56:13 -06:00
cache.h cache: Do not warn on unused parameters 2021-05-25 07:05:22 -05:00
device.h pm: device: move device busy APIs to pm subsystem 2021-07-30 09:28:42 -04:00
devicetree.h dts: Introduce DT_STRING_TOKEN and DT_STRING_UPPER_TOKEN 2021-07-15 18:12:51 -05:00
ec_host_cmd.h include: Move ec_host_cmd.h to mgmt/ec_host_cmd.h 2021-04-22 12:51:16 -04:00
emul.h include: Move emul.h to drivers/emul.h 2021-04-22 12:51:01 -04:00
exc_handle.h
fatal.h
generated_dts_board.h license: add missing SPDX headers 2021-02-11 08:05:16 -05:00
init.h init: tweak Zephyr .init* section name conflicting with toolchain 2021-04-26 14:15:43 -04:00
irq_nextlevel.h
irq_offload.h irq_offload: Remove ifdef from the api 2021-04-29 14:50:35 +02:00
irq.h doc: fix display of the ISR_DIRECT_DECLARE example usage 2021-05-07 20:52:02 -04:00
kernel_includes.h kernel: move internal headers into include/kernel 2021-06-16 20:38:55 -04:00
kernel_structs.h kernel: make k_current_get() work without syscall 2021-07-30 20:16:47 -04:00
kernel_version.h
kernel.h kernel: make k_current_get() work without syscall 2021-07-30 20:16:47 -04:00
ptp_clock.h include: Move ptp_clock.h to drivers/ptp_clock.h 2021-03-25 10:09:33 +02:00
shared_irq.h drivers: intc: shared_irq: remove internal structs from header 2021-04-13 13:03:33 -04:00
spinlock.h kernel: fix usage of KERNEL_COHERENCE macro 2021-02-03 10:42:04 -05:00
sw_isr_table.h
sys_clock.h kernel: remove tickless idle 2021-03-19 11:22:17 -04:00
syscall_handler.h kernel: Cleanup logger setup in kernel files 2020-11-27 09:56:34 -05:00
syscall.h userspace: rename _is_user_context -> k_is_user_context 2021-04-01 05:34:17 -04:00
timeout_q.h kernel/arch: cleanup function definitions 2021-04-01 05:34:17 -04:00
toolchain.h toolchain: add llvm abstraction 2021-04-22 07:42:58 -04:00
wait_q.h kernel: move internal headers into include/kernel 2021-06-16 20:38:55 -04:00
zephyr.h