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 Public APIs for the USB BC1.2 battery charging detect drivers.
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_USB_USB_BC12_H_
#define ZEPHYR_INCLUDE_DRIVERS_USB_USB_BC12_H_
#include <zephyr/device.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief BC1.2 driver APIs
* @defg... | /content/code_sandbox/include/zephyr/drivers/usb/usb_bc12.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,349 |
```objective-c
/*
*
*/
/**
* @file
* @brief USB host controller (UHC) driver API
*/
#ifndef ZEPHYR_INCLUDE_UHC_H
#define ZEPHYR_INCLUDE_UHC_H
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/net/buf.h>
#include <zephyr/usb/usb_ch9.h>
#include <zephyr/sys/dlist.h>
/**
* @brief USB host co... | /content/code_sandbox/include/zephyr/drivers/usb/uhc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,498 |
```objective-c
/*
*
*/
/**
* @file
* @brief Buffers for USB device support
*/
#ifndef ZEPHYR_INCLUDE_UDC_BUF_H
#define ZEPHYR_INCLUDE_UDC_BUF_H
#include <zephyr/kernel.h>
#include <zephyr/net/buf.h>
#if defined(CONFIG_DCACHE) && !defined(CONFIG_UDC_BUF_FORCE_NOCACHE)
/*
* Here we try to get DMA-safe buffers, ... | /content/code_sandbox/include/zephyr/drivers/usb/udc_buf.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,327 |
```objective-c
/*
*
*/
/**
* @file
* @brief New USB device controller (UDC) driver API
*/
#ifndef ZEPHYR_INCLUDE_UDC_H
#define ZEPHYR_INCLUDE_UDC_H
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/drivers/usb/udc_buf.h>
#include <zephyr/sys/atomic.h>
#include <zephyr/usb/usb_ch9.h>
/**
*... | /content/code_sandbox/include/zephyr/drivers/usb/udc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 5,138 |
```objective-c
/* usb_dc.h - USB device controller driver interface */
/*
*
*/
/**
* @file
* @brief USB device controller APIs
*
* This file contains the USB device controller APIs. All device controller
* drivers should implement the APIs described in this file.
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_USB_USB_DC_... | /content/code_sandbox/include/zephyr/drivers/usb/usb_dc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,870 |
```objective-c
/*
*
*/
/**
* @file
* @brief Backend APIs for the BC1.2 emulators.
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_USB_EMUL_BC12_H_
#define ZEPHYR_INCLUDE_DRIVERS_USB_EMUL_BC12_H_
#include <zephyr/drivers/emul.h>
#include <zephyr/drivers/usb/usb_bc12.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief BC... | /content/code_sandbox/include/zephyr/drivers/usb/emul_bc12.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 626 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_PWM_MAX31790_H_
#define ZEPHYR_INCLUDE_DRIVERS_PWM_MAX31790_H_
/**
* @name custom PWM flags for MAX31790
* These flags can be used with the PWM API in the upper 8 bits of pwm_flags_t
* They allow the usage of the RPM mode, which will cause the MAX31790 to
* ... | /content/code_sandbox/include/zephyr/drivers/pwm/max31790.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 828 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_INTERRUPT_CONTROLLER_GD32_EXTI_H_
#define ZEPHYR_INCLUDE_DRIVERS_INTERRUPT_CONTROLLER_GD32_EXTI_H_
#include <stdint.h>
#include <zephyr/sys/util_macro.h>
/**
* @name EXTI trigger modes.
* @anchor GD32_EXTI_TRIG
* @{
*/
/** No trigger */
#define GD32_EXTI_... | /content/code_sandbox/include/zephyr/drivers/interrupt_controller/gd32_exti.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 420 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_SAM0_EIC_H_
#define ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_SAM0_EIC_H_
#include <zephyr/types.h>
/* callback for EIC interrupt */
typedef void (*sam0_eic_callback_t)(uint32_t pins, void *data);
/**
* @brief EIC trigger condition
*/
enum ... | /content/code_sandbox/include/zephyr/drivers/interrupt_controller/sam0_eic.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 580 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_SYSAPIC_H_
#define ZEPHYR_INCLUDE_DRIVERS_SYSAPIC_H_
#include <zephyr/drivers/interrupt_controller/loapic.h>
#define IRQ_TRIGGER_EDGE IOAPIC_EDGE
#define IRQ_TRIGGER_LEVEL IOAPIC_LEVEL
#define IRQ_POLARITY_HIGH IOAPIC_HIGH
#define IRQ_POLARITY_LOW IOAPIC_LOW
... | /content/code_sandbox/include/zephyr/drivers/interrupt_controller/sysapic.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 203 |
```objective-c
/*
*
*/
/**
* @brief Driver for Pin interrupt and pattern match engine in NXP MCUs
*
* The Pin interrupt and pattern match engine (PINT) supports
* sourcing inputs from any pins on GPIO ports 0 and 1 of NXP MCUs
* featuring the module, and generating interrupts based on these inputs.
* Pin input... | /content/code_sandbox/include/zephyr/drivers/interrupt_controller/nxp_pint.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 630 |
```objective-c
/* loapic.h - public LOAPIC APIs */
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_LOAPIC_H_
#define ZEPHYR_INCLUDE_DRIVERS_LOAPIC_H_
#include <zephyr/arch/cpu.h>
#include <zephyr/arch/x86/msr.h>
#include <zephyr/sys/device_mmio.h>
/* Local APIC Register Offset */
#define LOAPIC_ID 0x020 /* Local APIC ... | /content/code_sandbox/include/zephyr/drivers/interrupt_controller/loapic.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,765 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_ESP_INTR_ALLOC_H__
#define ZEPHYR_INCLUDE_DRIVERS_ESP_INTR_ALLOC_H__
#include <stdint.h>
#include <stdbool.h>
/* number of possible interrupts per core */
#define ESP_INTC_INTS_NUM (32)
/*
* Interrupt allocation flags - These flags can be used to specify
* ... | /content/code_sandbox/include/zephyr/drivers/interrupt_controller/intc_esp32.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,894 |
```objective-c
/* ioapic.h - public IOAPIC APIs */
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_IOAPIC_H_
#define ZEPHYR_INCLUDE_DRIVERS_IOAPIC_H_
#ifdef __cplusplus
extern "C" {
#endif
/*
* Redirection table entry bits: lower 32 bit
* Used as flags argument in ioapic_irq_set
*/
#define IOAPIC_INT_MASK 0x00010000
#... | /content/code_sandbox/include/zephyr/drivers/interrupt_controller/ioapic.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 402 |
```objective-c
/*
*
*/
/**
* @file
* @brief Driver for Core-Local Interrupt Controller (CLIC)
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_RISCV_CLIC_H_
#define ZEPHYR_INCLUDE_DRIVERS_RISCV_CLIC_H_
/**
* @brief Enable interrupt
*
* @param irq interrupt ID
*/
void riscv_clic_irq_enable(uint32_t irq);
/**
* @brief Dis... | /content/code_sandbox/include/zephyr/drivers/interrupt_controller/riscv_clic.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 231 |
```objective-c
/*
*
*/
/**
* @file
* @brief Driver for ARM Generic Interrupt Controller
*
* The Generic Interrupt Controller (GIC) is the default interrupt controller
* for the ARM A and R profile cores. This driver is used by the ARM arch
* implementation to handle interrupts.
*/
#ifndef ZEPHYR_INCLUDE_DRI... | /content/code_sandbox/include/zephyr/drivers/interrupt_controller/gic.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,580 |
```objective-c
*
*/
#ifndef ZEPHYR_DRIVERS_INTC_VIM_H_
#define ZEPHYR_DRIVERS_INTC_VIM_H_
#include <stdint.h>
#include <zephyr/devicetree.h>
#include <zephyr/dt-bindings/interrupt-controller/ti-vim.h>
#include <zephyr/sys/util_macro.h>
#define VIM_BASE_ADDR DT_REG_ADDR(DT_INST(0, ti_vim))
#define VIM... | /content/code_sandbox/include/zephyr/drivers/interrupt_controller/intc_vim.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,328 |
```objective-c
/*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_DW_ACE_H
#define ZEPHYR_INCLUDE_DRIVERS_DW_ACE_H
#include <zephyr/device.h>
typedef void (*irq_enable_t)(const struct device *dev, uint32_t irq);
typedef void (*irq_disable_t)(const struct device *dev, uint32_t irq);
typedef int (*irq_is_enabled_t)(const struct de... | /content/code_sandbox/include/zephyr/drivers/interrupt_controller/dw_ace.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 205 |
```objective-c
/*
*
*/
/**
* @brief Driver for External interrupt/event controller in STM32 MCUs
*
* Based on reference manuals:
* RM0008 Reference Manual: STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx
* and STM32F107xx advanced ARM(r)-based 32-bit MCUs
* and
* RM0368 Reference manual STM32F401xB/C... | /content/code_sandbox/include/zephyr/drivers/interrupt_controller/exti_stm32.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 534 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_XMC4XXX_INTC_H_
#define ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_XMC4XXX_INTC_H_
/**
* @brief Enable interrupt for specific port_id and pin combination
*
* @param port_id Port index
* @param pin pin Pin the port
* @param mode Level or edge interrupt... | /content/code_sandbox/include/zephyr/drivers/interrupt_controller/intc_xmc4xxx.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 331 |
```objective-c
/*
*
*/
/**
* @brief Driver for Wake-up interrupt/event controller in NXP S32 MCUs
*/
#ifndef ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_WKPU_NXP_S32_H_
#define ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_WKPU_NXP_S32_H_
/** NXP WKPU callback */
typedef void (*wkpu_nxp_s32_callback_t)(uint8_t pin, void... | /content/code_sandbox/include/zephyr/drivers/interrupt_controller/intc_wkpu_nxp_s32.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 541 |
```objective-c
/*
*
*/
#include <zephyr/dt-bindings/interrupt-controller/renesas-ra-icu.h>
#ifndef ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_RA_ICU_H_
#define ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_RA_ICU_H_
#define RA_ICU_FLAG_EVENT_OFFSET 8
#define RA_ICU_FLAG_EVENT_MASK (BIT_MASK(8) << RA_ICU_FLAG_EVENT_OF... | /content/code_sandbox/include/zephyr/drivers/interrupt_controller/intc_ra_icu.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 334 |
```objective-c
/*
*
*/
/**
* @file
* @brief Driver for ARM Generic Interrupt Controller V3 Interrupt Translation Service
*
* The Generic Interrupt Controller (GIC) Interrupt Translation Service translates an input
* EventID from a device, identified by its DeviceID, determines a corresponding INTID for
* this ... | /content/code_sandbox/include/zephyr/drivers/interrupt_controller/gicv3_its.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 602 |
```objective-c
/*
*
*/
/**
* @file
* @brief Driver for Platform Level Interrupt Controller (PLIC)
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_RISCV_PLIC_H_
#define ZEPHYR_INCLUDE_DRIVERS_RISCV_PLIC_H_
#include <zephyr/device.h>
/**
* @brief Enable interrupt
*
* @param irq Multi-level encoded interrupt ID
*/
void ris... | /content/code_sandbox/include/zephyr/drivers/interrupt_controller/riscv_plic.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 306 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_IT8XXX2_WUC_H_
#define ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_IT8XXX2_WUC_H_
#include <zephyr/device.h>
#include <stdint.h>
/**
* @brief A trigger condition on the corresponding input generates
* a wake-up signal to the power management contr... | /content/code_sandbox/include/zephyr/drivers/interrupt_controller/wuc_ite_it8xxx2.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 362 |
```objective-c
/*
*
*/
/**
* @brief Driver for External interrupt/event controller in NXP S32 MCUs
*
*/
#ifndef ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_EIRQ_NXP_S32_H_
#define ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_EIRQ_NXP_S32_H_
/** NXP SIUL2 EIRQ callback */
typedef void (*eirq_nxp_s32_callback_t)(uint8_t... | /content/code_sandbox/include/zephyr/drivers/interrupt_controller/intc_eirq_nxp_s32.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 539 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_ESP_INTR_ALLOC_H__
#define ZEPHYR_INCLUDE_DRIVERS_ESP_INTR_ALLOC_H__
#include <stdint.h>
#include <stdbool.h>
#include <soc.h>
/*
* Interrupt allocation flags - These flags can be used to specify
* which interrupt qualities the code calling esp_intr_alloc* nee... | /content/code_sandbox/include/zephyr/drivers/interrupt_controller/intc_esp32c3.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,007 |
```objective-c
/*
*
*/
/**
* @brief Driver for External interrupt controller in Microchip XEC devices
*
* Based on reference manuals:
* Reference Manuals for MEC152x and MEC172x ARM(r) 32-bit MCUs
*
* Chapter: EC Interrupt Aggregator (ECIA)
*
*/
#ifndef ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_MCHP_XEC_ECIA_H_... | /content/code_sandbox/include/zephyr/drivers/interrupt_controller/intc_mchp_xec_ecia.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,826 |
```objective-c
/*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_INTEL_VTD_H_
#define ZEPHYR_INCLUDE_DRIVERS_INTEL_VTD_H_
#include <zephyr/drivers/pcie/msi.h>
typedef int (*vtd_alloc_entries_f)(const struct device *dev,
uint8_t n_entries);
typedef uint32_t (*vtd_remap_msi_f)(const struct device *dev,
msi_vector_... | /content/code_sandbox/include/zephyr/drivers/interrupt_controller/intel_vtd.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,653 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_DMA_MCUX_SMARTDMA_H_
#define ZEPHYR_INCLUDE_DRIVERS_DMA_MCUX_SMARTDMA_H_
/* Write RGB565 data to MIPI DSI via DMA. */
#define DMA_SMARTDMA_MIPI_RGB565_DMA 0
/* Write RGB888 data to MIPI DSI via DMA */
#define DMA_SMARTDMA_MIPI_RGB888_DMA 1
/* Write RGB565 data t... | /content/code_sandbox/include/zephyr/drivers/dma/dma_mcux_smartdma.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 496 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_DMA_GD32_H_
#define ZEPHYR_INCLUDE_DRIVERS_DMA_GD32_H_
#define GD32_DMA_CONFIG_DIRECTION(config) ((config >> 6) & 0x3)
#define GD32_DMA_CONFIG_PERIPH_ADDR_INC(config) ((config >> 9) & 0x1)
#define GD32_DMA_CONFIG_MEMORY_ADDR_INC(config) ((config >... | /content/code_sandbox/include/zephyr/drivers/dma/dma_gd32.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 225 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_DMA_ESP32_H_
#define ZEPHYR_INCLUDE_DRIVERS_DMA_ESP32_H_
enum gdma_trigger_peripheral {
ESP_GDMA_TRIG_PERIPH_M2M = -1,
ESP_GDMA_TRIG_PERIPH_SPI2 = 0,
ESP_GDMA_TRIG_PERIPH_SPI3 = 1,
ESP_GDMA_TRIG_PERIPH_UHCI0 = 2,
ESP_GDMA_TRIG_PERIPH_I2S0 = 3,
ESP_GDMA_TRI... | /content/code_sandbox/include/zephyr/drivers/dma/dma_esp32.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 373 |
```objective-c
/*
*
*/
#ifndef DMA_SMARTBOND_H_
#define DMA_SMARTBOND_H_
/**
* @brief Vendror-specific DMA peripheral triggering sources.
*
* A valid triggering source should be provided when DMA
* is configured for peripheral to peripheral or memory to peripheral
* transactions.
*/
enum dma_smartbond_trig_mu... | /content/code_sandbox/include/zephyr/drivers/dma/dma_smartbond.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 303 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_DMA_INTEL_LPSS_H_
#define ZEPHYR_INCLUDE_DRIVERS_DMA_INTEL_LPSS_H_
#define DMA_INTEL_LPSS_OFFSET 0x800
#define DMA_INTEL_LPSS_REMAP_LOW 0x240
#define DMA_INTEL_LPSS_REMAP_HI 0x244
#define DMA_INTEL_LPSS_TX_CHAN 0
#define DMA_INTEL_LPSS_RX_CHAN 1
#define DMA_... | /content/code_sandbox/include/zephyr/drivers/dma/dma_intel_lpss.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 173 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_DMA_MCUX_PXP_H_
#define ZEPHYR_INCLUDE_DRIVERS_DMA_MCUX_PXP_H_
#define DMA_MCUX_PXP_CMD_MASK 0xE0
#define DMA_MCUX_PXP_CMD_SHIFT 0x5
#define DMA_MCUX_PXP_FMT_MASK 0x1F
#define DMA_MCUX_PXP_FMT_SHIFT 0x0
/*
* In order to configure the PXP for rotation, the u... | /content/code_sandbox/include/zephyr/drivers/dma/dma_mcux_pxp.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 568 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_DMA_STM32_H_
#define ZEPHYR_INCLUDE_DRIVERS_DMA_STM32_H_
/* @brief linked_channel value to inform zephyr dma driver that
* DMA channel will be handled by HAL
*/
#define STM32_DMA_HAL_OVERRIDE 0x7F
/* @brief gives the first DMA channel : 0 or 1 in the reg... | /content/code_sandbox/include/zephyr/drivers/dma/dma_stm32.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,001 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_DMA_DMA_MCUX_LPC_H_
#define ZEPHYR_INCLUDE_DRIVERS_DMA_DMA_MCUX_LPC_H_
/*
* LPC DMA engine channel hardware trigger attributes.
* These attributes can be set to the "dma_slot" field
* in a dma_config structure to configure a channel for
* hardware triggering... | /content/code_sandbox/include/zephyr/drivers/dma/dma_mcux_lpc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 469 |
```objective-c
/** @file
* @brief BlueNRG HCI extended API.
*/
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_BLUETOOTH_HCI_DRIVER_BLUENRG_H_
#define ZEPHYR_INCLUDE_DRIVERS_BLUETOOTH_HCI_DRIVER_BLUENRG_H_
/**
* @brief BlueNRG HCI Driver-Specific API
* @defgroup bluenrg_hci_driver BlueNRG HCI driver extended API
* @in... | /content/code_sandbox/include/zephyr/drivers/bluetooth/hci_driver_bluenrg.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 238 |
```unknown
Miscellaneous Drivers
Misc (or miscellaneous) drivers are device drivers that do not expose generic
Zephyr Device Drivers API. Such drivers have only device-specific API providing
functionalities not covered by any Generic Device Driver API.
This directory contains header files of the Miscellaneous Drivers... | /content/code_sandbox/include/zephyr/drivers/misc/README | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 182 |
```objective-c
/*
*
*/
/**
* @file
* @brief Public APIs for the Device Multiplexer driver
*/
#ifndef INCLUDE_ZEPHYR_DRIVERS_MISC_DEVMUX_H_
#define INCLUDE_ZEPHYR_DRIVERS_MISC_DEVMUX_H_
#include <stdint.h>
#include <zephyr/device.h>
#include <zephyr/kernel.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @bri... | /content/code_sandbox/include/zephyr/drivers/misc/devmux/devmux.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 591 |
```objective-c
/** @file
* @brief Bluetooth HCI driver API.
*/
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_BLUETOOTH_HCI_DRIVER_H_
#define ZEPHYR_INCLUDE_DRIVERS_BLUETOOTH_HCI_DRIVER_H_
/**
* @brief HCI drivers
*
* @deprecated This is the old HCI driver API. Drivers should use @ref bt_hci_api instead.
*
* @defgr... | /content/code_sandbox/include/zephyr/drivers/bluetooth/hci_driver.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,785 |
```objective-c
/*
*
*/
/**
* @file
* @brief FT8XX display list commands
*/
#ifndef ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_DL_H_
#define ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_DL_H_
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief FT8xx display list commands
* @defgroup ft8xx_dl FT8xx display list
... | /content/code_sandbox/include/zephyr/drivers/misc/ft8xx/ft8xx_dl.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,214 |
```objective-c
/*
*
*/
/**
* @file
* @brief FT8XX coprocessor functions
*/
#ifndef ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_COPRO_H_
#define ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_COPRO_H_
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief FT8xx co-processor engine functions
* @defgroup ft8xx_copro FT8... | /content/code_sandbox/include/zephyr/drivers/misc/ft8xx/ft8xx_copro.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,269 |
```objective-c
/*
*
*/
/**
* @file
* @brief FT8XX common functions
*/
#ifndef ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_COMMON_H_
#define ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_COMMON_H_
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief FT8xx functions to write and read memory
* @defgroup ft8xx_common ... | /content/code_sandbox/include/zephyr/drivers/misc/ft8xx/ft8xx_common.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 456 |
```objective-c
/*
*
*/
/**
* @file
* @brief FT8XX reference API
*/
#ifndef ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_REFERENCE_API_H_
#define ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_REFERENCE_API_H_
#include <stdint.h>
#include <zephyr/drivers/misc/ft8xx/ft8xx_copro.h>
#include <zephyr/drivers/misc/ft8xx/ft8xx_common.h>
#includ... | /content/code_sandbox/include/zephyr/drivers/misc/ft8xx/ft8xx_reference_api.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 5,569 |
```objective-c
/*
*
*/
/**
* @file
* @brief FT8XX memory map
*/
#ifndef ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_MEMORY_H_
#define ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_MEMORY_H_
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief FT8xx memory addresses
* @defgroup ft8xx_memory FT8xx memory map
* @ingroup ft8xx_interface
... | /content/code_sandbox/include/zephyr/drivers/misc/ft8xx/ft8xx_memory.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,718 |
```objective-c
/*
*
*/
/**
* @file
* @brief FT8XX public API
*/
#ifndef ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_H_
#define ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_H_
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief FT8xx driver public APIs
* @defgroup ft8xx_interface FT8xx driver APIs
* @ingroup mis... | /content/code_sandbox/include/zephyr/drivers/misc/ft8xx/ft8xx.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 591 |
```objective-c
/* grove_lcd.h - Public API for the Grove RGB LCD device */
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DISPLAY_GROVE_LCD_H_
#define ZEPHYR_INCLUDE_DISPLAY_GROVE_LCD_H_
#include <stdint.h>
#include <zephyr/device.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Grove display APIs
* @defgroup grove_displ... | /content/code_sandbox/include/zephyr/drivers/misc/grove_lcd/grove_lcd.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,283 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_DRIVERS_MISC_NXP_FLEXIO_NXP_FLEXIO_H_
#define ZEPHYR_DRIVERS_MISC_NXP_FLEXIO_NXP_FLEXIO_H_
#include <zephyr/device.h>
/**
* @struct nxp_flexio_child_res
* @brief Structure containing information about the required
* resources for a FlexIO child.
*/
struct nxp_flexio_child_... | /content/code_sandbox/include/zephyr/drivers/misc/nxp_flexio/nxp_flexio.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 643 |
```objective-c
/*
*
*/
/**
* @file
* @brief Public APIs for STM32 PWR wake-up pins configuration
*/
#ifndef ZEPHYR_DRIVERS_MISC_STM32_WKUP_PINS_H_
#define ZEPHYR_DRIVERS_MISC_STM32_WKUP_PINS_H_
#include <zephyr/drivers/gpio.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Configure a GPIO pin as a sour... | /content/code_sandbox/include/zephyr/drivers/misc/stm32_wkup_pins/stm32_wkup_pins.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 223 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_DRIVERS_MISC_PIO_PICO_RPI_PIO_PICO_RPI_H_
#define ZEPHYR_DRIVERS_MISC_PIO_PICO_RPI_PIO_PICO_RPI_H_
#include <zephyr/devicetree/gpio.h>
#include <hardware/pio.h>
/**
* @brief Utility macro to define a PIO program. The program is a list
* of 16 bit instructions, genera... | /content/code_sandbox/include/zephyr/drivers/misc/pio_rpi_pico/pio_rpi_pico.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_CLOCK_CONTROL_SMARTBOND_CLOCK_CONTROL_H_
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_SMARTBOND_CLOCK_CONTROL_H_
#include <zephyr/device.h>
#include <zephyr/drivers/clock_control.h>
#ifdef __cplusplus
extern "C" {
#endif
/** @brief Smartbond clocks
*
* Enum ... | /content/code_sandbox/include/zephyr/drivers/clock_control/smartbond_clock_control.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 339 |
```objective-c
/*
*
*/
/**
* @file
* @brief Public APIs for Time-aware GPIO drivers
*/
#ifndef ZEPHYR_DRIVERS_MISC_TIMEAWARE_GPIO_TIMEAWARE_GPIO
#define ZEPHYR_DRIVERS_MISC_TIMEAWARE_GPIO_TIMEAWARE_GPIO
/**
* @brief Time-aware GPIO Interface
* @defgroup tgpio_interface Time-aware GPIO Interface
* @since 3.5
... | /content/code_sandbox/include/zephyr/drivers/misc/timeaware_gpio/timeaware_gpio.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,335 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_GD32_H_
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_GD32_H_
#include <zephyr/device.h>
/**
* @brief Obtain a reference to the GD32 clock controller.
*
* There is a single clock controller in the GD32: cctl. The device can be
* used without ch... | /content/code_sandbox/include/zephyr/drivers/clock_control/gd32.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_CLOCK_CONTROL_ARM_CLOCK_CONTROL_H_
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_ARM_CLOCK_CONTROL_H_
#include <zephyr/drivers/clock_control.h>
/**
* @file
*
* @brief Clock subsystem IDs for ARM family SoCs
*/
/* CMSDK BUS Mapping */
enum arm_bus_type_t {
... | /content/code_sandbox/include/zephyr/drivers/clock_control/arm_clock_control.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 199 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_MCHP_XEC_H_
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_MCHP_XEC_H_
#include <zephyr/drivers/clock_control.h>
#include <zephyr/dt-bindings/clock/mchp_xec_pcr.h>
/*
* Set/clear Microchip XEC peripheral sleep enable.
* SoC layer contains the chip ... | /content/code_sandbox/include/zephyr/drivers/clock_control/mchp_xec_clock_control.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 213 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_RCAR_CLOCK_CONTROL_H_
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_RCAR_CLOCK_CONTROL_H_
#include <zephyr/drivers/clock_control.h>
#include <zephyr/dt-bindings/clock/renesas_cpg_mssr.h>
struct rcar_cpg_clk {
uint32_t domain;
uint32_t module;
uin... | /content/code_sandbox/include/zephyr/drivers/clock_control/renesas_cpg_mssr.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 110 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_NRF_CLOCK_CONTROL_H_
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_NRF_CLOCK_CONTROL_H_
#include <zephyr/device.h>
#include <hal/nrf_clock.h>
#include <zephyr/sys/onoff.h>
#include <zephyr/drivers/clock_control.h>
#ifdef __cplusplus
extern "C" {
#e... | /content/code_sandbox/include/zephyr/drivers/clock_control/nrf_clock_control.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,271 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_RENESAS_RA_CGC_H_
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_RENESAS_RA_CGC_H_
#include <zephyr/drivers/clock_control.h>
#include <zephyr/dt-bindings/clock/ra_clock.h>
struct clock_control_ra_pclk_cfg {
uint32_t clk_src;
uint32_t clk_div;
};
s... | /content/code_sandbox/include/zephyr/drivers/clock_control/renesas_ra_cgc.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_CLOCK_CONTROL_ATMEL_SAM_PMC_H_
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_ATMEL_SAM_PMC_H_
#include <zephyr/drivers/clock_control.h>
#include <zephyr/dt-bindings/clock/atmel_sam_pmc.h>
#define SAM_DT_PMC_CONTROLLER DEVICE_DT_GET(DT_NODELABEL(pmc))
struct atm... | /content/code_sandbox/include/zephyr/drivers/clock_control/atmel_sam_pmc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 300 |
```objective-c
/*
*
*/
/**
* @file
* @brief LiteX Clock Control driver interface
*/
#ifndef CLK_CTRL_LITEX_H
#define CLK_CTRL_LITEX_H
/**
* @brief LiteX Clock Control driver interface
* @defgroup clock_control_litex_interface LiteX Clock Control driver interface
* @brief LiteX Clock Control driver interface
... | /content/code_sandbox/include/zephyr/drivers/clock_control/clock_control_litex.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 223 |
```objective-c
/*
*
*/
#ifndef CLOCKMANAGER_H
#define CLOCKMANAGER_H
#include <socfpga_handoff.h>
/* Clock Manager Registers */
#define CLKMGR_OFFSET 0xffd10000
#define CLKMGR_CTRL 0x0
#define CLKMGR_STAT 0x4
#define CLKMGR_INTRCLR 0x14
/* Main PLL Group */
#define CLKMGR_MAINPLL 0xffd10024
#defin... | /content/code_sandbox/include/zephyr/drivers/clock_control/clock_agilex_ll.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,515 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_ESP32_CLOCK_CONTROL_H_
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_ESP32_CLOCK_CONTROL_H_
#if defined(CONFIG_SOC_SERIES_ESP32)
#include <zephyr/dt-bindings/clock/esp32_clock.h>
#elif defined(CONFIG_SOC_SERIES_ESP32S2)
#include <zephyr/dt-bindings/... | /content/code_sandbox/include/zephyr/drivers/clock_control/esp32_clock_control.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 360 |
```objective-c
/*
*
*/
#ifndef CLOCK_CONTROL_ADSP_H_
#define CLOCK_CONTROL_ADSP_H_
#include <adsp_clk.h>
#endif /* CLOCK_CONTROL_ADSP_H_ */
``` | /content/code_sandbox/include/zephyr/drivers/clock_control/clock_control_adsp.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 34 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_CLOCK_CONTROL_AMBIQ_H_
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_CLOCK_CONTROL_AMBIQ_H_
#ifdef __cplusplus
extern "C" {
#endif
/** @brief Clocks handled by the CLOCK peripheral.
*
* Enum shall be used as a sys argument in clock_control API.
... | /content/code_sandbox/include/zephyr/drivers/clock_control/clock_control_ambiq.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 267 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_LPC11U6X_CLOCK_CONTROL_H_
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_LPC11U6X_CLOCK_CONTROL_H_
#include <zephyr/drivers/clock_control.h>
#include <zephyr/dt-bindings/clock/lpc11u6x_clock.h>
#endif /* ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_LPC11U6X_... | /content/code_sandbox/include/zephyr/drivers/clock_control/lpc11u6x_clock_control.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 97 |
```objective-c
/*
*
*/
#include <stdint.h>
#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_NUMAKER_H_
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_NUMAKER_H_
/**
* @brief Enable/disable oscillators or other clocks
*/
#define NUMAKER_SCC_CLKSW_UNTOUCHED 0
#define NUMAKER_SCC_CLKSW_ENABLE 1
#define NUMAKER_SCC_CLK... | /content/code_sandbox/include/zephyr/drivers/clock_control/clock_control_numaker.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 249 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_ADI_MAX32_CLOCK_CONTROL_H_
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_ADI_MAX32_CLOCK_CONTROL_H_
#include <zephyr/drivers/clock_control.h>
#include <zephyr/dt-bindings/clock/adi_max32_clock.h>
#include <wrap_max32_sys.h>
/** Driver structure d... | /content/code_sandbox/include/zephyr/drivers/clock_control/adi_max32_clock_control.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,308 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_ADC_VOLTAGE_DIVIDER_H_
#define ZEPHYR_INCLUDE_DRIVERS_ADC_VOLTAGE_DIVIDER_H_
#include <zephyr/drivers/adc.h>
struct voltage_divider_dt_spec {
const struct adc_dt_spec port;
uint32_t full_ohms;
uint32_t output_ohms;
};
/**
* @brief Get voltage divider infor... | /content/code_sandbox/include/zephyr/drivers/adc/voltage_divider.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_ADC_LMP90XXX_H_
#define ZEPHYR_INCLUDE_DRIVERS_ADC_LMP90XXX_H_
#include <zephyr/device.h>
#include <zephyr/drivers/gpio.h>
/* LMP90xxx supports GPIO D0..D6 */
#define LMP90XXX_GPIO_MAX 6
int lmp90xxx_gpio_set_output(const struct device *dev, uint8_t pin);
int... | /content/code_sandbox/include/zephyr/drivers/adc/lmp90xxx.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 300 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_ADC_CURRENT_SENSE_SHUNT_H_
#define ZEPHYR_INCLUDE_DRIVERS_ADC_CURRENT_SENSE_SHUNT_H_
#include <zephyr/drivers/adc.h>
struct current_sense_shunt_dt_spec {
const struct adc_dt_spec port;
uint32_t shunt_micro_ohms;
};
/**
* @brief Get current sensor informatio... | /content/code_sandbox/include/zephyr/drivers/adc/current_sense_shunt.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 404 |
```objective-c
/*
*
*/
#ifndef _ADC_NPCX_THRESHOLD_H_
#define _ADC_NPCX_THRESHOLD_H_
#include <zephyr/device.h>
enum adc_npcx_threshold_param_l_h {
ADC_NPCX_THRESHOLD_PARAM_L_H_HIGHER,
ADC_NPCX_THRESHOLD_PARAM_L_H_LOWER,
};
enum adc_npcx_threshold_param_type {
/* Selects ADC channel to be used for measurement ... | /content/code_sandbox/include/zephyr/drivers/adc/adc_npcx_threshold.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 617 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_STM32_CLOCK_CONTROL_H_
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_STM32_CLOCK_CONTROL_H_
#include <zephyr/drivers/clock_control.h>
#if defined(CONFIG_SOC_SERIES_STM32C0X)
#include <zephyr/dt-bindings/clock/stm32c0_clock.h>
#elif defined(CONFIG_SO... | /content/code_sandbox/include/zephyr/drivers/clock_control/stm32_clock_control.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 6,615 |
```objective-c
/**
* @file
*
* @brief Backend API for emulated ADC
*/
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_ADC_ADC_EMUL_H_
#define ZEPHYR_INCLUDE_DRIVERS_ADC_ADC_EMUL_H_
#include <zephyr/types.h>
#include <zephyr/drivers/adc.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Emulated ADC backend API
*... | /content/code_sandbox/include/zephyr/drivers/adc/adc_emul.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 785 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_ADC_CURRENT_SENSE_AMPLIFIER_H_
#define ZEPHYR_INCLUDE_DRIVERS_ADC_CURRENT_SENSE_AMPLIFIER_H_
#include <zephyr/drivers/adc.h>
#include <zephyr/drivers/gpio.h>
struct current_sense_amplifier_dt_spec {
const struct adc_dt_spec port;
uint32_t sense_micro_ohms;
u... | /content/code_sandbox/include/zephyr/drivers/adc/current_sense_amplifier.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 510 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_ADC_ADS114S0X_H_
#define ZEPHYR_INCLUDE_DRIVERS_ADC_ADS114S0X_H_
#include <zephyr/device.h>
#include <zephyr/drivers/gpio.h>
int ads114s0x_gpio_set_output(const struct device *dev, uint8_t pin, bool initial_value);
int ads114s0x_gpio_set_input(const struct dev... | /content/code_sandbox/include/zephyr/drivers/adc/ads114s0x.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 268 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_PM_CPU_OPS_PSCI_H_
#define ZEPHYR_INCLUDE_DRIVERS_PM_CPU_OPS_PSCI_H_
#include <zephyr/types.h>
#include <zephyr/arch/arm64/arm-smccc.h>
#include <stddef.h>
#include <zephyr/device.h>
#ifdef __cplusplus
extern "C" {
#endif
/* PSCI version decoding (independent ... | /content/code_sandbox/include/zephyr/drivers/pm_cpu_ops/psci.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 229 |
```objective-c
/*
*
*/
/*
* This library uses CMUX to create multiple data channels, called DLCIs, on a single serial bus.
* Each DLCI has an address from 1 to 63. DLCI address 0 is reserved for control commands.
*
* Design overview:
*
* DLCI1 <-----------+ +-------> DLCI1
* ... | /content/code_sandbox/include/zephyr/modem/cmux.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,838 |
```objective-c
/*
*
*/
#include <zephyr/modem/pipe.h>
#include <zephyr/devicetree.h>
#include <zephyr/sys/util.h>
#ifndef ZEPHYR_MODEM_PIPELINK_
#define ZEPHYR_MODEM_PIPELINK_
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Modem pipelink
* @defgroup modem_pipelink Modem pipelink
* @ingroup modem
* @{
*/... | /content/code_sandbox/include/zephyr/modem/pipelink.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,079 |
```objective-c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/types.h>
#include <zephyr/device.h>
#include <zephyr/sys/ring_buffer.h>
#include <zephyr/modem/pipe.h>
#include <zephyr/modem/stats.h>
#ifndef ZEPHYR_MODEM_CHAT_
#define ZEPHYR_MODEM_CHAT_
#ifdef __cplusplus
extern "C" {
#endif
struct modem_chat;... | /content/code_sandbox/include/zephyr/modem/chat.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,955 |
```objective-c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/types.h>
#include <zephyr/sys/atomic.h>
#include <zephyr/modem/pipe.h>
#ifndef ZEPHYR_MODEM_UBX_
#define ZEPHYR_MODEM_UBX_
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Modem Ubx
* @defgroup modem_ubx Modem Ubx
* @ingroup modem
* @{
*/... | /content/code_sandbox/include/zephyr/modem/ubx.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,424 |
```objective-c
/*
*
*/
#include <zephyr/types.h>
#include <zephyr/kernel.h>
#ifndef ZEPHYR_MODEM_STATS_
#define ZEPHYR_MODEM_STATS_
/**
* @cond INTERNAL_HIDDEN
*/
/** Modem statistics buffer structure */
struct modem_stats_buffer {
sys_snode_t node;
char name[CONFIG_MODEM_STATS_BUFFER_NAME_SIZE];
uint32_t ma... | /content/code_sandbox/include/zephyr/modem/stats.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 235 |
```objective-c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/types.h>
#include <zephyr/net/net_if.h>
#include <zephyr/net/net_pkt.h>
#include <zephyr/sys/ring_buffer.h>
#include <zephyr/sys/atomic.h>
#include <zephyr/modem/pipe.h>
#include <zephyr/modem/stats.h>
#ifndef ZEPHYR_MODEM_PPP_
#define ZEPHYR_MODEM... | /content/code_sandbox/include/zephyr/modem/ppp.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,418 |
```objective-c
/*
*
*/
#include <zephyr/types.h>
#include <zephyr/kernel.h>
#ifndef ZEPHYR_MODEM_PIPE_
#define ZEPHYR_MODEM_PIPE_
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Modem Pipe
* @defgroup modem_pipe Modem Pipe
* @ingroup modem
* @{
*/
/** Modem pipe event */
enum modem_pipe_event {
MODEM_P... | /content/code_sandbox/include/zephyr/modem/pipe.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,361 |
```objective-c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/types.h>
#include <zephyr/device.h>
#include <zephyr/sys/ring_buffer.h>
#include <zephyr/sys/atomic.h>
#include <zephyr/modem/pipe.h>
#ifndef ZEPHYR_MODEM_BACKEND_TTY_
#define ZEPHYR_MODEM_BACKEND_TTY_
#ifdef __cplusplus
extern "C" {
#endif
struc... | /content/code_sandbox/include/zephyr/modem/backend/tty.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 211 |
```objective-c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/types.h>
#include <zephyr/device.h>
#include <zephyr/drivers/uart.h>
#include <zephyr/sys/ring_buffer.h>
#include <zephyr/sys/atomic.h>
#include <zephyr/modem/pipe.h>
#include <zephyr/modem/stats.h>
#ifndef ZEPHYR_MODEM_BACKEND_UART_
#define ZEPHYR... | /content/code_sandbox/include/zephyr/modem/backend/uart.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 389 |
```objective-c
/*
*
*/
/**
* @file
* @brief Flash image header file
*
* This header file declares prototypes for the flash image APIs used for DFU.
*/
#ifndef ZEPHYR_INCLUDE_DFU_FLASH_IMG_H_
#define ZEPHYR_INCLUDE_DFU_FLASH_IMG_H_
#include <zephyr/storage/stream_flash.h>
/**
* @brief Abstraction layer to wr... | /content/code_sandbox/include/zephyr/dfu/flash_img.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 743 |
```objective-c
/*
*
*/
#ifndef __XEN_GENERIC_H__
#define __XEN_GENERIC_H__
#include <zephyr/xen/public/xen.h>
#define XEN_PAGE_SIZE 4096
#define XEN_PAGE_SHIFT 12
#define XEN_PFN_UP(x) (unsigned long)(((x) + XEN_PAGE_SIZE-1) >> XEN_PAGE_SHIFT)
#define XEN_PFN_DOWN(x) (unsigned long)((x) >> XEN_PAGE_SHIFT)
#def... | /content/code_sandbox/include/zephyr/xen/generic.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 335 |
```objective-c
/*
*
*/
#ifndef __XEN_CONSOLE_H__
#define __XEN_CONSOLE_H__
#include <zephyr/init.h>
#include <zephyr/device.h>
#include <zephyr/drivers/uart.h>
#include <zephyr/sys/device_mmio.h>
struct hvc_xen_data {
DEVICE_MMIO_RAM; /* should be first */
const struct device *dev;
struct xencons_interface *intf... | /content/code_sandbox/include/zephyr/xen/console.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 145 |
```objective-c
/*
*
*/
#ifndef __XEN_EVENTS_H__
#define __XEN_EVENTS_H__
#include <zephyr/xen/public/event_channel.h>
#include <zephyr/kernel.h>
typedef void (*evtchn_cb_t)(void *priv);
struct event_channel_handle {
evtchn_cb_t cb;
void *priv;
};
typedef struct event_channel_handle evtchn_handle_t;
/*
* Follo... | /content/code_sandbox/include/zephyr/xen/events.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 576 |
```objective-c
/*
*
*/
#ifndef __XEN_HVM_H__
#define __XEN_HVM_H__
#include <zephyr/xen/public/hvm/hvm_op.h>
#include <zephyr/xen/public/hvm/params.h>
#include <zephyr/kernel.h>
int hvm_set_parameter(int idx, int domid, uint64_t value);
int hvm_get_parameter(int idx, int domid, uint64_t *value);
#endif /* __XEN_H... | /content/code_sandbox/include/zephyr/xen/hvm.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 102 |
```objective-c
/*
*
*/
/**
* @file
* @brief MCUboot public API for MCUboot control of image boot process
*
* The header declares API functions that can be used to get information
* on and select application images for boot.
*/
#ifndef ZEPHYR_INCLUDE_DFU_MCUBOOT_H_
#define ZEPHYR_INCLUDE_DFU_MCUBOOT_H_
#inclu... | /content/code_sandbox/include/zephyr/dfu/mcuboot.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,957 |
```objective-c
/*
*/
#include <zephyr/kernel.h>
#include <zephyr/xen/public/memory.h>
#include <zephyr/xen/public/xen.h>
/**
* Add mapping for specified page frame in Xen domain physmap.
*
* @param domid domain id, where mapping will be added. For unprivileged should
* be DOMID_SELF.
* @param idx index into sp... | /content/code_sandbox/include/zephyr/xen/memory.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 633 |
```objective-c
/*
*
*/
#ifndef __XEN_GNTTAB_H__
#define __XEN_GNTTAB_H__
#include <zephyr/xen/public/grant_table.h>
/*
* Assigns gref and permits access to 4K page for specific domain.
*
* @param domid - id of the domain you sharing gref with
* @param gfn - guest frame number of page, where grant will be locate... | /content/code_sandbox/include/zephyr/xen/gnttab.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 798 |
```objective-c
/*
*
*/
#ifndef __XEN_DOM0_DOMCTL_H__
#define __XEN_DOM0_DOMCTL_H__
#include <zephyr/xen/generic.h>
#include <zephyr/xen/public/domctl.h>
#include <zephyr/xen/public/xen.h>
#include <zephyr/kernel.h>
int xen_domctl_scheduler_op(int domid, struct xen_domctl_scheduler_op *sched_op);
int xen_domctl_pau... | /content/code_sandbox/include/zephyr/xen/dom0/domctl.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 470 |
```objective-c
/******************************************************************************
* event_channel.h
*
* Event channels between domains.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal ... | /content/code_sandbox/include/zephyr/xen/public/event_channel.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,842 |
```objective-c
/******************************************************************************
* xen.h
*
* Guest OS interface to Xen.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software... | /content/code_sandbox/include/zephyr/xen/public/xen.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,838 |
```objective-c
/******************************************************************************
* grant_table.h
*
* Interface for granting foreign access to page frames, and receiving
* page-ownership transfers.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software a... | /content/code_sandbox/include/zephyr/xen/public/grant_table.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 4,132 |
```objective-c
/******************************************************************************
* sched.h
*
* Scheduler state interactions
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Soft... | /content/code_sandbox/include/zephyr/xen/public/sched.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,567 |
```objective-c
/******************************************************************************
* memory.h
*
* Memory reservation and information.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in ... | /content/code_sandbox/include/zephyr/xen/public/memory.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,297 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.