Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
w1_controller_config Struct Reference

Configuration common to all 1-Wire controller implementations. More...

#include <zephyr/drivers/w1.h>

Data Fields

union { 
   uint16_t   peripheral_count 
 Number of connected peripherals. More...
   uint16_t   slave_count 
 Number of connected peripherals. More...
}; 
 Number of connected peripherals.

Detailed Description

Configuration common to all 1-Wire controller implementations.

This structure is common to all 1-Wire controller implementations and is expected to be the first element in the object pointed to by the config field in the device structure.

Field Documentation

◆ [union]

union { ... } w1_controller_config

Number of connected peripherals.

◆ peripheral_count

uint16_t w1_controller_config::peripheral_count

Number of connected peripherals.

◆ slave_count

uint16_t w1_controller_config::slave_count

Number of connected peripherals.

Deprecated
Use w1_controller_config.peripheral_count instead.

The documentation for this struct was generated from the following file:
  • zephyr/drivers/w1.h