repo stringlengths 1 152 ⌀ | file stringlengths 14 221 | code stringlengths 501 25k | file_length int64 501 25k | avg_line_length float64 20 99.5 | max_line_length int64 21 134 | extension_type stringclasses 2
values |
|---|---|---|---|---|---|---|
RIOT | RIOT-master/cpu/gd32v/include/vendor/gd32vf103_core.h | /*
* Copyright (C) 2020 Koen Zandberg <koen@bergzand.net>
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License v2.1. See the file LICENSE in the top level directory for more
* details.
*/
/**
* @ingroup cpu_gd32v
* @{
*
* @file
* @brief Extra defin... | 2,194 | 27.141026 | 80 | h |
RIOT | RIOT-master/cpu/fe310/cpu.c | /*
* Copyright (C) 2017, 2019 Ken Rabold, JP Bonn
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_fe310
* @{
*
* @file cpu.c
* @brief Implementatio... | 3,751 | 31.068376 | 94 | c |
RIOT | RIOT-master/cpu/fe310/clock.c | /*
* Copyright (C) 2017, 2019 Ken Rabold, JP Bonn
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_fe310
* @{
*
* @file cpu.c
* @brief Implementatio... | 3,395 | 31.970874 | 80 | c |
RIOT | RIOT-master/cpu/fe310/periph/gpio.c | /*
* Copyright 2017 Ken Rabold
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_fe310
* @{
*
* @file gpio.c
* @brief Low-level GPIO implementation
... | 4,991 | 20.242553 | 77 | c |
RIOT | RIOT-master/cpu/fe310/periph/cpucycle.c | /*
* Copyright 2017 JP Bonn
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_fe310
* @{
*
* @file cpu_cycle.c
* @brief Read CPU cycle counter
*
*... | 813 | 23.666667 | 69 | c |
RIOT | RIOT-master/cpu/fe310/periph/pm.c | /*
* Copyright 2017 Ken Rabold
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_fe310
* @{
*
* @file pm.c
* @brief Implementation of the CPU power m... | 994 | 23.268293 | 75 | c |
RIOT | RIOT-master/cpu/fe310/periph/i2c.c | /*
* Copyright (C) 2019 Inria
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License v2.1. See the file LICENSE in the top level directory for more
* details.
*/
/**
* @ingroup cpu_fe310
* @ingroup drivers_periph_i2c
* @{
*
* @file
* @brief Low-level I... | 7,390 | 24.139456 | 80 | c |
RIOT | RIOT-master/cpu/fe310/periph/uart.c | /*
* Copyright 2017 Ken Rabold
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_fe310
* @{
*
* @file timer.c
* @brief Low-level timer implementation... | 3,873 | 23.675159 | 75 | c |
RIOT | RIOT-master/cpu/fe310/periph/rtt.c | /*
* Copyright 2017 Ken Rabold
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_fe310
* @{
*
* @file rtt.c
* @brief Low-level RTT interface implemen... | 4,669 | 24.380435 | 79 | c |
RIOT | RIOT-master/cpu/fe310/periph/spi.c | /*
* Copyright (C) 2019 Tristan Bruns
* 2019 Inria
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_fe310
* @ingroup drivers_periph_spi
*
* @{
... | 3,442 | 20.929936 | 78 | c |
RIOT | RIOT-master/cpu/fe310/vendor/prci_driver.c | // See LICENSE file for license details
#include <stdlib.h>
#include <unistd.h>
#include "vendor/riscv_csr.h"
#include "vendor/platform.h"
#include "vendor/prci_driver.h"
#define rdmcycle(x) { \
uint32_t lo, hi, hi2; \
__asm__ __volatile__ ("1:\n\t" \
"csrr %0, mcycleh\n\t" ... | 7,341 | 26.29368 | 80 | c |
RIOT | RIOT-master/cpu/fe310/include/clk_conf.h | /*
* Copyright (C) 2019-2020 Inria
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License v2.1. See the file LICENSE in the top level directory for more
* details.
*/
/**
* @ingroup cpu_fe310
* @{
*
* @file
* @brief Clock configuration for the FE310 cpu
*
... | 4,148 | 29.507353 | 104 | h |
RIOT | RIOT-master/cpu/fe310/include/periph_cpu.h | /*
* Copyright (C) 2017 Ken Rabold
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License v2.1. See the file LICENSE in the top level directory for more
* details.
*/
/**
* @ingroup cpu_fe310
* @{
*
* @file
* @brief CPU specific definitions for inte... | 4,222 | 21.704301 | 83 | h |
RIOT | RIOT-master/cpu/fe310/include/vendor/otp.h | // See LICENSE for license details.
#ifndef _SIFIVE_OTP_H
#define _SIFIVE_OTP_H
/* Register offsets */
#define OTP_LOCK 0x00
#define OTP_CK 0x04
#define OTP_OE 0x08
#define OTP_SEL 0x0C
#define OTP_WE 0x10
#define OTP_MR 0x14
#define OTP_MRR 0x18
#def... | 534 | 21.291667 | 35 | h |
RIOT | RIOT-master/cpu/fe310/include/vendor/aon.h | // See LICENSE for license details.
#ifndef _SIFIVE_AON_H
#define _SIFIVE_AON_H
/* Register offsets */
#define AON_WDOGCFG 0x000
#define AON_WDOGCOUNT 0x008
#define AON_WDOGS 0x010
#define AON_WDOGFEED 0x018
#define AON_WDOGKEY 0x01C
#define AON_WDOGCMP 0x020
#define AON_RTCCFG 0x040
#de... | 2,396 | 25.932584 | 42 | h |
RIOT | RIOT-master/cpu/fe310/include/vendor/i2c.h | // See LICENSE for license details.
#ifndef _SIFIVE_I2C_H
#define _SIFIVE_I2C_H
/* Register offsets */
#define I2C_PRESCALE_LO (0x00)
#define I2C_PRESCALE_HI (0x04)
#define I2C_CONTROL (0x08)
#define I2C_DATA (0x0C)
#define I2C_CMD (0x10)
#define I2C_STATUS (0x10)
/* CONTROL register */
#define I2C_CONTRO... | 790 | 22.264706 | 35 | h |
RIOT | RIOT-master/cpu/fe310/include/vendor/uart.h | // See LICENSE for license details.
#ifndef _SIFIVE_UART_H
#define _SIFIVE_UART_H
/* Register offsets */
#define UART_REG_TXFIFO 0x00
#define UART_REG_RXFIFO 0x04
#define UART_REG_TXCTRL 0x08
#define UART_REG_RXCTRL 0x0c
#define UART_REG_IE 0x10
#define UART_REG_IP ... | 821 | 24.6875 | 54 | h |
RIOT | RIOT-master/cpu/fe310/include/vendor/platform.h | // See LICENSE for license details.
#ifndef _SIFIVE_PLATFORM_H
#define _SIFIVE_PLATFORM_H
#include "vendor/aon.h"
#include "vendor/clint.h"
#include "vendor/gpio.h"
#include "vendor/i2c.h"
#include "vendor/otp.h"
#include "vendor/plic.h"
#include "vendor/prci.h"
#include "vendor/pwm.h"
#include "vendor/spi.h"
#incl... | 4,252 | 30.503704 | 79 | h |
RIOT | RIOT-master/cpu/fe310/include/vendor/prci_driver.h | // See LICENSE file for license details
#ifndef _PRCI_DRIVER_H_
#define _PRCI_DRIVER_H_
typedef enum prci_freq_target {
PRCI_FREQ_OVERSHOOT,
PRCI_FREQ_CLOSEST,
PRCI_FREQ_UNDERSHOOT
} PRCI_freq_target;
/* Measure and return the approximate frequency of the
* CPU, as given by measuring the mcycle counter ... | 2,268 | 27.3625 | 80 | h |
RIOT | RIOT-master/cpu/fe310/include/vendor/pwm.h | // See LICENSE for license details.
#ifndef _SIFIVE_PWM_H
#define _SIFIVE_PWM_H
/* Register offsets */
#define PWM_CFG 0x00
#define PWM_COUNT 0x08
#define PWM_S 0x10
#define PWM_CMP0 0x20
#define PWM_CMP1 0x24
#define PWM_CMP2 0x28
#define PWM_CMP3 0x2C
/* Constants */
#define PWM_CFG_SCALE 0x00000... | 1,015 | 25.736842 | 38 | h |
RIOT | RIOT-master/cpu/fe310/include/vendor/prci.h | // See LICENSE for license details.
#ifndef _SIFIVE_PRCI_H
#define _SIFIVE_PRCI_H
/* Register offsets */
#define PRCI_HFROSCCFG (0x0000)
#define PRCI_HFXOSCCFG (0x0004)
#define PRCI_PLLCFG (0x0008)
#define PRCI_PLLDIV (0x000C)
#define PRCI_PROCMONCFG (0x00F0)
/* Fields */
#define ROSC_DIV(x) (((x)... | 1,579 | 26.719298 | 49 | h |
RIOT | RIOT-master/cpu/fe310/include/vendor/spi.h | // See LICENSE for license details.
#ifndef _SIFIVE_SPI_H
#define _SIFIVE_SPI_H
/* Register offsets */
#define SPI_REG_SCKDIV 0x00
#define SPI_REG_SCKMODE 0x04
#define SPI_REG_CSID 0x10
#define SPI_REG_CSDEF 0x14
#define SPI_REG_CSMODE 0x18
#define SPI_REG_DCSSCK ... | 2,175 | 25.864198 | 52 | h |
RIOT | RIOT-master/cpu/fe310/include/vendor/gpio.h | // See LICENSE for license details.
#ifndef _SIFIVE_GPIO_H
#define _SIFIVE_GPIO_H
#define GPIO_INPUT_VAL (0x00)
#define GPIO_INPUT_EN (0x04)
#define GPIO_OUTPUT_EN (0x08)
#define GPIO_OUTPUT_VAL (0x0C)
#define GPIO_PULLUP_EN (0x10)
#define GPIO_DRIVE (0x14)
#define GPIO_RISE_IE (0x18)
#define GPIO_RISE_I... | 643 | 24.76 | 35 | h |
RIOT | RIOT-master/cpu/esp32/esp_ztimer.c | /*
* Copyright (C) 2018 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @{
*
* @file
* @brief ETS timer to ztimer mapper
*
* @aut... | 5,511 | 26.979695 | 85 | c |
RIOT | RIOT-master/cpu/esp32/irq_arch.c | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @{
*
* @file
* @brief Implementation of the kernels irq int... | 5,349 | 28.076087 | 89 | c |
RIOT | RIOT-master/cpu/esp32/startup.c | /*
* Copyright (C) 2018 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @{
*
* @file
* @brief Implementation of the CPU initializat... | 9,239 | 27 | 92 | c |
RIOT | RIOT-master/cpu/esp32/usb_reset.c | /*
* Copyright (C) 2023 Benjamin Valentin
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License v2.1. See the file LICENSE in the top level directory for more
* details.
*/
/**
* @ingroup cpu_esp32
* @{
*
* @file
* @brief Trigger reset to the bootloader st... | 1,961 | 27.434783 | 82 | c |
RIOT | RIOT-master/cpu/esp32/syscalls.c | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @{
*
* @file
* @brief Implementation of required system cal... | 12,807 | 29.350711 | 95 | c |
RIOT | RIOT-master/cpu/esp32/esp-idf-api/gpio.c | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32_esp_idf_api
* @{
*
* @file
* @brief Interface for the ESP-IDF... | 3,463 | 22.889655 | 80 | c |
RIOT | RIOT-master/cpu/esp32/esp-ble-nimble/esp_ble_nimble.c | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32_esp_ble_nimble
* @{
*
* @file
* @brief Implementation of the ... | 6,375 | 26.964912 | 85 | c |
RIOT | RIOT-master/cpu/esp32/esp-idf/esp_idf_support.c | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @{
*
* @file
* @brief Functions required for ESP-IDF compat... | 3,476 | 21.432258 | 78 | c |
RIOT | RIOT-master/cpu/esp32/esp-idf/include/log/esp_log.h | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @{
*
* @file
* @brief Wrapper for source code compatibility... | 3,167 | 30.058824 | 111 | h |
RIOT | RIOT-master/cpu/esp32/stdio_usb_serial_jtag/usb_serial_jtag.c | /*
* Copyright (C) 2023 Benjamin Valentin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @defgroup cpu_esp32_usb_serial_jtag ESP32 USB Serial/JTAG interface
* @ingroup cpu... | 3,610 | 26.356061 | 103 | c |
RIOT | RIOT-master/cpu/esp32/bootloader/sdkconfig.h | /*
* Copyright (C) 2021 iosabi
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup pkg_esp32_sdk
* @{
*
* @file
* @brief RIOT-OS modification of the bootloader SD... | 2,695 | 22.241379 | 79 | h |
RIOT | RIOT-master/cpu/esp32/bootloader/sdkconfig_default_common.h | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @{
*
* @file
* @brief Default SDK configuration for all ESP... | 1,148 | 21.096154 | 72 | h |
RIOT | RIOT-master/cpu/esp32/bootloader/stub.c | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
#define PTHREAD_CANCEL_DISABLE 1
/*
* This is a dummy function to avoid undefined references when li... | 521 | 23.857143 | 70 | c |
RIOT | RIOT-master/cpu/esp32/periph/hwrng.c | /*
* Copyright (C) 2019 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @ingroup drivers_periph_hwrng
* @{
*
* @file
* @brief ... | 1,860 | 27.19697 | 87 | c |
RIOT | RIOT-master/cpu/esp32/periph/gpio_arch_esp32s3.c | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @ingroup drivers_periph_gpio
* @{
*
* @file
* @brief A... | 5,905 | 39.452055 | 108 | c |
RIOT | RIOT-master/cpu/esp32/periph/gpio.c | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @ingroup drivers_periph_gpio
* @{
*
* @file
* @brief G... | 15,094 | 25.297909 | 93 | c |
RIOT | RIOT-master/cpu/esp32/periph/gpio_ll.c | /*
* Copyright (C) 2021 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @ingroup drivers_periph_gpio_ll
* @{
*
* @file
* @brief ... | 5,392 | 26.100503 | 87 | c |
RIOT | RIOT-master/cpu/esp32/periph/cpuid.c | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @ingroup drivers_periph_cpuid
* @{
*
* @file
* @brief ... | 1,117 | 22.787234 | 79 | c |
RIOT | RIOT-master/cpu/esp32/periph/adc_arch_esp32s3.c | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License v2.1. See the file LICENSE in the top level directory for more
* details.
*/
/**
* @ingroup cpu_esp32
* @{
*
* @file
* @brief Architecture-specific ADC/DAC definit... | 5,552 | 42.724409 | 105 | c |
RIOT | RIOT-master/cpu/esp32/periph/pm.c | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @ingroup drivers_periph_pm
* @{
*
* @file
* @brief Imp... | 5,259 | 25.039604 | 90 | c |
RIOT | RIOT-master/cpu/esp32/periph/adc.c | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License v2.1. See the file LICENSE in the top level directory for more
* details.
*/
/**
* @ingroup cpu_esp32
* @ingroup drivers_periph_adc
* @{
*
* @file
* @brief Lo... | 8,950 | 31.667883 | 92 | c |
RIOT | RIOT-master/cpu/esp32/periph/i2c_hw.c | /*
* Copyright (C) 2018 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @ingroup drivers_periph_i2c
* @{
*
* @file
* @brief Low-level ... | 20,745 | 30.528875 | 96 | c |
RIOT | RIOT-master/cpu/esp32/periph/pwm.c | /*
* Copyright (C) 2018 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @ingroup drivers_periph_pwm
* @{
*
* @file
* @brief Lo... | 13,078 | 32.111392 | 92 | c |
RIOT | RIOT-master/cpu/esp32/periph/rtt.c | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @ingroup drivers_periph_rtt
* @{
*
* @file
* @brief Lo... | 7,783 | 26.027778 | 91 | c |
RIOT | RIOT-master/cpu/esp32/periph/spi.c | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @ingroup drivers_periph_spi
* @{
*
* @file
* @brief Lo... | 14,739 | 29.391753 | 106 | c |
RIOT | RIOT-master/cpu/esp32/periph/gpio_arch_esp32s2.c | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @ingroup drivers_periph_gpio
* @{
*
* @file
* @brief A... | 5,751 | 39.507042 | 108 | c |
RIOT | RIOT-master/cpu/esp32/periph/timer.c | /*
* Copyright (C) 2018 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @ingroup drivers_periph_timer
* @{
*
* @file
* @brief ... | 19,867 | 28.831832 | 96 | c |
RIOT | RIOT-master/cpu/esp32/periph/adc_arch_esp32c3.c | /*
* Copyright (C) 2019 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License v2.1. See the file LICENSE in the top level directory for more
* details.
*/
/**
* @ingroup cpu_esp32
* @{
*
* @file
* @brief Architecture-specific ADC/DAC definit... | 2,374 | 30.25 | 89 | c |
RIOT | RIOT-master/cpu/esp32/periph/adc_arch_esp32s2.c | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License v2.1. See the file LICENSE in the top level directory for more
* details.
*/
/**
* @ingroup cpu_esp32
* @{
*
* @file
* @brief Architecture-specific ADC/DAC definit... | 5,482 | 42.864 | 105 | c |
RIOT | RIOT-master/cpu/esp32/periph/gpio_ll_irq.c | /*
* Copyright (C) 2021 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @ingroup drivers_periph_gpio_ll_irq
* @{
*
* @file
* @brief ... | 3,801 | 24.013158 | 75 | c |
RIOT | RIOT-master/cpu/esp32/periph/rtt_hw_rtc.c | /*
* Copyright (C) 2020 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @ingroup drivers_periph_rtt
* @{
*
* @file
* @brief Lo... | 6,133 | 27.933962 | 86 | c |
RIOT | RIOT-master/cpu/esp32/periph/gpio_arch_esp32c3.c | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @ingroup drivers_periph_gpio
* @{
*
* @file
* @brief A... | 3,566 | 36.946809 | 108 | c |
RIOT | RIOT-master/cpu/esp32/periph/adc_arch_esp32.c | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License v2.1. See the file LICENSE in the top level directory for more
* details.
*/
/**
* @ingroup cpu_esp32
* @{
*
* @file
* @brief Architecture-specific ADC/DAC definit... | 4,718 | 40.394737 | 102 | c |
RIOT | RIOT-master/cpu/esp32/periph/flashpage.c | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @{
*
* @file
* @brief Implementation of the peripheral flas... | 5,113 | 30.567901 | 95 | c |
RIOT | RIOT-master/cpu/esp32/periph/dac.c | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License v2.1. See the file LICENSE in the top level directory for more
* details.
*/
/**
* @ingroup cpu_esp32
* @ingroup drivers_periph_adc
* @{
*
* @file
* @brief Lo... | 2,661 | 23.2 | 80 | c |
RIOT | RIOT-master/cpu/esp32/periph/rtt_hw_sys.c | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @ingroup drivers_periph_rtt
* @{
*
* @file
* @brief Lo... | 6,954 | 28.978448 | 92 | c |
RIOT | RIOT-master/cpu/esp32/periph/gpio_arch_esp32.c | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @ingroup drivers_periph_gpio
* @{
*
* @file
* @brief A... | 5,177 | 38.830769 | 105 | c |
RIOT | RIOT-master/cpu/esp32/esp-eth/esp_eth_netdev.h | /*
* Copyright (C) 2018 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32_esp_eth
* @{
*
* @file
* @brief Netdev interface for the ESP3... | 1,499 | 22.4375 | 82 | h |
RIOT | RIOT-master/cpu/esp32/esp-eth/esp_eth_netdev.c | /*
* Copyright (C) 2018 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32_esp_eth
* @{
*
* @file
* @brief Netdev interface for the ESP3... | 14,340 | 30.041126 | 88 | c |
RIOT | RIOT-master/cpu/esp32/include/periph_cpu_esp32s3.h | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @{
*
* @file
* @brief ESP32-S3 specific peripheral configur... | 10,049 | 35.545455 | 110 | h |
RIOT | RIOT-master/cpu/esp32/include/sdkconfig.h | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @{
*
* @file
* @brief SDK configuration used by ESP-IDF for... | 8,558 | 31.543726 | 99 | h |
RIOT | RIOT-master/cpu/esp32/include/cpu_conf_esp32s3.h | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @ingroup config
* @brief Compile-time configuration macro... | 894 | 20.309524 | 69 | h |
RIOT | RIOT-master/cpu/esp32/include/irq_arch.h | /*
* Copyright (C) 2018 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @{
*
* @file
* @brief Implementation of the kernels irq int... | 2,174 | 31.462687 | 82 | h |
RIOT | RIOT-master/cpu/esp32/include/cpu_conf.h | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @defgroup cpu_esp32_conf ESP32 compile configurations
* @ingroup cpu_esp32
* @ingroup... | 3,232 | 24.864 | 94 | h |
RIOT | RIOT-master/cpu/esp32/include/periph_cpu_esp32s2.h | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @{
*
* @file
* @brief ESP32-S2 specific peripheral configur... | 9,977 | 35.283636 | 110 | h |
RIOT | RIOT-master/cpu/esp32/include/sdkconfig_esp32c3.h | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @{
*
* @file
* @brief SDK configuration used by the ESP-IDF... | 4,781 | 31.530612 | 87 | h |
RIOT | RIOT-master/cpu/esp32/include/periph_cpu_esp32c3.h | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @{
*
* @file
* @brief ESP32-C3 specific peripheral configur... | 5,893 | 32.488636 | 110 | h |
RIOT | RIOT-master/cpu/esp32/include/sdkconfig_esp32s2.h | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @{
*
* @file
* @brief SDK configuration used by the ESP-IDF... | 4,188 | 26.926667 | 87 | h |
RIOT | RIOT-master/cpu/esp32/include/cpu_conf_esp32c3.h | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @ingroup config
* @brief Compile-time configuration macro... | 894 | 20.309524 | 69 | h |
RIOT | RIOT-master/cpu/esp32/include/adc_arch.h | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @{
*
* @file
* @brief Architecture specific ADC definitions... | 4,089 | 31.72 | 86 | h |
RIOT | RIOT-master/cpu/esp32/include/rtt_arch.h | /*
* Copyright (C) 2020 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @{
*
* @file
* @brief Architecture specific RTT functions f... | 3,530 | 27.248 | 80 | h |
RIOT | RIOT-master/cpu/esp32/include/sdkconfig_esp32s3.h | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @{
*
* @file
* @brief SDK configuration used by the ESP-IDF... | 6,569 | 32.692308 | 87 | h |
RIOT | RIOT-master/cpu/esp32/include/periph_cpu_esp32.h | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @{
*
* @file
* @brief ESP32 specific peripheral configurati... | 9,049 | 35.788618 | 107 | h |
RIOT | RIOT-master/cpu/esp32/include/can_esp.h | /*
* Copyright (C) 2019 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @defgroup cpu_esp32_esp_can ESP32 CAN controller
* @ingroup cpu_esp32
* @ingroup ... | 3,630 | 32.311927 | 88 | h |
RIOT | RIOT-master/cpu/esp32/include/adc_arch_private.h | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @{
*
* @file
* @brief Architecture specific internal ADC fu... | 1,551 | 22.515152 | 70 | h |
RIOT | RIOT-master/cpu/esp32/include/sdkconfig_esp32.h | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @{
*
* @file
* @brief SDK configuration used by the ESP-IDF... | 7,797 | 34.285068 | 98 | h |
RIOT | RIOT-master/cpu/esp32/include/gpio_ll_arch.h | /*
* Copyright (C) 2021 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @ingroup drivers_periph_gpio_ll
* @{
*
* @file
* @brief ... | 3,679 | 26.462687 | 87 | h |
RIOT | RIOT-master/cpu/esp32/include/cpu_conf_esp32s2.h | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @ingroup config
* @brief Compile-time configuration macro... | 894 | 20.309524 | 69 | h |
RIOT | RIOT-master/cpu/esp32/include/esp_idf_api/gpio.h | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32_esp_idf_api
* @{
*
* @file
* @brief Interface for the ESP-IDF... | 1,923 | 27.716418 | 75 | h |
RIOT | RIOT-master/cpu/esp32/include/sys/features.h | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @{
*
* @file
* @brief Wrapper for sys/features.h
*
* @aut... | 1,223 | 23 | 79 | h |
RIOT | RIOT-master/cpu/esp32/include/sys/lock.h | /*
* Copyright (C) 2022 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_esp32
* @{
*
* @file
* @brief Wrapper for sys/lock.h
*
* @author ... | 1,354 | 20.171875 | 76 | h |
RIOT | RIOT-master/cpu/cc2538/cpu.c | /*
* Copyright (C) 2014 Loci Controls Inc.
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_cc2538
* @{
*
* @file
* @brief Implementation of the CPU initia... | 3,156 | 30.57 | 80 | c |
RIOT | RIOT-master/cpu/cc2538/vectors.c | /*
* Copyright (C) 2014-2015 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_cc2538
* @{
*
* @file
* @brief Interrupt vector defi... | 5,131 | 34.888112 | 115 | c |
RIOT | RIOT-master/cpu/cc2538/periph/hwrng.c | /*
* Copyright (C) 2014 Loci Controls Inc.
* 2016 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_cc2538
* @ingroup dri... | 2,541 | 24.938776 | 79 | c |
RIOT | RIOT-master/cpu/cc2538/periph/gpio.c | /*
* Copyright (C) 2014 Loci Controls Inc.
* 2016 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_cc2538
* @ingroup dri... | 6,954 | 22.656463 | 95 | c |
RIOT | RIOT-master/cpu/cc2538/periph/pm.c | /*
* Copyright (C) 2020 ML!PA Consulting GmbH
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_cc2538
* @ingroup drivers_periph_pm
* @{
*
* @file
* @brief ... | 2,316 | 27.256098 | 85 | c |
RIOT | RIOT-master/cpu/cc2538/periph/adc.c | /*
* Copyright (C) 2017 HAW Hamburg
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_cc2538
* @ingroup drivers_periph_adc
* @{
*
* @file
* @brief Low... | 3,531 | 29.188034 | 79 | c |
RIOT | RIOT-master/cpu/cc2538/periph/i2c.c | /*
* Copyright (C) 2015 Loci Controls Inc.
* 2017 HAW Hamburg
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_cc2538
* @ingroup drivers_periph_i... | 9,174 | 24.70028 | 74 | c |
RIOT | RIOT-master/cpu/cc2538/periph/uart.c | /*
* Copyright (C) 2014 Loci Controls Inc.
* 2017 HAW Hamburg
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_cc2538
* @ingroup drivers_periph_u... | 11,527 | 30.326087 | 85 | c |
RIOT | RIOT-master/cpu/cc2538/periph/rtt.c | /*
* Copyright (C) 2019 Inria
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_cc2538
* @ingroup drivers_periph_rtt
* @{
*
* @file
* @brief RTT implem... | 4,941 | 21.361991 | 77 | c |
RIOT | RIOT-master/cpu/cc2538/periph/spi.c | /*
* Copyright (C) 2015 Loci Controls Inc.
* 2016 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_cc2538
* @ingroup dri... | 4,596 | 26.692771 | 89 | c |
RIOT | RIOT-master/cpu/cc2538/periph/wdt.c | /*
* Copyright (C) 2017 Technische Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_cc2538
* @ingroup drivers_periph_wdt
* @{
*
* @file
*... | 2,362 | 24.138298 | 90 | c |
RIOT | RIOT-master/cpu/cc2538/periph/timer.c | /*
* Copyright (C) 2014 Loci Controls Inc.
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_cc2538
* @ingroup drivers_periph_timer
* @{
*
* @file
* @brief ... | 10,982 | 25.026066 | 80 | c |
RIOT | RIOT-master/cpu/cc2538/periph/flashpage.c | /*
* Copyright (C) 2020 Inria
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup cpu_cc2538
* @ingroup drivers_periph_flashpage
* @{
*
* @file
* @brief Impl... | 3,283 | 28.854545 | 80 | c |
RIOT | RIOT-master/cpu/cc2538/include/cc2538_soc_adc.h | /*
* Copyright (C) 2014 Loci Controls Inc.
* 2018 HAW Hamburg
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @defgroup cpu_cc2538_adc CC2538 ADC
* @ingroup ... | 1,475 | 26.849057 | 88 | h |
RIOT | RIOT-master/cpu/cc2538/include/cc2538_rf_internal.h | /*
* Copyright (C) 2016 MUTEX NZ Ltd.
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License v2.1. See the file LICENSE in the top level directory for more
* details.
*
*/
/**
* @ingroup cpu_cc2538
* @{
*
* @file
* @brief Internal interfaces for the cc2538... | 2,707 | 24.790476 | 80 | h |
RIOT | RIOT-master/cpu/cc2538/include/cc2538_uart.h | /*
* Copyright (C) 2014 Loci Controls Inc.
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @defgroup cpu_cc2538_uart CC2538 UART
* @ingroup cpu_cc2538_regs
* @{
*
... | 8,473 | 43.135417 | 95 | h |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.