text stringlengths 9 39.2M | dir stringlengths 25 226 | lang stringclasses 163
values | created_date timestamp[s] | updated_date timestamp[s] | repo_name stringclasses 751
values | repo_full_name stringclasses 752
values | star int64 1.01k 183k | len_tokens int64 1 18.5M |
|---|---|---|---|---|---|---|---|---|
```objective-c
/*
*
*/
/**
* @file
* @brief API for NXP SJA1000 (and compatible) CAN controller frontend drivers.
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CAN_CAN_SJA1000_H_
#define ZEPHYR_INCLUDE_DRIVERS_CAN_CAN_SJA1000_H_
#include <zephyr/drivers/can.h>
/**
* @name SJA1000 Output Control Register (OCR) bits
*
* ... | /content/code_sandbox/include/zephyr/drivers/can/can_sja1000.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,513 |
```objective-c
/*
*
*/
/**
* @file
* @brief Backend API for emulated UART
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SERIAL_UART_EMUL_H_
#define ZEPHYR_INCLUDE_DRIVERS_SERIAL_UART_EMUL_H_
#include <zephyr/device.h>
#include <zephyr/types.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Define the application ca... | /content/code_sandbox/include/zephyr/drivers/serial/uart_emul.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 658 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_DRIVERS_SERIAL_UART_ASYNC_TO_IRQ_H_
#define ZEPHYR_DRIVERS_SERIAL_UART_ASYNC_TO_IRQ_H_
#include <zephyr/drivers/uart.h>
#include <zephyr/logging/log.h>
#include <zephyr/spinlock.h>
#include <zephyr/sys/util.h>
#include <zephyr/drivers/serial/uart_async_rx.h>
/**
* @brief UART... | /content/code_sandbox/include/zephyr/drivers/serial/uart_async_to_irq.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,084 |
```objective-c
/*
*
*/
/**
* Header file for the ALTERA UART
*/
#ifndef ZEPHYR_DRIVERS_SERIAL_UART_ALTERA_H_
#define ZEPHYR_DRIVERS_SERIAL_UART_ALTERA_H_
/* End of packet feature.
* Driver will trigger interrupt upon receiving end of package character.
* Please enable CONFIG_UART_DRV_CMD and CONFIG_UART_ALTERA... | /content/code_sandbox/include/zephyr/drivers/serial/uart_altera.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 190 |
```objective-c
/*
*
*/
/**
* Header file for the INTEL LW UART
*/
#ifndef ZEPHYR_DRIVERS_SERIAL_UART_INTEL_LW_H_
#define ZEPHYR_DRIVERS_SERIAL_UART_INTEL_LW_H_
/* End of packet feature.
* Driver will trigger interrupt upon receiving end of package character.
* Please enable CONFIG_UART_INTEL_LW_EOP to use this... | /content/code_sandbox/include/zephyr/drivers/serial/uart_intel_lw.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 376 |
```objective-c
/*
*
*/
/**
* @file
*
* @brief Public header file for the NS16550 UART
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SERIAL_UART_NS16550_H_
#define ZEPHYR_INCLUDE_DRIVERS_SERIAL_UART_NS16550_H_
/**
* @brief Set DLF
*
* @note This only applies to Synopsys Designware UART IP block.
*/
#define CMD_SET_DLF ... | /content/code_sandbox/include/zephyr/drivers/serial/uart_ns16550.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 107 |
```objective-c
/*
*
*/
/**
* @file
* @brief Helper module for receiving using UART Asynchronous API.
*/
#ifndef ZEPHYR_DRIVERS_SERIAL_UART_ASYNC_RX_H_
#define ZEPHYR_DRIVERS_SERIAL_UART_ASYNC_RX_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <zephyr/kernel.h>
/* @brief RX buffer structure which holds the ... | /content/code_sandbox/include/zephyr/drivers/serial/uart_async_rx.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,231 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_LED_LP50XX_H_
#define ZEPHYR_INCLUDE_DRIVERS_LED_LP50XX_H_
#define LP50XX_COLORS_PER_LED 3
#define LP5009_MAX_LEDS 3
#define LP5012_MAX_LEDS 4
#define LP5018_MAX_LEDS 6
#define LP5024_MAX_LEDS 8
#define LP5030_MAX_LEDS 10
#define LP5036_MAX_LEDS 12
/*
... | /content/code_sandbox/include/zephyr/drivers/led/lp50xx.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 660 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_LED_IS31FL3733_H_
#define ZEPHYR_INCLUDE_DRIVERS_LED_IS31FL3733_H_
/**
* @brief Blanks IS31FL3733 LED display.
*
* When blank_en is set, the LED display will be disabled. This can be used for
* flicker-free display updates, or power saving.
*
* @param dev:... | /content/code_sandbox/include/zephyr/drivers/led/is31fl3733.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 286 |
```objective-c
/*
*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CAN_CAN_MCAN_H_
#define ZEPHYR_INCLUDE_DRIVERS_CAN_CAN_MCAN_H_
#include <zephyr/cache.h>
#include <zephyr/devicetree.h>
#include <zephyr/drivers/can.h>
#include <zephyr/kernel.h>
#include <zephyr/sys/sys_io.h>
#include <zephyr/sys/util.h>
/*
* The Bosch M_C... | /content/code_sandbox/include/zephyr/drivers/can/can_mcan.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 16,017 |
```objective-c
/*
*/
/**
* @file
* @brief USB-C VBUS device APIs
*
* This file contains the USB-C VBUS device APIs.
* All USB-C VBUS measurement and control device drivers should
* implement the APIs described in this file.
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_USBC_VBUS_H_
#define ZEPHYR_INCLUDE_DRIVERS_USBC_VBU... | /content/code_sandbox/include/zephyr/drivers/usb_c/usbc_vbus.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 750 |
```objective-c
/*
*/
/**
* @file
* @brief USB-C Power Delivery API used for USB-C drivers
*
* The information in this file was taken from the USB PD
* Specification Revision 3.0, Version 2.0
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_USBC_USBC_PD_H_
#define ZEPHYR_INCLUDE_DRIVERS_USBC_USBC_PD_H_
/**
* @brief USB Powe... | /content/code_sandbox/include/zephyr/drivers/usb_c/usbc_pd.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 7,962 |
```objective-c
/*
*/
/**
* @file
* @brief USBC Type-C Port Controller device APIs
*
* This file contains the USB Type-C Port Controller device APIs.
* All Type-C Port Controller device drivers should implement the
* APIs described in this file.
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_USBC_USBC_TCPC_H_
#define ZEPHY... | /content/code_sandbox/include/zephyr/drivers/usb_c/usbc_tcpc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 6,424 |
```objective-c
/*
*/
/**
* @file
* @brief USB Type-C Power Path Controller device API
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_USBC_USBC_PPC_H_
#define ZEPHYR_INCLUDE_DRIVERS_USBC_USBC_PPC_H_
#include <zephyr/types.h>
#include <zephyr/device.h>
#include <errno.h>
#ifdef __cplusplus
extern "C" {
#endif
/** Type of ... | /content/code_sandbox/include/zephyr/drivers/usb_c/usbc_ppc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,143 |
```objective-c
/*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_REGULATOR_PCA9420_H_
#define ZEPHYR_INCLUDE_DRIVERS_REGULATOR_PCA9420_H_
#ifdef __cplusplus
extern "C" {
#endif
/**
* @defgroup regulator_parent_pca9420 PCA9420 Utilities.
* @ingroup regulator_parent_interface
* @{
*/
/** @brief DVS state 'MODE0' */
#define R... | /content/code_sandbox/include/zephyr/drivers/regulator/pca9420.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 199 |
```objective-c
/*
*/
#ifndef ZEPHYR_DRIVERS_REGULATOR_FAKE_H_
#define ZEPHYR_DRIVERS_REGULATOR_FAKE_H_
#include <zephyr/drivers/regulator.h>
#include <zephyr/fff.h>
#ifdef __cplusplus
extern "C" {
#endif
DECLARE_FAKE_VALUE_FUNC(int, regulator_fake_enable, const struct device *);
DECLARE_FAKE_VALUE_FUNC(int, regula... | /content/code_sandbox/include/zephyr/drivers/regulator/fake.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 405 |
```objective-c
/*
*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_I2C_STM32_H_
#define ZEPHYR_INCLUDE_DRIVERS_I2C_STM32_H_
#include <zephyr/device.h>
enum i2c_stm32_mode {
I2CSTM32MODE_I2C,
I2CSTM32MODE_SMBUSHOST,
I2CSTM32MODE_SMBUSDEVICE,
I2CSTM32MODE_SMBUSDEVICEARP,
};
void i2c_stm32_set_smbus_mode(const struct devi... | /content/code_sandbox/include/zephyr/drivers/i2c/stm32.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 268 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_DRIVERS_I2C_RTIO_H_
#define ZEPHYR_DRIVERS_I2C_RTIO_H_
#include <zephyr/kernel.h>
#include <zephyr/drivers/i2c.h>
#include <zephyr/rtio/rtio.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Driver context for implementing i2c with rtio
*/
struct i2c_rtio {
struct k_s... | /content/code_sandbox/include/zephyr/drivers/i2c/rtio.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 855 |
```objective-c
/**
* @file
*
* @brief Public APIs for the I2C EEPROM Target driver.
*/
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_I2C_TARGET_EEPROM_H_
#define ZEPHYR_INCLUDE_DRIVERS_I2C_TARGET_EEPROM_H_
/**
* @brief I2C EEPROM Target Driver API
* @defgroup i2c_eeprom_target_api I2C EEPROM Target Driver API
* @si... | /content/code_sandbox/include/zephyr/drivers/i2c/target/eeprom.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 459 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_NCT38XX_H_
#define ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_NCT38XX_H_
/**
* @brief Dispatch all GPIO ports ISR in the NCT38XX device.
*
* @param dev NCT38XX device.
*/
void nct38xx_gpio_alert_handler(const struct device *dev);
#endif /* ZEPHYR_INCLUDE_DR... | /content/code_sandbox/include/zephyr/drivers/gpio/gpio_nct38xx.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 97 |
```objective-c
/*
*/
/**
* @file
* @brief USB Type-C Cable and Connector API used for USB-C drivers
*
* The information in this file was taken from the USB Type-C
* Cable and Connector Specification Release 2.1
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_USBC_USBC_TC_H_
#define ZEPHYR_INCLUDE_DRIVERS_USBC_USBC_TC_H_
/*... | /content/code_sandbox/include/zephyr/drivers/usb_c/usbc_tc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,296 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_UTILS_H_
#define ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_UTILS_H_
#include <stdbool.h>
#include <stdint.h>
#include <errno.h>
#include <zephyr/devicetree.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/sys/__assert.h>
#include <zephyr/sys/slist.h>
#de... | /content/code_sandbox/include/zephyr/drivers/gpio/gpio_utils.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 720 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_CMSDK_AHB_H_
#define ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_CMSDK_AHB_H_
#include <zephyr/drivers/gpio.h>
#ifdef __cplusplus
extern "C" {
#endif
/* ARM LTD CMSDK AHB General Purpose Input/Output (GPIO) */
struct gpio_cmsdk_ahb {
/* Offset: 0x000 (r/w) data... | /content/code_sandbox/include/zephyr/drivers/gpio/gpio_cmsdk_ahb.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 543 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_MMIO32_H_
#define ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_MMIO32_H_
#include <zephyr/device.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/types.h>
extern const struct gpio_driver_api gpio_mmio32_api;
struct gpio_mmio32_config {
/* gpio_driver_config... | /content/code_sandbox/include/zephyr/drivers/gpio/gpio_mmio32.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 531 |
```objective-c
/*
*
*/
struct gpio_acpi_res {
uint8_t num_pins;
uint32_t pad_base;
uint32_t host_owner_reg;
uint32_t pad_owner_reg;
uint32_t intr_stat_reg;
uint16_t base_num;
uintptr_t reg_base;
};
``` | /content/code_sandbox/include/zephyr/drivers/gpio/gpio_intel.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 56 |
```objective-c
/*
*
*/
/**
* @file
* @brief Backend API for emulated GPIO
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_EMUL_H_
#define ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_EMUL_H_
#include <zephyr/types.h>
#include <zephyr/drivers/gpio.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Emulated GPIO backend A... | /content/code_sandbox/include/zephyr/drivers/gpio/gpio_emul.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 905 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_SX1509B_H_
#define ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_SX1509B_H_
#include <zephyr/device.h>
#include <zephyr/drivers/gpio.h>
/**
* @brief Configure a pin for LED intensity.
*
* Configure a pin to be controlled by SX1509B LED driver using
* the LED i... | /content/code_sandbox/include/zephyr/drivers/gpio/gpio_sx1509b.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 314 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_TIMER_ARM_ARCH_TIMER_H_
#define ZEPHYR_INCLUDE_DRIVERS_TIMER_ARM_ARCH_TIMER_H_
#include <zephyr/dt-bindings/interrupt-controller/arm-gic.h>
#include <zephyr/types.h>
#define ARM_TIMER_NODE DT_INST(0, arm_armv8_timer)
#define ARM_TIMER_SECURE_IRQ DT_IRQ_BY_ID... | /content/code_sandbox/include/zephyr/drivers/timer/arm_arch_timer.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 355 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_TIMER_NRF_GRTC_TIMER_H
#define ZEPHYR_INCLUDE_DRIVERS_TIMER_NRF_GRTC_TIMER_H
#ifdef __cplusplus
extern "C" {
#endif
#include <zephyr/sys_clock.h>
/** @brief GRTC timer compare event handler.
*
* Called from GRTC ISR context when processing a compare event.
... | /content/code_sandbox/include/zephyr/drivers/timer/nrf_grtc_timer.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,470 |
```objective-c
/*
*
*/
/**
* @file
* @brief Timer driver API
*
* Declare API implemented by system timer driver and used by kernel components.
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SYSTEM_TIMER_H_
#define ZEPHYR_INCLUDE_DRIVERS_SYSTEM_TIMER_H_
#include <stdbool.h>
#include <zephyr/types.h>
#ifdef __cplusplus
ext... | /content/code_sandbox/include/zephyr/drivers/timer/system_timer.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,408 |
```objective-c
*
*/
#ifndef ZEPHYR_DRIVERS_TIMERS_TI_DMTIMER_H_
#define ZEPHYR_DRIVERS_TIMERS_TI_DMTIMER_H_
#include <zephyr/devicetree.h>
#define TI_DM_TIMER_TIDR (0x00)
#define TI_DM_TIMER_TIOCP_CFG (0x10)
#define TI_DM_TIMER_IRQ_EOI (0x20)
#define TI_DM_TIMER_IRQSTATUS_RAW (0x24)
#define ... | /content/code_sandbox/include/zephyr/drivers/timer/ti_dmtimer.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,101 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_TIMER_NRF_RTC_TIMER_H
#define ZEPHYR_INCLUDE_DRIVERS_TIMER_NRF_RTC_TIMER_H
#include <zephyr/sys_clock.h>
#ifdef __cplusplus
extern "C" {
#endif
/** @brief Maximum allowed time span that is considered to be in the future.
*/
#define NRF_RTC_TIMER_MAX_SCHEDULE_... | /content/code_sandbox/include/zephyr/drivers/timer/nrf_rtc_timer.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,859 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_DRIVERS_GNSS_GNSS_H_
#define ZEPHYR_DRIVERS_GNSS_GNSS_H_
#include <zephyr/drivers/gnss.h>
/** Internal function used by GNSS drivers to publish GNSS data */
void gnss_publish_data(const struct device *dev, const struct gnss_data *data);
/** Internal function used by GNSS driv... | /content/code_sandbox/include/zephyr/drivers/gnss/gnss_publish.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 131 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_PCIE_VC_H_
#define ZEPHYR_INCLUDE_DRIVERS_PCIE_VC_H_
/**
* @brief PCIe Virtual Channel Host Interface
* @defgroup pcie_vc_host_interface PCIe Virtual Channel Host Interface
* @ingroup pcie_host_interface
* @{
*/
#ifdef __cplusplus
extern "C" {
#endif
#inc... | /content/code_sandbox/include/zephyr/drivers/pcie/vc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 600 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_MSPI_DEVICETREE_H_
#define ZEPHYR_INCLUDE_DRIVERS_MSPI_DEVICETREE_H_
/**
* @brief MSPI Devicetree related macros
* @defgroup mspi_devicetree MSPI Devicetree related macros
* @ingroup io_interfaces
* @{
*/
#include <zephyr/drivers/gpio.h>
#ifdef __cplusplu... | /content/code_sandbox/include/zephyr/drivers/mspi/devicetree.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,172 |
```objective-c
/**
* @file
*
* @brief Public APIs for the PCIe Controllers drivers.
*/
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_PCIE_CONTROLLERS_H_
#define ZEPHYR_INCLUDE_DRIVERS_PCIE_CONTROLLERS_H_
#include <zephyr/types.h>
#include <zephyr/device.h>
#ifdef CONFIG_PCIE_MSI
#include <zephyr/drivers/pcie/msi.h>
#... | /content/code_sandbox/include/zephyr/drivers/pcie/controller.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,177 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_PCIE_PTM_H_
#define ZEPHYR_INCLUDE_DRIVERS_PCIE_PTM_H_
/**
* @brief PCIe Host PTM Interface
* @defgroup pcie_host_ptm_interface PCIe Host PTM Interface
* @ingroup pcie_host_interface
* @{
*/
#include <stddef.h>
#include <zephyr/types.h>
#ifdef __cplusplu... | /content/code_sandbox/include/zephyr/drivers/pcie/ptm.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 166 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_PCIE_MSI_H_
#define ZEPHYR_INCLUDE_DRIVERS_PCIE_MSI_H_
/**
* @brief PCIe Host MSI Interface
* @defgroup pcie_host_msi_interface PCIe Host MSI Interface
* @ingroup pcie_host_interface
* @{
*/
#include <zephyr/kernel.h>
#include <zephyr/types.h>
#include <st... | /content/code_sandbox/include/zephyr/drivers/pcie/msi.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,569 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_PCIE_PCIE_H_
#define ZEPHYR_INCLUDE_DRIVERS_PCIE_PCIE_H_
/**
* @brief PCIe Host Interface
* @defgroup pcie_host_interface PCIe Host Interface
* @ingroup io_interfaces
* @{
*/
#include <stddef.h>
#include <zephyr/devicetree.h>
#include <zephyr/dt-bindings/p... | /content/code_sandbox/include/zephyr/drivers/pcie/pcie.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 5,203 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_PCIE_CAP_H_
#define ZEPHYR_INCLUDE_DRIVERS_PCIE_CAP_H_
/**
* @file
* @brief PCIe Capabilities
* @defgroup pcie_capabilities PCIe Capabilities
* @ingroup pcie_host_interface
* @{
*/
/**
* @name PCI & PCI Express Capabilities
*
* From PCI Code and ID Assi... | /content/code_sandbox/include/zephyr/drivers/pcie/cap.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,386 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_MODEM_SIMCOM_SIM7080_H
#define ZEPHYR_INCLUDE_DRIVERS_MODEM_SIMCOM_SIM7080_H
#include <zephyr/types.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
#define SIM7080_GNSS_DATA_UTC_LEN 20
#define SIM7080_SMS_MAX_LEN 160
struct sim7080_gnss_data {
... | /content/code_sandbox/include/zephyr/drivers/modem/simcom-sim7080.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,315 |
```objective-c
/**
* @file
*
* @brief Public APIs for the PCIe EP drivers.
*/
/*
*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_PCIE_EP_H_
#define ZEPHYR_INCLUDE_DRIVERS_PCIE_EP_H_
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/kernel.h>
#include <stdint.h>
enum pcie_ob_mem_type {
PCIE_OB_ANYMEM... | /content/code_sandbox/include/zephyr/drivers/pcie/endpoint/pcie_ep.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,460 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_LM95234_H_
#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_LM95234_H_
#include <zephyr/drivers/sensor.h>
enum sensor_channel_lm95234 {
/* External temperature inputs */
SENSOR_CHAN_LM95234_REMOTE_TEMP_1 = SENSOR_CHAN_PRIV_START,
SENSOR_CHAN_LM95234_REMOTE_TEMP_... | /content/code_sandbox/include/zephyr/drivers/sensor/lm95234.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 128 |
```objective-c
/*
*
*/
#ifndef _MAX31865_PUB_H
#define _MAX31865_PUB_H
#define SENSOR_ATTR_MAX31865_THREE_WIRE SENSOR_ATTR_PRIV_START
#endif /* _MAX31865_PUB_H */
``` | /content/code_sandbox/include/zephyr/drivers/sensor/max31865.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 47 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_TMP116_H_
#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_TMP116_H_
#include <zephyr/device.h>
#include <sys/types.h>
#define EEPROM_TMP116_SIZE (4 * sizeof(uint16_t))
int tmp116_eeprom_read(const struct device *dev, off_t offset, void *data,
size_t len)... | /content/code_sandbox/include/zephyr/drivers/sensor/tmp116.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 123 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_FCX_MLDX5_H_
#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_FCX_MLDX5_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <zephyr/drivers/sensor.h>
enum sensor_attribute_fcx_mldx5 {
SENSOR_ATTR_FCX_MLDX5_STATUS = SENSOR_ATTR_PRIV_START,
SENSOR_ATTR_FCX_MLDX5_RE... | /content/code_sandbox/include/zephyr/drivers/sensor/fcx_mldx5.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 210 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_TCS3400_H_
#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_TCS3400_H_
#include <zephyr/drivers/sensor.h>
enum sensor_attribute_tcs3400 {
/** RGBC Integration Cycles */
SENSOR_ATTR_TCS3400_INTEGRATION_CYCLES = SENSOR_ATTR_PRIV_START,
};
#endif /* ZEPHYR_INCLUDE_... | /content/code_sandbox/include/zephyr/drivers/sensor/tcs3400.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 97 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_TMAG5273_H_
#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_TMAG5273_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <zephyr/drivers/sensor.h>
/* --- Additional TMAG5273 definitions */
/** Additional channels supported by the TMAG5273 */
enum tmag5273_sensor_... | /content/code_sandbox/include/zephyr/drivers/sensor/tmag5273.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 396 |
```objective-c
/*
*
*/
/**
* @file
* @brief Extended public API for MH-Z19B CO2 Sensor
*
* Some capabilities and operational requirements for this sensor
* cannot be expressed within the sensor driver abstraction.
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_MHZ19B_H_
#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_MHZ19B_... | /content/code_sandbox/include/zephyr/drivers/sensor/mhz19b.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 155 |
```objective-c
/*
*
*/
/**
* @file
* @brief Extended public API for the Texas Instruments FDC2X1X
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_FDC2X1X_H_
#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_FDC2X1X_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <zephyr/drivers/sensor.h>
enum sensor_channel_fdc2x1x {
/** CH... | /content/code_sandbox/include/zephyr/drivers/sensor/fdc2x1x.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 331 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_MAX17055_H_
#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_MAX17055_H_
#include <zephyr/drivers/sensor.h>
enum sensor_channel_max17055 {
/** Battery Open Circuit Voltage. */
SENSOR_CHAN_MAX17055_VFOCV = SENSOR_CHAN_PRIV_START,
};
#endif /* ZEPHYR_INCLUDE_DRIVE... | /content/code_sandbox/include/zephyr/drivers/sensor/max17055.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 89 |
```objective-c
/*
*
*/
/**
* @file
* @brief Extended public API for 1-Wire Sensors
*
* This header file exposes an attribute an helper function to allow the
* runtime configuration of ROM IDs for 1-Wire Sensors.
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_W1_SENSOR_H_
#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_W1_SEN... | /content/code_sandbox/include/zephyr/drivers/sensor/w1_sensor.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 434 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_IT8XXX2_VCMP_H_
#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_IT8XXX2_VCMP_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <zephyr/drivers/sensor.h>
enum it8xxx2_vcmp_sensor_attribute {
SENSOR_ATTR_LOWER_VOLTAGE_THRESH = SENSOR_ATTR_PRIV_START,
SENSOR_ATTR... | /content/code_sandbox/include/zephyr/drivers/sensor/it8xxx2_vcmp.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 117 |
```objective-c
/** @file
* @brief HL7800 modem public API header file.
*
* Allows an application to control the HL7800 modem.
*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_MODEM_HL7800_H_
#define ZEPHYR_INCLUDE_DRIVERS_MODEM_HL7800_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <zephyr/types.h>
#include <time.h>
... | /content/code_sandbox/include/zephyr/drivers/modem/hl7800.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 4,423 |
```objective-c
/*
*
*/
/**
* @file
* @brief Extended public API for TI's TMP108 temperature sensor
*
* This exposes attributes for the TMP108 which can be used for
* setting the on-chip Temperature Mode and alert parameters.
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_TMP108_H_
#define ZEPHYR_INCLUDE_DRIVERS_SEN... | /content/code_sandbox/include/zephyr/drivers/sensor/tmp108.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 285 |
```objective-c
/*
*
*/
/**
* @file
* @brief Extended public API for AMS's TSL2540 ambient light sensor
*
* This exposes attributes for the TSL2540 which can be used for
* setting the on-chip gain and integration time parameters.
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_TSL2540_H_
#define ZEPHYR_INCLUDE_DRIVER... | /content/code_sandbox/include/zephyr/drivers/sensor/tsl2540.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 305 |
```objective-c
/*
*
*/
#ifndef _ADC_CMP_NPCX_H_
#define _ADC_CMP_NPCX_H_
enum adc_cmp_npcx_comparison {
ADC_CMP_NPCX_GREATER,
ADC_CMP_NPCX_LESS_OR_EQUAL,
};
/* Supported ADC threshold controllers in NPCX series */
enum npcx_adc_cmp_thrctl {
ADC_CMP_NPCX_THRCTL1,
ADC_CMP_NPCX_THRCTL2,
ADC_CMP_NPCX_THRCTL3,
AD... | /content/code_sandbox/include/zephyr/drivers/sensor/adc_cmp_npcx.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 174 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_QDEC_MCUX_H_
#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_QDEC_MCUX_H_
#include <zephyr/drivers/sensor.h>
enum sensor_attribute_qdec_mcux {
/* Number of counts per revolution */
SENSOR_ATTR_QDEC_MOD_VAL = SENSOR_ATTR_PRIV_START,
/* Single phase counting */
... | /content/code_sandbox/include/zephyr/drivers/sensor/qdec_mcux.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 106 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_EXPLORIR_M_H_
#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_EXPLORIR_M_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <zephyr/drivers/sensor.h>
enum sensor_attribute_explorir_m {
/* Sensor integrated low-pass filter. Values 16, 32, 64, and 128 is allowed *... | /content/code_sandbox/include/zephyr/drivers/sensor/explorir_m.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 130 |
```objective-c
/*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_MAX31790_H_
#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_MAX31790_H_
#include <zephyr/drivers/sensor.h>
/* MAX31790 specific channels */
enum sensor_channel_max31790 {
SENSOR_CHAN_MAX31790_FAN_FAULT = SENSOR_CHAN_PRIV_START,
};
#endif /* ZEPHYR_INCLUDE_DRIVERS_S... | /content/code_sandbox/include/zephyr/drivers/sensor/max31790.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 87 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_VEML7700_H_
#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_VEML7700_H_
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Number of enumerators in enum veml7700_als_gain.
*/
#define VEML7700_ALS_GAIN_ELEM_COUNT 4
/**
* @brief Number of enumerators in enum vem... | /content/code_sandbox/include/zephyr/drivers/sensor/veml7700.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,400 |
```objective-c
/*
*
*/
/**
* @file
* @brief Data structure for the NXP MCUX low-power analog comparator (LPCMP)
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_MCUX_LPCMP_H_
#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_MCUX_LPCMP_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <zephyr/drivers/sensor.h>
/**
* @brief lpc... | /content/code_sandbox/include/zephyr/drivers/sensor/mcux_lpcmp.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 708 |
```objective-c
/*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_BD8LB600FS_H_
#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_BD8LB600FS_H_
#include <zephyr/drivers/sensor.h>
enum sensor_channel_bd8lb600fs {
/**
* Open load detected,
* boolean with one bit per output
*/
SENSOR_CHAN_BD8LB600FS_OPEN_LOAD = SENSOR_ATTR_PRIV_... | /content/code_sandbox/include/zephyr/drivers/sensor/bd8lb600fs.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 152 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_GROW_R502A_H_
#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_GROW_R502A_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <zephyr/drivers/sensor.h>
/*LED color code*/
enum r502a_led_color_idx {
R502A_LED_COLOR_RED = 0x01,
R502A_LED_COLOR_BLUE,
R502A_LED_COLO... | /content/code_sandbox/include/zephyr/drivers/sensor/grow_r502a.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,032 |
```objective-c
/*
*
*/
/**
* @file
* @brief Extended public API for Sensirion's SHT4X T/RH sensors
*
* This exposes an API to the on-chip heater which is specific to
* the application/environment and cannot be expressed within the
* sensor driver abstraction.
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_SHT4X_H_... | /content/code_sandbox/include/zephyr/drivers/sensor/sht4x.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 303 |
```objective-c
/*
*
*/
/**
* @file
* @brief Extended public API for the NXP MCUX Analog Comparator (ACMP)
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_MCUX_ACMP_H_
#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_MCUX_ACMP_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <zephyr/drivers/sensor.h>
#if defined(FSL_FEATURE_A... | /content/code_sandbox/include/zephyr/drivers/sensor/mcux_acmp.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 811 |
```objective-c
/*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_NPM1300_CHARGER_H_
#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_NPM1300_CHARGER_H_
#include <zephyr/drivers/sensor.h>
/* NPM1300 charger specific channels */
enum sensor_channel_npm1300_charger {
SENSOR_CHAN_NPM1300_CHARGER_STATUS = SENSOR_CHAN_PRIV_START,
SENSO... | /content/code_sandbox/include/zephyr/drivers/sensor/npm1300_charger.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 96 |
```objective-c
/*
*
*/
/**
* @file
* @brief Extended public API for AMS's TSL2591 ambient light sensor
*
* This exposes attributes for the TSL2591 which can be used for
* setting the on-chip gain, integration time, and persist filter parameters.
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_TSL2591_H_
#define ZEPH... | /content/code_sandbox/include/zephyr/drivers/sensor/tsl2591.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 486 |
```objective-c
/*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_ENS160_H_
#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_ENS160_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <zephyr/drivers/sensor.h>
/* Channel for Air Quality Index */
enum sensor_channel_ens160 {
SENSOR_CHAN_ENS160_AQI = SENSOR_CHAN_PRIV_START,
};
enum ... | /content/code_sandbox/include/zephyr/drivers/sensor/ens160.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 121 |
```objective-c
/*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_F75303_H_
#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_F75303_H_
#include <zephyr/drivers/sensor.h>
/* F75303 specific channels */
enum sensor_channel_f75303 {
SENSOR_CHAN_F75303_REMOTE1 = SENSOR_CHAN_PRIV_START,
SENSOR_CHAN_F75303_REMOTE2,
};
#endif
``` | /content/code_sandbox/include/zephyr/drivers/sensor/f75303.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 81 |
```objective-c
/*
*
*/
/**
* @file
* @brief Extended public API for CCS811 Indoor Air Quality Sensor
*
* Some capabilities and operational requirements for this sensor
* cannot be expressed within the sensor driver abstraction.
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_CCS811_H_
#define ZEPHYR_INCLUDE_DRIVERS_... | /content/code_sandbox/include/zephyr/drivers/sensor/ccs811.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,040 |
```objective-c
/*
*
*
* Driver is developed to be used with Zephyr. And it only supports i2c interface.
*
* Author: Talha Can Havadar <havadartalha@gmail.com>
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_BMP581_USER_H_
#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_BMP581_USER_H_
#include <zephyr/drivers/sensor.h>
#defi... | /content/code_sandbox/include/zephyr/drivers/sensor/bmp581_user.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,047 |
```objective-c
/*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_TLE9104_H_
#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_TLE9104_H_
#include <zephyr/drivers/sensor.h>
enum sensor_channel_tle9104 {
/** Open load detected, boolean with one bit per output */
SENSOR_CHAN_TLE9104_OPEN_LOAD = SENSOR_ATTR_PRIV_START,
/** Over curre... | /content/code_sandbox/include/zephyr/drivers/sensor/tle9104.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 120 |
```objective-c
/*
*
*/
/**
* @file
* @brief Extended public API for Sensirion's SGP40 gas sensor
*
* This exposes two attributes for the SGP40 which can be used for
* setting the on-chip Temperature and Humidity compensation parameters.
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_SGP40_H_
#define ZEPHYR_INCLUDE_... | /content/code_sandbox/include/zephyr/drivers/sensor/sgp40.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 181 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_VEAA_X_3_H_
#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_VEAA_X_3_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <zephyr/drivers/sensor.h>
enum sensor_attribute_veaa_x_3 {
/* Set pressure setpoint value in kPa. */
SENSOR_ATTR_VEAA_X_3_SETPOINT = SENSOR_A... | /content/code_sandbox/include/zephyr/drivers/sensor/veaa_x_3.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 149 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_MFD_AXP192_H_
#define ZEPHYR_INCLUDE_DRIVERS_MFD_AXP192_H_
#include <stddef.h>
#include <stdint.h>
#include <zephyr/device.h>
#include <zephyr/drivers/gpio.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief GPIO function type. Only one function can be co... | /content/code_sandbox/include/zephyr/drivers/mfd/axp192.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,185 |
```objective-c
/*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_MFD_AD559X_H_
#define ZEPHYR_INCLUDE_DRIVERS_MFD_AD559X_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <zephyr/device.h>
#define AD559X_REG_SEQ_ADC 0x02U
#define AD559X_REG_ADC_CONFIG 0x04U
#define AD559X_REG_LDAC_EN 0x05U
#define AD559X_REG... | /content/code_sandbox/include/zephyr/drivers/mfd/ad559x.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 968 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_DRIVERS_NXP_LP_FLEXCOMM_H_
#define ZEPHYR_DRIVERS_NXP_LP_FLEXCOMM_H_
#include "fsl_lpflexcomm.h"
typedef void (*child_isr_t)(const struct device *dev);
void nxp_lp_flexcomm_setirqhandler(const struct device *dev, const struct device *child_dev,
LP_FLEXCOMM_PERIPH_T peri... | /content/code_sandbox/include/zephyr/drivers/mfd/nxp_lp_flexcomm.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 112 |
```objective-c
/*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_MFD_BD8LB600FS_H_
#define ZEPHYR_INCLUDE_DRIVERS_MFD_BD8LB600FS_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <zephyr/device.h>
/**
* @defgroup mdf_interface_bd8lb600fs MFD BD8LB600FS interface
* @ingroup mfd_interfaces
* @{
*/
/**
* @brief set outputs... | /content/code_sandbox/include/zephyr/drivers/mfd/bd8lb600fs.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 381 |
```objective-c
/*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_MFD_MAX31790_H_
#define ZEPHYR_INCLUDE_DRIVERS_MFD_MAX31790_H_
#include <zephyr/sys/util.h>
#include <zephyr/sys/util_macro.h>
#define MAX31790_OSCILLATOR_FREQUENCY_IN_HZ 32768
#define MAX31790_PWMTARGETDUTYCYCLE_MAXIMUM ((1 << 9) - 1)
#define MAX31790_TACHTARGETC... | /content/code_sandbox/include/zephyr/drivers/mfd/max31790.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 937 |
```objective-c
/*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_MFD_ADP5585_H_
#define ZEPHYR_INCLUDE_DRIVERS_MFD_ADP5585_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <zephyr/device.h>
#define ADP5585_ID 0x00
#define ADP5585_INT_STATUS 0x01
#define ADP5585_STATUS 0x02
#define ADP5585_F... | /content/code_sandbox/include/zephyr/drivers/mfd/adp5585.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,348 |
```objective-c
/*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_MFD_NPM1300_H_
#define ZEPHYR_INCLUDE_DRIVERS_MFD_NPM1300_H_
#ifdef __cplusplus
extern "C" {
#endif
/**
* @defgroup mdf_interface_npm1300 MFD NPM1300 Interface
* @ingroup mfd_interfaces
* @{
*/
#include <stddef.h>
#include <stdint.h>
#include <zephyr/device.... | /content/code_sandbox/include/zephyr/drivers/mfd/npm1300.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,389 |
```objective-c
/*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_MFD_NCT38XX_H_
#define ZEPHYR_INCLUDE_DRIVERS_MFD_NCT38XX_H_
#include <zephyr/device.h>
#include <zephyr/drivers/i2c.h>
#include <zephyr/kernel.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Get the semaphore reference for a NCT38xx instance. Callers
* ... | /content/code_sandbox/include/zephyr/drivers/mfd/nct38xx.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 255 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_EEPROM_FAKE_EEPROM_H_
#define ZEPHYR_INCLUDE_DRIVERS_EEPROM_FAKE_EEPROM_H_
#include <zephyr/drivers/eeprom.h>
#include <zephyr/fff.h>
#ifdef __cplusplus
extern "C" {
#endif
DECLARE_FAKE_VALUE_FUNC(int, fake_eeprom_read, const struct device *, off_t, void *, si... | /content/code_sandbox/include/zephyr/drivers/eeprom/eeprom_fake.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 170 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_MFD_TLE9104_H_
#define ZEPHYR_INCLUDE_DRIVERS_MFD_TLE9104_H_
#include <stdbool.h>
#include <zephyr/device.h>
#define TLE9104_GPIO_COUNT 4
enum tle9104_on_state_diagnostics {
/* overtemperature */
TLE9104_ONDIAG_OT = 5,
/* overcurrent timeout */
TLE9104_ONDI... | /content/code_sandbox/include/zephyr/drivers/mfd/tle9104.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 509 |
```objective-c
/*
*
*/
/**
* @file
* @brief Public APIs for the CDC ACM class driver
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_UART_CDC_ACM_H_
#define ZEPHYR_INCLUDE_DRIVERS_UART_CDC_ACM_H_
#include <errno.h>
#include <zephyr/device.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/**
* @typedef cdc_dte_... | /content/code_sandbox/include/zephyr/drivers/uart/cdc_acm.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 295 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_IEEE802154_CC1200_H_
#define ZEPHYR_INCLUDE_DRIVERS_IEEE802154_CC1200_H_
#include <zephyr/device.h>
/* RF settings
*
* First 42 entries are for the 42 first registers from
* address 0x04 to 0x2D included.
* Next, the last 58 entries are for the 58 registers... | /content/code_sandbox/include/zephyr/drivers/ieee802154/cc1200.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 274 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_UART_SERIAL_TEST_H_
#define ZEPHYR_INCLUDE_DRIVERS_UART_SERIAL_TEST_H_
#include <errno.h>
#include <zephyr/device.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/**
* @brief Queues data to be read by the virtual serial port.
*
* @warning
* Us... | /content/code_sandbox/include/zephyr/drivers/uart/serial_test.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 727 |
```objective-c
/*
*
*/
#include <zephyr/drivers/flash.h>
enum stm32_ex_ops {
/*
* STM32 sector write protection control.
*
* As an input this operation takes a structure with two sector masks,
* first mask is used to enable protection on sectors, while second mask
* is used to do the opposite. If both ma... | /content/code_sandbox/include/zephyr/drivers/flash/stm32_flash_api_extensions.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 456 |
```objective-c
/*
*
*/
#ifndef __ZEPHYR_INCLUDE_DRIVERS_NPCX_FLASH_API_EX_H__
#define __ZEPHYR_INCLUDE_DRIVERS_NPCX_FLASH_API_EX_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <zephyr/drivers/flash.h>
enum flash_npcx_ex_ops {
/*
* NPCX User Mode Access (UMA) mode execution.
*
* Execute a SPI transacti... | /content/code_sandbox/include/zephyr/drivers/flash/npcx_flash_api_ex.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 488 |
```objective-c
/*
*
*/
#ifndef __ZEPHYR_INCLUDE_DRIVERS_FLASH_NRF_QSPI_NOR_H__
#define __ZEPHYR_INCLUDE_DRIVERS_FLASH_NRF_QSPI_NOR_H__
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Specifies whether XIP (execute in place) operation should be possible
*
* Normally, the driver deactivates the QSPI periphera... | /content/code_sandbox/include/zephyr/drivers/flash/nrf_qspi_nor.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 341 |
```objective-c
/*
*
*/
#ifndef __ZEPHYR_INCLUDE_DRIVERS__FLASH_SIMULATOR_H__
#define __ZEPHYR_INCLUDE_DRIVERS__FLASH_SIMULATOR_H__
#ifdef __cplusplus
extern "C" {
#endif
/**
* @file
* @brief Flash simulator specific API.
*
* Extension for flash simulator.
*/
/**
* @brief Obtain a pointer to the RAM buffer us... | /content/code_sandbox/include/zephyr/drivers/flash/flash_simulator.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 210 |
```objective-c
/*
*
*/
/**
* @file
* @brief SCMI SHMEM API
*/
#ifndef _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_SHMEM_H_
#define _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_SHMEM_H_
#include <zephyr/device.h>
#include <zephyr/arch/cpu.h>
#include <errno.h>
#define SCMI_SHMEM_CHAN_STATUS_BUSY_BIT BIT(0)
#define SCMI_SHME... | /content/code_sandbox/include/zephyr/drivers/firmware/scmi/shmem.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 400 |
```objective-c
/*
*
*/
/**
* @file
* @brief SCMI protocol generic functions and structures
*/
#ifndef _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_PROTOCOL_H_
#define _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_PROTOCOL_H_
#include <zephyr/device.h>
#include <zephyr/drivers/firmware/scmi/util.h>
#include <stdint.h>
#include... | /content/code_sandbox/include/zephyr/drivers/firmware/scmi/protocol.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 733 |
```objective-c
/*
*
*/
/**
* @file
* @brief ARM SCMI utility header
*
* Contains various utility macros and macros used for protocol and
* transport "registration".
*/
#ifndef _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_UTIL_H_
#define _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_UTIL_H_
/**
* @brief Build protocol name... | /content/code_sandbox/include/zephyr/drivers/firmware/scmi/util.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,418 |
```objective-c
/*
*
*/
/**
* @file
* @brief SCMI clock protocol helpers
*/
#ifndef _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_CLK_H_
#define _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_CLK_H_
#include <zephyr/drivers/firmware/scmi/protocol.h>
#define SCMI_CLK_CONFIG_DISABLE_ENABLE_MASK GENMASK(1, 0)
#define SCMI_CLK_CONF... | /content/code_sandbox/include/zephyr/drivers/firmware/scmi/clk.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 705 |
```objective-c
/*
*
*/
/**
* @file
* @brief Public APIs for the SCMI transport layer drivers
*/
#ifndef _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_TRANSPORT_H_
#define _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_TRANSPORT_H_
#include <zephyr/device.h>
#include <zephyr/sys/mutex.h>
struct scmi_message;
struct scmi_channel... | /content/code_sandbox/include/zephyr/drivers/firmware/scmi/transport.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,814 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_LED_STRIP_TLC5971_H_
#define ZEPHYR_INCLUDE_DRIVERS_LED_STRIP_TLC5971_H_
/**
* @brief Maximum value for global brightness control, i.e 100% brightness
*/
#define TLC5971_GLOBAL_BRIGHTNESS_CONTROL_MAX 127
/**
* @brief Set the global brightness control levels ... | /content/code_sandbox/include/zephyr/drivers/led_strip/tlc5971.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 170 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_POWER_ATMEL_SAM_SUPC_H_
#define ZEPHYR_INCLUDE_DRIVERS_POWER_ATMEL_SAM_SUPC_H_
#define SAM_DT_SUPC_CONTROLLER DEVICE_DT_GET(DT_NODELABEL(supc))
#define SAM_DT_SUPC_WAKEUP_SOURCE_ID(node_id) \
DT_PROP_BY_IDX(node_id, wakeup_source_id wakeup_source_id)
#define ... | /content/code_sandbox/include/zephyr/drivers/power/atmel_sam_supc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 133 |
```objective-c
/*
*
*/
/**
* @file
* @brief SCMI pinctrl protocol helpers
*/
#ifndef _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_PINCTRL_H_
#define _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_PINCTRL_H_
#include <zephyr/drivers/firmware/scmi/protocol.h>
#define ARM_SCMI_PINCTRL_MAX_CONFIG_SIZE (10 * 2)
#define SCMI_PINCT... | /content/code_sandbox/include/zephyr/drivers/firmware/scmi/pinctrl.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 860 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.