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
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_GD32_DMA_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_GD32_DMA_H_
/* macros for channel-cfg */
/* direction defined on bits 6-7 */
#define GD32_DMA_CH_CFG_DIRECTION(val) ((val & 0x3) << 6)
#define GD32_DMA_MEMORY_TO_MEMORY GD32_DMA_CH_CFG_DIRECTION(0)
#define... | /content/code_sandbox/include/zephyr/dt-bindings/dma/gd32_dma.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 638 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_DMA_MAX32670_DMA_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_DMA_MAX32670_DMA_H_
#define MAX32_DMA_SLOT_MEMTOMEM 0x00U
#define MAX32_DMA_SLOT_SPI0_RX 0x01U
#define MAX32_DMA_SLOT_SPI1_RX 0x02U
#define MAX32_DMA_SLOT_SPI2_RX 0x03U
#define MAX32_DMA_SLOT_UART... | /content/code_sandbox/include/zephyr/dt-bindings/dma/max32670_dma.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 454 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_DMA_MAX32672_DMA_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_DMA_MAX32672_DMA_H_
#define MAX32_DMA_SLOT_MEMTOMEM 0x00U
#define MAX32_DMA_SLOT_SPI0_RX 0x01U
#define MAX32_DMA_SLOT_SPI1_RX 0x02U
#define MAX32_DMA_SLOT_SPI2_RX 0x03U
#define MAX32_DMA_SLOT_UART0_RX... | /content/code_sandbox/include/zephyr/dt-bindings/dma/max32672_dma.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 458 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_DMA_MAX32666_DMA_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_DMA_MAX32666_DMA_H_
#define MAX32_DMA_SLOT_MEMTOMEM 0x00U
#define MAX32_DMA_SLOT_SPI1_RX 0x01U
#define MAX32_DMA_SLOT_SPI2_RX 0x02U
#define MAX32_DMA_SLOT_UART0_RX 0x04U
#define MAX32_DMA_SLOT_UART1_RX... | /content/code_sandbox/include/zephyr/dt-bindings/dma/max32666_dma.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 357 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_DMA_INFINEON_XMC4XXX_DMA_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_DMA_INFINEON_XMC4XXX_DMA_H_
#define XMC4XXX_DMA_REQUEST_SOURCE_POS 0
#define XMC4XXX_DMA_REQUEST_SOURCE_MASK 0xf
#define XMC4XXX_DMA_LINE_POS 4
#define XMC4XXX_DMA_LINE_MASK 0xf
#define XMC4XX... | /content/code_sandbox/include/zephyr/dt-bindings/dma/infineon-xmc4xxx-dma.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 220 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_STM32_DMA_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_STM32_DMA_H_
/**
* @name custom DMA flags for channel configuration
* @{
*/
/** DMA cyclic mode config on bit 5*/
#define STM32_DMA_CH_CFG_MODE(val) ((val & 0x1) << 5)
#define STM32_DMA_MODE_NORMAL STM32_... | /content/code_sandbox/include/zephyr/dt-bindings/dma/stm32_dma.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 891 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_DMA_MAX32675_DMA_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_DMA_MAX32675_DMA_H_
#define MAX32_DMA_SLOT_MEMTOMEM 0x00U
#define MAX32_DMA_SLOT_SPI0_RX 0x01U
#define MAX32_DMA_SLOT_SPI1_RX 0x02U
#define MAX32_DMA_SLOT_UART0_RX 0x04U
#define MAX32_DMA_SLOT_I2C0... | /content/code_sandbox/include/zephyr/dt-bindings/dma/max32675_dma.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 330 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_DMA_MAX32655_DMA_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_DMA_MAX32655_DMA_H_
#define MAX32_DMA_SLOT_MEMTOMEM 0x00U
#define MAX32_DMA_SLOT_SPI1_RX 0x01U
#define MAX32_DMA_SLOT_UART0_RX 0x04U
#define MAX32_DMA_SLOT_UART1_RX 0x05U
#define MAX32_DMA_SLOT_I2C0_RX ... | /content/code_sandbox/include/zephyr/dt-bindings/dma/max32655_dma.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 383 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_DMA_MAX32662_DMA_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_DMA_MAX32662_DMA_H_
#define MAX32_DMA_SLOT_MEMTOMEM 0x00U
#define MAX32_DMA_SLOT_SPI0_RX 0x01U
#define MAX32_DMA_SLOT_SPI1_RX 0x02U
#define MAX32_DMA_SLOT_UART0_RX 0x04U
#define MAX32_DMA_SLOT_UART... | /content/code_sandbox/include/zephyr/dt-bindings/dma/max32662_dma.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 330 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_DMA_MAX32690_DMA_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_DMA_MAX32690_DMA_H_
#define MAX32_DMA_SLOT_MEMTOMEM 0x00U
#define MAX32_DMA_SLOT_SPI0_RX 0x01U
#define MAX32_DMA_SLOT_SPI1_RX 0x02U
#define MAX32_DMA_SLOT_SPI2_RX 0x03U
#define MAX32_DMA_SLOT_UART... | /content/code_sandbox/include/zephyr/dt-bindings/dma/max32690_dma.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 874 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_DMA_MAX32680_DMA_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_DMA_MAX32680_DMA_H_
#define MAX32_DMA_SLOT_MEMTOMEM 0x00U
#define MAX32_DMA_SLOT_SPI1_RX 0x01U
#define MAX32_DMA_SLOT_UART0_RX 0x04U
#define MAX32_DMA_SLOT_UART1_RX 0x05U
#define MAX32_DMA_SLOT_I2C0_RX ... | /content/code_sandbox/include/zephyr/dt-bindings/dma/max32680_dma.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 366 |
```objective-c
/*
*
*/
#ifndef __DT_BINDING_IPC_SERVICE_STATIC_VRINGS_H
#define __DT_BINDING_IPC_SERVICE_STATIC_VRINGS_H
#include <zephyr/dt-bindings/dt-util.h>
#define PRIO_COOP BIT(0)
#define PRIO_PREEMPT BIT(1)
#endif /* __DT_BINDING_IPC_SERVICE_STATIC_VRINGS_H */
``` | /content/code_sandbox/include/zephyr/dt-bindings/ipc_service/static_vrings.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 79 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_RPI_PICO_DMA_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_RPI_PICO_DMA_H_
/*
* Use lower 6-bit of inverted DREQ value for `slot` cell.
* Need to be able to work for memory-to-memory transfer
* with zero, which is the default value.
*/
#define RPI_PICO_DMA_SLOT_... | /content/code_sandbox/include/zephyr/dt-bindings/dma/rpi_pico_dma.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,314 |
```objective-c
/*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_MISC_NORDIC_DOMAIN_ID_NRF54H20_H_
#define NRF_DOMAIN_ID_APPLICATION 2
#define NRF_DOMAIN_ID_RADIOCORE 3
#define NRF_DOMAIN_ID_GLOBALFAST 12
#define NRF_DOMAIN_ID_GLOBALSLOW 13
#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_MISC_NORDIC_DOMAIN_ID_NRF54H20_H_ */
``` | /content/code_sandbox/include/zephyr/dt-bindings/misc/nordic-domain-id-nrf54h20.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 88 |
```objective-c
/*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_MISC_NORDIC_OWNER_ID_NRF54H20_H_
#define NRF_OWNER_ID_NONE 0
#define NRF_OWNER_ID_APPLICATION 2
#define NRF_OWNER_ID_RADIOCORE 3
#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_MISC_NORDIC_OWNER_ID_NRF54H20_H_ */
``` | /content/code_sandbox/include/zephyr/dt-bindings/misc/nordic-owner-id-nrf54h20.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 76 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_LORA_SX126X_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_LORA_SX126X_H_
#define SX126X_DIO3_TCXO_1V6 0x00
#define SX126X_DIO3_TCXO_1V7 0x01
#define SX126X_DIO3_TCXO_1V8 0x02
#define SX126X_DIO3_TCXO_2V2 0x03
#define SX126X_DIO3_TCXO_2V4 0x04
#define SX126X_DIO3_TCXO... | /content/code_sandbox/include/zephyr/dt-bindings/lora/sx126x.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 209 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_ADC_ADS114S0X_ADC_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_ADC_ADS114S0X_ADC_H_
/*
* These are the available data rates described as samples per second. They
* can be used with the time unit ticks for the acquisition time.
*/
#define ADS114S0X_CONFIG_DR_2_5 ... | /content/code_sandbox/include/zephyr/dt-bindings/adc/ads114s0x_adc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 293 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_STM32L4_ADC_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_STM32L4_ADC_H_
#include <zephyr/dt-bindings/adc/stm32_adc.h>
/* STM32 ADC resolution register for L4 and similar */
#define STM32_ADC_RES_REG 0x0C
#define STM32_ADC_RES_SHIFT 3
#define STM32_ADC_RES_MASK BIT_... | /content/code_sandbox/include/zephyr/dt-bindings/adc/stm32l4_adc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 118 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_ADC_B91_ADC_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_ADC_B91_ADC_H_
#define DT_ADC_GPIO_PB0 0x01
#define DT_ADC_GPIO_PB1 0x02
#define DT_ADC_GPIO_PB2 0x03
#define DT_ADC_GPIO_PB3 0x04
#define DT_ADC_GPIO_PB4 0x05
#define DT_ADC_GPIO_PB5... | /content/code_sandbox/include/zephyr/dt-bindings/adc/b91-adc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 184 |
```objective-c
/*
*/
/* autogenerated using Nordic HAL utils/gen_offsets.py script */
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_MISC_NORDIC_NRF_FICR_NRF54H20_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_MISC_NORDIC_NRF_FICR_NRF54H20_H_
#define NRF_FICR_BLE_ADDRTYPE 0x00CU
#define NRF_FICR_BLE_ADDR_0 ... | /content/code_sandbox/include/zephyr/dt-bindings/misc/nordic-nrf-ficr-nrf54h20.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,647 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_ADC_GD32F3X0_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_ADC_GD32F3X0_H_
/*
* ADC clock and prescaler definition refer from rcu_adc_clock_enum which
* defined at GD32F3X0 RCU HAL.
*/
#define GD32_RCU_ADCCK_IRC28M_DIV2 0
#define GD32_RCU_ADCCK_IRC28M 1
#define G... | /content/code_sandbox/include/zephyr/dt-bindings/adc/gd32f3x0.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 237 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_ADC_ADC_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_ADC_ADC_H_
#include <zephyr/dt-bindings/dt-util.h>
/** Acquisition time is expressed in microseconds. */
#define ADC_ACQ_TIME_MICROSECONDS (1)
/** Acquisition time is expressed in nanoseconds. */
#define ADC_ACQ... | /content/code_sandbox/include/zephyr/dt-bindings/adc/adc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 240 |
```objective-c
/*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_ADC_NXP_GAU_ADC_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_ADC_NXP_GAU_ADC_H_
#include <zephyr/dt-bindings/adc/adc.h>
/* Channel Sources */
#define GAU_ADC_CH0 0
#define GAU_ADC_CH1 1
#define GAU_ADC_CH2 2
#define GAU_ADC_CH3 3
#define GAU_ADC_CH4 4
#define GAU_ADC... | /content/code_sandbox/include/zephyr/dt-bindings/adc/nxp,gau-adc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 203 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_STM32F1_ADC_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_STM32F1_ADC_H_
#include <zephyr/dt-bindings/adc/stm32_adc.h>
/*
* For STM32 F1 and similar, the only available resolution is 12-bit
* and there is no register to set it.
* We still need the macro to get th... | /content/code_sandbox/include/zephyr/dt-bindings/adc/stm32f1_adc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 214 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_STM32_ADC_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_STM32_ADC_H_
#include <zephyr/dt-bindings/adc/adc.h>
#define STM32_ADC_REG_MASK BIT_MASK(8)
#define STM32_ADC_REG_SHIFT 0U
#define STM32_ADC_SHIFT_MASK BIT_MASK(5)
#define STM32_ADC_SHIFT_SHIFT 8U
#define S... | /content/code_sandbox/include/zephyr/dt-bindings/adc/stm32_adc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 837 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_STM32H7_ADC_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_STM32H7_ADC_H_
#include <zephyr/dt-bindings/adc/stm32_adc.h>
/* STM32 ADC resolution register for H7 and similar */
#define STM32_ADC_RES_REG 0x0C
#define STM32_ADC_RES_SHIFT 2
#define STM32_ADC_RES_MASK BIT_... | /content/code_sandbox/include/zephyr/dt-bindings/adc/stm32h7_adc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 247 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_STM32U5_ADC_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_STM32U5_ADC_H_
#include <zephyr/dt-bindings/adc/stm32_adc.h>
/* STM32 ADC resolution register for U5 and similar */
#define STM32_ADC_RES_REG 0x0C
#define STM32_ADC_RES_SHIFT 2
#define STM32_ADC_RES_MASK BIT_... | /content/code_sandbox/include/zephyr/dt-bindings/adc/stm32u5_adc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 118 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_STM32F4_ADC_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_STM32F4_ADC_H_
#include <zephyr/dt-bindings/adc/stm32_adc.h>
/* STM32 ADC resolution register for F4 and similar */
#define STM32_ADC_RES_REG 0x04
#define STM32_ADC_RES_SHIFT 24
#define STM32_ADC_RES_MASK BIT... | /content/code_sandbox/include/zephyr/dt-bindings/adc/stm32f4_adc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 117 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_ADC_MCUX_LPADC_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_ADC_MCUX_LPADC_H_
#define MCUX_LPADC_CH0A (0x0)
#define MCUX_LPADC_CH0B (0x20)
#define MCUX_LPADC_CH1A (0x1)
#define MCUX_LPADC_CH1B (0x21)
#define MCUX_LPADC_CH2A (0x2)
#define MCUX_LPADC_CH2B (0x22)
#def... | /content/code_sandbox/include/zephyr/dt-bindings/adc/mcux-lpadc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 288 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_ADC_SMARTBOND_ADC_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_ADC_SMARTBOND_ADC_H_
#include <zephyr/dt-bindings/dt-util.h>
/* Values for DT zephyr,input-positive */
#define SMARTBOND_GPADC_P1_09 0
#define SMARTBOND_GPADC_P0_25 1
#define SMARTBOND_GPADC_P0_08 2... | /content/code_sandbox/include/zephyr/dt-bindings/adc/smartbond-adc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 401 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_ADC_NRF_ADC_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_ADC_NRF_ADC_H_
#include <zephyr/dt-bindings/dt-util.h>
#define NRF_ADC_AIN0 BIT(0)
#define NRF_ADC_AIN1 BIT(1)
#define NRF_ADC_AIN2 BIT(2)
#define NRF_ADC_AIN3 BIT(3)
#define NRF_ADC_AIN4 BIT(4)
#define NRF_... | /content/code_sandbox/include/zephyr/dt-bindings/adc/nrf-adc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 255 |
```objective-c
*/
/**
* @file zephyr/dsp/dsp.h
*
* @brief Public APIs for Digital Signal Processing (DSP) math.
*/
#ifndef INCLUDE_ZEPHYR_DSP_DSP_H_
#define INCLUDE_ZEPHYR_DSP_DSP_H_
#ifdef CONFIG_DSP_BACKEND_HAS_STATIC
#define DSP_FUNC_SCOPE static
#else
#define DSP_FUNC_SCOPE
#endif
#ifdef CONFIG_DSP_BACKEND... | /content/code_sandbox/include/zephyr/dsp/dsp.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 215 |
```objective-c
*/
#ifndef INCLUDE_ZEPHYR_DSP_TYPES_H_
#define INCLUDE_ZEPHYR_DSP_TYPES_H_
#include <stdint.h>
/**
* @addtogroup math_dsp
* @{
*/
#ifdef __cplusplus
extern "C" {
#endif
/**
* @typedef q7_t
* @brief 8-bit fractional data type in 1.7 format.
*/
typedef int8_t q7_t;
/**
* @typedef q15_t
* @br... | /content/code_sandbox/include/zephyr/dsp/types.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 297 |
```objective-c
*/
/**
* @file zephyr/dsp/basicmath_f16.h
*
* @brief Public APIs for DSP basicmath for 16 bit floating point
*/
#ifndef INCLUDE_ZEPHYR_DSP_BASICMATH_F16_H_
#define INCLUDE_ZEPHYR_DSP_BASICMATH_F16_H_
#ifndef CONFIG_FP16
#error "Cannot use float16 DSP functionality without CONFIG_FP16 enabled"
#en... | /content/code_sandbox/include/zephyr/dsp/basicmath_f16.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,145 |
```objective-c
*/
#ifndef ZEPHYR_INCLUDE_ZEPHYR_DSP_PRINT_FORMAT_H
#define ZEPHYR_INCLUDE_ZEPHYR_DSP_PRINT_FORMAT_H
#include <inttypes.h>
#include <stdlib.h>
#include <zephyr/dsp/types.h>
/**
* @ingroup math_dsp
* @defgroup math_printing Helper macros for printing Q values.
*
* Extends the existing inttypes hea... | /content/code_sandbox/include/zephyr/dsp/print_format.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 556 |
```objective-c
/*
*
*/
/**
* @file
* @brief Display definitions for MIPI devices
*/
#ifndef ZEPHYR_INCLUDE_DISPLAY_MIPI_DISPLAY_H_
#define ZEPHYR_INCLUDE_DISPLAY_MIPI_DISPLAY_H_
/**
* @brief MIPI Display definitions
* @defgroup mipi_interface MIPI Display interface
* @ingroup io_interfaces
* @{
*/
#ifdef... | /content/code_sandbox/include/zephyr/display/mipi_display.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,813 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DISPLAY_SSD16XX_H_
#define ZEPHYR_INCLUDE_DISPLAY_SSD16XX_H_
#include <zephyr/drivers/display.h>
/**
* SSD16xx RAM type for direct RAM access
*/
enum ssd16xx_ram {
/** The black RAM buffer. This is typically the buffer used to
* compose the contents that will be d... | /content/code_sandbox/include/zephyr/display/ssd16xx.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 305 |
```objective-c
/*
*
*/
/**
* @file
* @brief Public Monochrome Character Framebuffer API
*/
#ifndef __CFB_H__
#define __CFB_H__
#include <zephyr/device.h>
#include <zephyr/drivers/display.h>
#include <zephyr/sys/iterable_sections.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Public Monochrome Charact... | /content/code_sandbox/include/zephyr/display/cfb.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,648 |
```objective-c
/** @file
* @brief BBC micro:bit display APIs.
*/
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DISPLAY_MB_DISPLAY_H_
#define ZEPHYR_INCLUDE_DISPLAY_MB_DISPLAY_H_
/**
* @brief BBC micro:bit display APIs
* @defgroup mb_display BBC micro:bit display APIs
* @ingroup third_party
* @{
*/
#include <stdio.h>
#in... | /content/code_sandbox/include/zephyr/display/mb_display.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,176 |
```objective-c
/*
*
*/
/**
* @file
* @brief Task watchdog header file
*
* This header file declares prototypes for the task watchdog APIs.
*
* The task watchdog can be used to monitor correct operation of individual
* threads. It can be used together with a hardware watchdog as a fallback.
*/
#ifndef TASK_W... | /content/code_sandbox/include/zephyr/task_wdt/task_wdt.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 725 |
```objective-c
*/
/**
* @file zephyr/dsp/basicmath.h
*
* @brief Public APIs for DSP basicmath
*/
#ifndef INCLUDE_ZEPHYR_DSP_BASICMATH_H_
#define INCLUDE_ZEPHYR_DSP_BASICMATH_H_
#include <zephyr/dsp/dsp.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @ingroup math_dsp
* @defgroup math_dsp_basic Basic Math Fu... | /content/code_sandbox/include/zephyr/dsp/basicmath.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 8,831 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_IPC_SERVICE_IPC_RPMSG_H_
#define ZEPHYR_INCLUDE_IPC_SERVICE_IPC_RPMSG_H_
#include <zephyr/ipc/ipc_service.h>
#include <openamp/open_amp.h>
#include <metal/device.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief IPC service RPMsg API
* @defgroup ipc_service_rpm... | /content/code_sandbox/include/zephyr/ipc/ipc_rpmsg.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 931 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_IPC_SERVICE_IPC_SERVICE_BACKEND_H_
#define ZEPHYR_INCLUDE_IPC_SERVICE_IPC_SERVICE_BACKEND_H_
#include <zephyr/ipc/ipc_service.h>
#include <zephyr/kernel.h>
#include <stdio.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief IPC service backend
* @defgroup ipc_ser... | /content/code_sandbox/include/zephyr/ipc/ipc_service_backend.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,037 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_IPC_SERVICE_IPC_STATIC_VRINGS_H_
#define ZEPHYR_INCLUDE_IPC_SERVICE_IPC_STATIC_VRINGS_H_
#include <zephyr/ipc/ipc_service.h>
#include <openamp/open_amp.h>
#include <metal/device.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief IPC service static VRINGs API
* @... | /content/code_sandbox/include/zephyr/ipc/ipc_static_vrings.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 760 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_IPC_ICMSG_H_
#define ZEPHYR_INCLUDE_IPC_ICMSG_H_
#include <stddef.h>
#include <stdint.h>
#include <zephyr/kernel.h>
#include <zephyr/drivers/mbox.h>
#include <zephyr/ipc/ipc_service.h>
#include <zephyr/ipc/pbuf.h>
#include <zephyr/sys/atomic.h>
#ifdef __cplusplus
exter... | /content/code_sandbox/include/zephyr/ipc/icmsg.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 959 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_IPC_ICMSG_ME_H_
#define ZEPHYR_INCLUDE_IPC_ICMSG_ME_H_
#include <stdint.h>
#include <zephyr/kernel.h>
#include <zephyr/ipc/icmsg.h>
#include <zephyr/ipc/ipc_service.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Multi-endpoint extension of icmsg IPC library
... | /content/code_sandbox/include/zephyr/ipc/icmsg_me.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,412 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_RPMSG_SERVICE_RPMSG_SERVICE_H_
#define ZEPHYR_INCLUDE_RPMSG_SERVICE_RPMSG_SERVICE_H_
#include <openamp/open_amp.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief RPMsg service API
* @defgroup rpmsg_service_api RPMsg service APIs
* @ingroup ipc
* @{
*/
/**
... | /content/code_sandbox/include/zephyr/ipc/rpmsg_service.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 475 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_IPC_PBUF_H_
#define ZEPHYR_INCLUDE_IPC_PBUF_H_
#include <zephyr/cache.h>
#include <zephyr/devicetree.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Packed buffer API
* @defgroup pbuf Packed Buffer API
* @ingroup ipc
* @{
*/
/** @brief Size of packet leng... | /content/code_sandbox/include/zephyr/ipc/pbuf.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,703 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_PM_DEVICE_RUNTIME_H_
#define ZEPHYR_INCLUDE_PM_DEVICE_RUNTIME_H_
#include <zephyr/device.h>
#include <zephyr/kernel.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Device Runtime Power Management API
* @defgroup subsys_pm_device_runtime Device Runtime
* @ing... | /content/code_sandbox/include/zephyr/pm/device_runtime.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,527 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_IPC_IPC_SERVICE_H_
#define ZEPHYR_INCLUDE_IPC_IPC_SERVICE_H_
#include <stdio.h>
#include <zephyr/device.h>
#include <zephyr/kernel.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief IPC
* @defgroup ipc IPC
* @ingroup os_services
* @{
* @}
*/
/**
* @brief I... | /content/code_sandbox/include/zephyr/ipc/ipc_service.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 4,053 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_PM_STATE_H_
#define ZEPHYR_INCLUDE_PM_STATE_H_
#include <zephyr/sys/util.h>
#include <zephyr/devicetree.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief System Power Management States
* @defgroup subsys_pm_states States
* @ingroup subsys_pm
* @{
*/
/**
* ... | /content/code_sandbox/include/zephyr/pm/state.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,854 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_PM_POLICY_H_
#define ZEPHYR_INCLUDE_PM_POLICY_H_
#include <stdbool.h>
#include <stdint.h>
#include <zephyr/device.h>
#include <zephyr/pm/state.h>
#include <zephyr/sys/slist.h>
#include <zephyr/toolchain.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief System P... | /content/code_sandbox/include/zephyr/pm/policy.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,907 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_PM_PM_H_
#define ZEPHYR_INCLUDE_PM_PM_H_
#include <zephyr/types.h>
#include <zephyr/sys/slist.h>
#include <zephyr/pm/state.h>
#include <zephyr/toolchain.h>
#include <errno.h>
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief System and device p... | /content/code_sandbox/include/zephyr/pm/pm.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,224 |
```objective-c
/*
*
*/
#ifndef __KERNEL_OBJ_CORE_H__
#define __KERNEL_OBJ_CORE_H__
#include <zephyr/sys/slist.h>
/**
* @defgroup obj_core_apis Object Core APIs
* @ingroup kernel_apis
* @{
*/
/**
* @brief Convert kernel object pointer into its object core pointer
*/
#define K_OBJ_CORE(kobj) (&((kobj)->obj_c... | /content/code_sandbox/include/zephyr/kernel/obj_core.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,971 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_KERNEL_STATS_H_
#define ZEPHYR_INCLUDE_KERNEL_STATS_H_
#include <stdint.h>
#include <stdbool.h>
/**
* Structure used to track internal statistics about both thread
* and CPU usage.
*/
struct k_cycle_stats {
uint64_t total; /**< total usage in cycles */
#if... | /content/code_sandbox/include/zephyr/kernel/stats.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 197 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_PM_DEVICE_H_
#define ZEPHYR_INCLUDE_PM_DEVICE_H_
#include <zephyr/device.h>
#include <zephyr/kernel.h>
#include <zephyr/sys/atomic.h>
#include <zephyr/sys/iterable_sections.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Device Power Management API
* @defgrou... | /content/code_sandbox/include/zephyr/pm/device.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 5,146 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_KERNEL_SMP_H_
#define ZEPHYR_INCLUDE_KERNEL_SMP_H_
#include <stdbool.h>
typedef void (*smp_init_fn)(void *arg);
/**
* @brief Start a CPU.
*
* This routine is used to manually start the CPU specified
* by @a id. It may be called to restart a CPU that had been
* st... | /content/code_sandbox/include/zephyr/kernel/smp.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 593 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_KERNEL_THREAD_H_
#define ZEPHYR_INCLUDE_KERNEL_THREAD_H_
#ifdef CONFIG_DEMAND_PAGING_THREAD_STATS
#include <zephyr/kernel/mm/demand_paging.h>
#endif /* CONFIG_DEMAND_PAGING_THREAD_STATS */
#include <zephyr/kernel/stats.h>
#include <zephyr/arch/arch_interface.h>
/**
*... | /content/code_sandbox/include/zephyr/kernel/thread.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,446 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_KERNEL_MM_H
#define ZEPHYR_INCLUDE_KERNEL_MM_H
#include <zephyr/sys/util.h>
#include <zephyr/toolchain.h>
#if defined(CONFIG_ARM_MMU) && defined(CONFIG_ARM64)
#include <zephyr/arch/arm64/arm_mem.h>
#endif /* CONFIG_ARM_MMU && CONFIG_ARM64 */
#include <zephyr/kernel/int... | /content/code_sandbox/include/zephyr/kernel/mm.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_KERNEL_MM_DEMAND_PAGING_H
#define ZEPHYR_INCLUDE_KERNEL_MM_DEMAND_PAGING_H
#include <zephyr/kernel/mm.h>
#include <zephyr/sys/util.h>
#include <zephyr/toolchain.h>
/**
* @defgroup demand_paging Demand Paging
* @ingroup kernel_memory_management
*/
/**
* @defgroup ... | /content/code_sandbox/include/zephyr/kernel/mm/demand_paging.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,096 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_KERNEL_INTERNAL_SMP_H_
#define ZEPHYR_INCLUDE_KERNEL_INTERNAL_SMP_H_
void z_sched_ipi(void);
#endif /* ZEPHYR_INCLUDE_KERNEL_INTERNAL_SMP_H_ */
``` | /content/code_sandbox/include/zephyr/kernel/internal/smp.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 49 |
```objective-c
/*
*
*/
/**
* @file
*
* @brief Macros for declaring thread stacks
*/
/**
* @brief Thread Stack APIs
* @ingroup kernel_apis
* @defgroup thread_stack_api Thread Stack APIs
* @{
* @}
*/
#ifndef ZEPHYR_INCLUDE_KERNEL_THREAD_STACK_H
#define ZEPHYR_INCLUDE_KERNEL_THREAD_STACK_H
#if !defined(_AS... | /content/code_sandbox/include/zephyr/kernel/thread_stack.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 5,386 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_THREAD_MONITOR_H_
#define ZEPHYR_INCLUDE_THREAD_MONITOR_H_
#include <zephyr/kernel.h>
#include <zephyr/kernel_structs.h>
/**
* @brief Head element of the thread monitor list.
*
* @details Access the head element of the thread monitor list.
*
*/
#define SYS_THREAD_... | /content/code_sandbox/include/zephyr/debug/object_tracing.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 163 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_KERNEL_INTERNAL_MM_H
#define ZEPHYR_INCLUDE_KERNEL_INTERNAL_MM_H
#include <zephyr/sys/util.h>
#include <zephyr/toolchain.h>
/**
* @defgroup kernel_mm_internal_apis Kernel Memory Management Internal APIs
* @ingroup internal_api
* @{
*/
/**
* @def K_MEM_VIRT_OFFSET... | /content/code_sandbox/include/zephyr/kernel/internal/mm.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,648 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DEBUG_SPARSE_H
#define ZEPHYR_INCLUDE_DEBUG_SPARSE_H
#if defined(__CHECKER__)
#define __sparse_cache __attribute__((address_space(__cache)))
#define __sparse_force __attribute__((force))
#else
#define __sparse_cache
#define __sparse_force
#endif
#endif
``` | /content/code_sandbox/include/zephyr/debug/sparse.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 69 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DEBUG_GDBSTUB_H_
#define ZEPHYR_INCLUDE_DEBUG_GDBSTUB_H_
/* Map from CPU exceptions to GDB */
#define GDB_EXCEPTION_INVALID_INSTRUCTION 4UL
#define GDB_EXCEPTION_BREAKPOINT 5UL
#define GDB_EXCEPTION_MEMORY_FAULT 7UL
#define GDB_EXCEPTION_DIVIDE_ER... | /content/code_sandbox/include/zephyr/debug/gdbstub.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 743 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DEBUG_GCOV_H_
#define ZEPHYR_INCLUDE_DEBUG_GCOV_H_
#ifdef CONFIG_COVERAGE_GCOV
void gcov_coverage_dump(void);
void gcov_static_init(void);
#else
static inline void gcov_coverage_dump(void) { }
static inline void gcov_static_init(void) { }
#endif /* CONFIG_COVERAGE_GCOV... | /content/code_sandbox/include/zephyr/debug/gcov.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 99 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DEBUG_COREDUMP_H_
#define ZEPHYR_INCLUDE_DEBUG_COREDUMP_H_
#include <stddef.h>
#include <stdint.h>
#include <sys/types.h>
/*
* Define COREDUMP_*_STR as public to allow coredump_backend_other to re-use
* these strings if necessary
*/
#define COREDUMP_BEGIN_STR "... | /content/code_sandbox/include/zephyr/debug/coredump.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,178 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DEBUG_MIPI_STP_DECODER_H__
#define ZEPHYR_INCLUDE_DEBUG_MIPI_STP_DECODER_H__
#include <zephyr/kernel.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @defgroup mipi_stp_decoder_apis STP Decoder API
* @ingroup os_services
* @{
*/
/** @brief STPv2 opcodes. */
enum m... | /content/code_sandbox/include/zephyr/debug/mipi_stp_decoder.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 986 |
```objective-c
/*
*
*/
#ifndef __STACK_SIZE_ANALYZER_H
#define __STACK_SIZE_ANALYZER_H
#include <stddef.h>
#include <zephyr/kernel/thread.h>
#ifdef __cplusplus
extern "C" {
#endif
/** @defgroup thread_analyzer Thread analyzer
* @ingroup os_services
* @brief Module for analyzing threads
*
* This module impl... | /content/code_sandbox/include/zephyr/debug/thread_analyzer.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_DEBUG_SYMTAB_H_
#define ZEPHYR_INCLUDE_DEBUG_SYMTAB_H_
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @defgroup symtab_apis Symbol Table API
* @ingroup os_services
* @{
*/
/**
* @cond INTERNAL_HIDDEN
*/
struct z_symtab_entry {
const uint32_t... | /content/code_sandbox/include/zephyr/debug/symtab.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 306 |
```objective-c
/**
* @file debug/stack.h
* Stack usage analysis helpers
*/
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DEBUG_STACK_H_
#define ZEPHYR_INCLUDE_DEBUG_STACK_H_
#include <zephyr/logging/log.h>
#include <zephyr/toolchain.h>
#include <stdbool.h>
static inline void log_stack_usage(const struct k_thread *thread)
{
#... | /content/code_sandbox/include/zephyr/debug/stack.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 276 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DEBUG_CORESIGHT_CS_TRACE_DEFMT_H__
#define ZEPHYR_INCLUDE_DEBUG_CORESIGHT_CS_TRACE_DEFMT_H__
#include <zephyr/kernel.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @defgroup coresight_apis Coresight APIs
* @{
* @}
* @defgroup cs_trace_defmt Coresight Trace Deforma... | /content/code_sandbox/include/zephyr/debug/coresight/cs_trace_defmt.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 368 |
```objective-c
/*
*
*/
/**
* @file
* @brief MS OS 2.0 descriptor definitions
*
*/
#ifndef ZEPHYR_INCLUDE_USB_MSOS_DESC_H
#define ZEPHYR_INCLUDE_USB_MSOS_DESC_H
#include <stdint.h>
enum msosv2_descriptor_index {
MS_OS_20_DESCRIPTOR_INDEX = 0x07,
MS_OS_20_SET_ALT_ENUMERATION = 0x08,
};
enum msosv2_descript... | /content/code_sandbox/include/zephyr/usb/msos_desc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,102 |
```objective-c
/*
* LPCUSB, an USB device driver for LPC microcontrollers
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, t... | /content/code_sandbox/include/zephyr/usb/usb_device.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,752 |
```objective-c
/*
*
*/
/**
* @file
* @brief USB Chapter 9 structures and definitions
*
* This file contains the USB Chapter 9 structures definitions
* and follows, with few exceptions, the USB Specification 2.0.
*/
#include <zephyr/version.h>
#include <zephyr/sys/util.h>
#include <zephyr/math/ilog2.h>
#includ... | /content/code_sandbox/include/zephyr/usb/usb_ch9.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,837 |
```objective-c
/*
*
*/
/**
* @file
* @brief USB support message types and structure
*/
#ifndef ZEPHYR_INCLUDE_USBD_MSG_H_
#define ZEPHYR_INCLUDE_USBD_MSG_H_
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @defgroup usbd_msg_api USB device core API
* @ingroup usb
* @{
*/
/**
* @brief USB... | /content/code_sandbox/include/zephyr/usb/usbd_msg.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 583 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_USB_BOS_H_
#define ZEPHYR_INCLUDE_USB_BOS_H_
#include <stdint.h>
/**
* @brief USB Binary Device Object Store support
* @defgroup usb_bos USB BOS support
* @ingroup usb
* @{
*/
/** Root BOS Descriptor */
struct usb_bos_descriptor {
uint8_t bLength;
uint8_t bDesc... | /content/code_sandbox/include/zephyr/usb/bos.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 375 |
```objective-c
/*
*
*/
/**
* @file
* @brief New experimental USB device stack APIs and structures
*
* This file contains the USB device stack APIs and structures.
*/
#ifndef ZEPHYR_INCLUDE_USBH_H_
#define ZEPHYR_INCLUDE_USBH_H_
#include <stdint.h>
#include <zephyr/device.h>
#include <zephyr/net/buf.h>
#includ... | /content/code_sandbox/include/zephyr/usb/usbh.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 858 |
```objective-c
/*
*
*/
/**
* @file
* @brief USB HID Class device API header
*/
#ifndef ZEPHYR_INCLUDE_USB_HID_CLASS_DEVICE_H_
#define ZEPHYR_INCLUDE_USB_HID_CLASS_DEVICE_H_
#include <zephyr/usb/class/hid.h>
#include <zephyr/usb/usb_ch9.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief usb_hid.h API
* @... | /content/code_sandbox/include/zephyr/usb/class/usb_hid.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 875 |
```objective-c
/*
*
*/
/**
* @file
* @brief USB Human Interface Device (HID) common definitions header
*
* Header follows Device Class Definition for Human Interface Devices (HID)
* Version 1.11 document (HID1_11-1.pdf).
*/
#ifndef ZEPHYR_INCLUDE_USB_CLASS_HID_H_
#define ZEPHYR_INCLUDE_USB_CLASS_HID_H_
#ifde... | /content/code_sandbox/include/zephyr/usb/class/hid.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 5,465 |
```objective-c
/*
*
*/
/**
* @file
* @brief New experimental USB device stack APIs and structures
*
* This file contains the USB device stack APIs and structures.
*/
#ifndef ZEPHYR_INCLUDE_USBD_H_
#define ZEPHYR_INCLUDE_USBD_H_
#include <zephyr/device.h>
#include <zephyr/usb/bos.h>
#include <zephyr/usb/usb_ch... | /content/code_sandbox/include/zephyr/usb/usbd.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 8,467 |
```objective-c
/* usb_cdc.h - USB CDC-ACM and CDC-ECM public header */
/*
*
*/
/**
* @file
* @brief USB Communications Device Class (CDC) public header
*
* Header follows the Class Definitions for
* Communications Devices Specification (CDC120-20101103-track.pdf),
* PSTN Devices Specification (PSTN120.pdf) a... | /content/code_sandbox/include/zephyr/usb/class/usb_cdc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,704 |
```objective-c
/***************************************************************************
*
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyrigh... | /content/code_sandbox/include/zephyr/usb/class/usb_dfu.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 855 |
```objective-c
/*
*
*/
/**
* @file
* @brief USBD Mass Storage Class public header
*
* Header exposes API for registering LUNs.
*/
#include <zephyr/sys/iterable_sections.h>
#ifndef ZEPHYR_INCLUDE_USB_CLASS_USBD_MSC_H_
#define ZEPHYR_INCLUDE_USB_CLASS_USBD_MSC_H_
struct usbd_msc_lun {
const char *disk;
const... | /content/code_sandbox/include/zephyr/usb/class/usbd_msc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 375 |
```objective-c
/*
*
*/
/**
* @file
* @brief USB Audio Class 2 device public header
*
* This header describes only class API interaction with application.
* The audio device itself is modelled with devicetree zephyr,uac2 compatible.
*
* This API is currently considered experimental.
*/
#ifndef ZEPHYR_INCLUDE... | /content/code_sandbox/include/zephyr/usb/class/usbd_uac2.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,258 |
```objective-c
/*
*
*/
/**
* @file
* @brief USBD HID device API header
*/
#ifndef ZEPHYR_INCLUDE_USBD_HID_CLASS_DEVICE_H_
#define ZEPHYR_INCLUDE_USBD_HID_CLASS_DEVICE_H_
#include <stdint.h>
#include <zephyr/device.h>
#include <zephyr/usb/class/hid.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief USBD H... | /content/code_sandbox/include/zephyr/usb/class/usbd_hid.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,731 |
```objective-c
/*
*
*/
/**
* @file
* @brief USB Hub Class device API header
*/
#ifndef ZEPHYR_INCLUDE_USB_CLASS_USB_HUB_H_
#define ZEPHYR_INCLUDE_USB_CLASS_USB_HUB_H_
/** USB Hub Class Feature Selectors defined in spec. Table 11-17 */
#define USB_HCFS_C_HUB_LOCAL_POWER 0x00
#define USB_HCFS_C_HUB_OVER_CURRENT 0... | /content/code_sandbox/include/zephyr/usb/class/usb_hub.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 420 |
```objective-c
/*
* USB audio class core header
*
*
*/
/**
* @file
* @brief USB Audio Device Class public header
*
* Header follows below documentation:
* - USB Device Class Definition for Audio Devices (audio10.pdf)
*
* Additional documentation considered a part of USB Audio v1.0:
* - USB Device Class Def... | /content/code_sandbox/include/zephyr/usb/class/usb_audio.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,722 |
```objective-c
/** @file
* @brief Bluetooth byteorder API
*/
/*
*
*/
#ifndef ZEPHYR_INCLUDE_BLUETOOTH_BYTEORDER_H_
#define ZEPHYR_INCLUDE_BLUETOOTH_BYTEORDER_H_
/**
* @brief Byteorder
* @defgroup bt_byteorder Byteorder
* @ingroup bluetooth
* @{
*/
#ifdef __cplusplus
extern "C" {
#endif
/** @brief Encode... | /content/code_sandbox/include/zephyr/bluetooth/byteorder.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,512 |
```objective-c
/** @file
* @brief Generic Attribute Profile handling.
*/
/*
*
*/
#ifndef ZEPHYR_INCLUDE_BLUETOOTH_GATT_H_
#define ZEPHYR_INCLUDE_BLUETOOTH_GATT_H_
/**
* @brief Generic Attribute Profile (GATT)
* @defgroup bt_gatt Generic Attribute Profile (GATT)
* @ingroup bluetooth
* @{
*/
#include <stdint... | /content/code_sandbox/include/zephyr/bluetooth/gatt.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 18,299 |
```objective-c
/** @file
* @brief Bluetooth Mesh Profile APIs.
*/
/*
*
*/
#ifndef ZEPHYR_INCLUDE_BLUETOOTH_MESH_H_
#define ZEPHYR_INCLUDE_BLUETOOTH_MESH_H_
#include <stddef.h>
#include <zephyr/types.h>
#include <zephyr/net/buf.h>
#include <zephyr/bluetooth/mesh/keys.h>
#include <zephyr/bluetooth/mesh/msg.h>
#i... | /content/code_sandbox/include/zephyr/bluetooth/mesh.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 569 |
```objective-c
/** @file
* @brief Bluetooth connection handling
*/
/*
*
*/
#ifndef ZEPHYR_INCLUDE_BLUETOOTH_CONN_H_
#define ZEPHYR_INCLUDE_BLUETOOTH_CONN_H_
/**
* @brief Connection management
* @defgroup bt_conn Connection management
* @ingroup bluetooth
* @{
*/
#include <stdbool.h>
#include <stdint.h>
#i... | /content/code_sandbox/include/zephyr/bluetooth/conn.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 16,444 |
```objective-c
/* hci.h - Bluetooth Host Control Interface definitions */
/*
*
*/
#ifndef ZEPHYR_INCLUDE_BLUETOOTH_HCI_H_
#define ZEPHYR_INCLUDE_BLUETOOTH_HCI_H_
#include <stdbool.h>
#include <stdint.h>
#include <zephyr/net/buf.h>
#include <zephyr/bluetooth/addr.h>
#include <zephyr/bluetooth/conn.h>
#include <zeph... | /content/code_sandbox/include/zephyr/bluetooth/hci.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,745 |
```objective-c
/**
* @file
* @brief Bluetooth ISO handling
*/
/*
*
*/
#ifndef ZEPHYR_INCLUDE_BLUETOOTH_ISO_H_
#define ZEPHYR_INCLUDE_BLUETOOTH_ISO_H_
/**
* @brief Isochronous channels (ISO)
* @defgroup bt_iso Isochronous channels (ISO)
*
* @since 2.3
* @version 0.8.0
*
* @ingroup bluetooth
* @{
*/
#inc... | /content/code_sandbox/include/zephyr/bluetooth/iso.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 8,588 |
```objective-c
/** @file
* @brief Bluetooth Generic Access Profile defines and Assigned Numbers.
*/
/*
*
*/
#ifndef ZEPHYR_INCLUDE_BLUETOOTH_GAP_H_
#define ZEPHYR_INCLUDE_BLUETOOTH_GAP_H_
#include <zephyr/sys/util_macro.h>
#include <zephyr/bluetooth/byteorder.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @... | /content/code_sandbox/include/zephyr/bluetooth/gap.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 10,870 |
```objective-c
/** @file
* @brief Bluetooth device address definitions and utilities.
*/
/*
*
*/
#ifndef ZEPHYR_INCLUDE_BLUETOOTH_ADDR_H_
#define ZEPHYR_INCLUDE_BLUETOOTH_ADDR_H_
#include <stdint.h>
#include <string.h>
#include <zephyr/sys/printk.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Bluetoo... | /content/code_sandbox/include/zephyr/bluetooth/addr.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,300 |
```objective-c
/** @file
* @brief Attribute Protocol handling.
*/
/*
*
*/
#ifndef ZEPHYR_INCLUDE_BLUETOOTH_ATT_H_
#define ZEPHYR_INCLUDE_BLUETOOTH_ATT_H_
/**
* @brief Attribute Protocol (ATT)
* @defgroup bt_att Attribute Protocol (ATT)
* @ingroup bluetooth
* @{
*/
#include <zephyr/sys/slist.h>
#include <ze... | /content/code_sandbox/include/zephyr/bluetooth/att.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,554 |
```objective-c
/** @file
* @brief Bluetooth subsystem controller APIs.
*/
/*
*
*/
#ifndef ZEPHYR_INCLUDE_BLUETOOTH_CONTROLLER_H_
#define ZEPHYR_INCLUDE_BLUETOOTH_CONTROLLER_H_
/**
* @brief Bluetooth Controller
* @defgroup bt_ctrl Bluetooth Controller
* @ingroup bluetooth
* @{
*/
#include <stdint.h>
#ifdef... | /content/code_sandbox/include/zephyr/bluetooth/controller.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 153 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_BLUETOOTH_DF_H_
#define ZEPHYR_INCLUDE_BLUETOOTH_DF_H_
#include <stdint.h>
/** Constant Tone Extension (CTE) types. */
enum bt_df_cte_type {
/** Convenience value for purposes where non of CTE types is allowed. */
BT_DF_CTE_TYPE_NONE = 0,
/** Angle of Arrival mode. ... | /content/code_sandbox/include/zephyr/bluetooth/direction.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,142 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.