repo_name
stringlengths
6
97
path
stringlengths
3
341
text
stringlengths
8
1.02M
ryankurte/efm32-base
hardware/kit/common/bsp/thunderboard/board_4160.c
/***************************************************************************//** * @file * @brief BOARD module source file ******************************************************************************* * # License * <b>Copyright 2018 Silicon Laboratories Inc. www.silabs.com</b> **********************************...
ryankurte/efm32-base
emdrv/ustimer/inc/ustimer.h
<reponame>ryankurte/efm32-base /***************************************************************************//** * @file * @brief Microsecond delay function API definition. ******************************************************************************* * # License * <b>Copyright 2018 Silicon Laboratories Inc. www.s...
ryankurte/efm32-base
hardware/kit/common/drivers/msdd.h
<gh_stars>10-100 /***************************************************************************//** * @file * @brief Mass Storage class Device (MSD) driver. ******************************************************************************* * # License * <b>Copyright 2018 Silicon Laboratories Inc. www.silabs.com</b> **...
ryankurte/efm32-base
hardware/kit/common/drivers/i2ccaptouch.h
<reponame>ryankurte/efm32-base /***************************************************************************//** * @file * @brief I2C touch support on Touch Display ******************************************************************************* * # License * <b>Copyright 2018 Silicon Laboratories Inc. www.silabs.co...
ryankurte/efm32-base
hardware/kit/common/drivers/displayls013b7dh03.h
/***************************************************************************//** * @file * @brief Configuration for the display driver for the Sharp Memory LCD * LS013B7DH03 ******************************************************************************* * # License * <b>Copyright 2018 Silicon Laboratories ...
ryankurte/efm32-base
hardware/kit/SLSTK3701A_EFM32GG11/config/displayconfig.h
<reponame>ryankurte/efm32-base /***************************************************************************//** * @file * @brief Configuration file for DISPLAY device driver interface. ******************************************************************************* * # License * <b>Copyright 2018 Silicon Laboratori...
ryankurte/efm32-base
hardware/kit/common/drivers/tftdirect.c
/***************************************************************************//** * @file * @brief SSD2119 TFT initialization and setup for Direct Drive mode ******************************************************************************* * # License * <b>Copyright 2018 Silicon Laboratories Inc. www.silabs.com</b> ...
ryankurte/efm32-base
radio/rail_lib/plugin/coexistence/protocol/ble/coexistence-ble.c
<gh_stars>10-100 /***************************************************************************//** * @file * @brief Radio coexistence BLE utilities ******************************************************************************* * # License * <b>Copyright 2018 Silicon Laboratories Inc. www.silabs.com</b> **********...
ryankurte/efm32-base
hardware/kit/EFR32MG21_BRD4176A/config/hal-config-board.h
#ifndef HAL_CONFIG_BOARD_H #define HAL_CONFIG_BOARD_H #include "em_device.h" #include "hal-config-types.h" // This file is auto-generated by Hardware Configurator in Simplicity Studio. // Any content between $[ and ]$ will be replaced whenever the file is regenerated. // Content outside these regions will be preserve...
ryankurte/efm32-base
hardware/kit/common/drivers/si114x_algorithm.h
<gh_stars>10-100 /***************************************************************************//** * @file * @brief Swipe algorithm for Si114x ******************************************************************************* * # License * <b>Copyright 2018 Silicon Laboratories Inc. www.silabs.com</b> ***************...
veyroter/libadsc
include/adsc_base.h
#pragma once /** * File: adsc_base.h * Created by: kristen * Desc: Base typedefs, macro and functions for ADSC library. */ #include <math.h> #include <stddef.h> #define ads_max(a, b) ((a) > (b) ? (a) : (b)) #define ads_min(a, b) ((a) < (b) ? (a) : (b)) #define ads_auto_cleanup(x) __attribute__((clea...
veyroter/libadsc
include/adsc_internal.h
<gh_stars>0 #pragma once #include <adsc_alloc.h> #include <assert.h> /** * File: adsc_internal.h * Created by: kristen * Desc: internal header */ #define ads_malloc(size) malloc(size) #define ads_realloc(ptr, size) realloc(ptr, size) #define ads_free(ptr) free(ptr) #define ads_alloc_struct(var, type)...
veyroter/libadsc
include/adsc.h
<filename>include/adsc.h #pragma once /** * File: adsc.h * Created by: kristen * Desc: main interface for using ads library */ #include <adsc_alloc.h> #include <adsc_func.h> #include <adsc_lists.h> #include <adsc_vec.h>
veyroter/libadsc
include/adsc_func.h
#pragma once /** * File: adsc.h * Created by: kristen * Desc: functional macro */ #define ads_lambda(l_ret_type, l_body) \ ({ \ l_ret_type l_anonymous_functions_name l_body; ...
veyroter/libadsc
tests/main.c
<gh_stars>0 #include "test_suite.h" #include <adsc.h> // lists.c enum test_result_t list_create(); enum test_result_t list_push_top_1(); enum test_result_t list_push_top_2(); enum test_result_t list_for_value(); enum test_result_t list_static(); enum test_result_t list_for_each(); enum test_result_t list_contains_null...
veyroter/libadsc
include/adsc_lists.h
<gh_stars>0 #pragma once #include <adsc_base.h> #include <stdbool.h> #include <stdlib.h> /** * File: adsc_lists.h * Created by: kristen * Desc: interface for linked lists */ // -------------------------------- list -------------------------------- /** * \defgroup List * @{ */ /** @brief Linked lis...
veyroter/libadsc
include/adsc_alloc.h
<reponame>veyroter/libadsc #pragma once #include <adsc_base.h> #include <stddef.h> /** * File: adsc_lists.h * Created by: kristen * Desc: interface for allocators */ // ----------------------------- alloc pool ----------------------------- /** * \defgroup AllocPool * @{ */ typedef struct { void*...
veyroter/libadsc
tests/test_suite.c
<filename>tests/test_suite.c<gh_stars>0 #include "test_suite.h" #include <stdarg.h> #include <stdio.h> void test_run_all(const char* st, ...) { printf("--- tests run all ---\n"); const char* test_desc = st; test_t test; va_list args; va_start(args, st); test = va_arg(args, test_t); for (int i = 0;; i++)...
veyroter/libadsc
tests/alloc.c
<filename>tests/alloc.c #include "test_suite.h" #include <adsc.h> enum test_result_t alloc_pool_create() { ads_alloc_pool_t* pool = ads_alloc_pool_create(sizeof(int), 8); test_assert(pool != NULL); ads_alloc_pool_clear(pool); test_assert(pool != NULL); ads_alloc_pool_destroy(&pool); test_assert(pool == N...
veyroter/libadsc
source/alloc.c
#include <adsc.h> #include <adsc_internal.h> /** * File: allocs.c * Created by: kristen * Desc: allocators data type implimentation */ // ----------------------- private funcs #define pool_init_blocks(start_block, free_objects_count, object_size) \ { ...
veyroter/libadsc
tests/test_suite.h
#pragma once #include <stdio.h> /** * File: test_suite.h * Created by: kristen * Desc: tests helper */ enum test_result_t { TEST_RESULT_OK, TEST_RESULT_FAILED, }; #define test_add(name) #name, name #define test_assert(cond) \ if (!(cond)) ...
veyroter/libadsc
source/vec.c
<reponame>veyroter/libadsc #include <adsc_internal.h> #include <adsc_vec.h> ads_vec_t* ads_vec_create_ref(size_t val_size, size_t size) { ads_alloc_struct(vec, ads_vec_t); ads_assert(vec); ads_vec_init(vec, val_size, size); return vec; } void ads_vec_init(ads_vec_t* vec, size_t val_size, size_t size) { ads_...
veyroter/libadsc
source/algo.c
<reponame>veyroter/libadsc #include <adsc_base.h> size_t ads_fast_close_2(size_t i) { if (i < 8) return 8; int k = 2; while ((i >>= 1) > 0) k <<= 1; return k; }
veyroter/libadsc
source/lists.c
<gh_stars>0 /** * File: lists.c * Created by: kristen * Desc: linked lists data type implimentation */ #include <adsc.h> #include <adsc_internal.h> #include <string.h> // -------------------------------- list -------------------------------- ads_list_t* ads_list_create_ref(size_t val_size) { ads_al...
veyroter/libadsc
include/adsc_vec.h
#pragma once #include <adsc_base.h> #include <stdbool.h> #include <stdlib.h> typedef struct { char* memory; size_t size; size_t capacity; size_t val_size; } ads_vec_t; ads_vec_t* ads_vec_create_ref(size_t val_size, size_t size); void ads_vec_init(ads_vec_t* vec, size_t val_size, size_t size); void ads_vec_r...
veyroter/libadsc
tests/lists.c
#include "test_suite.h" #include <adsc.h> enum test_result_t list_create() { ads_list_t* lst = ads_list_create(int); test_assert(lst != NULL); ads_list_destroy(&lst); test_assert(lst == NULL); return TEST_RESULT_OK; } enum test_result_t list_push_top_1() { auto_t lst = ads_list_create(int*); int* ptr ...
veyroter/libadsc
tests/vec.c
#include "test_suite.h" #include <adsc.h> enum test_result_t vec_create() { auto_t v = ads_vec_create(int); test_assert(v != NULL); test_assert(v->size == 0); test_assert(v->capacity == 8); ads_vec_destroy(&v); test_assert(v == NULL); v = ads_vec_create(int, 3); test_assert(v != NULL); test_assert(...
HugoPeters/crunch
crnlib/crn_helpers.h
<filename>crnlib/crn_helpers.h // File: crn_helpers.h // See Copyright Notice and license at the end of inc/crnlib.h #pragma once #define CRNLIB_NO_COPY_OR_ASSIGNMENT_OP(c) c(const c&); c& operator= (const c&); #define CRNLIB_NO_HEAP_ALLOC() private: static void* operator new(size_t); static void* operator new[](...
HugoPeters/crunch
crnlib/crn_comp.h
// File: crn_comp.h // See Copyright Notice and license at the end of inc/crnlib.h #pragma once #define CRND_HEADER_FILE_ONLY #include "../inc/crn_decomp.h" #undef CRND_HEADER_FILE_ONLY #include "../inc/crnlib.h" #include "crn_symbol_codec.h" #include "crn_dxt_hc.h" #include "crn_image.h" #include "crn_im...
HugoPeters/crunch
crnlib/crn_image.h
<reponame>HugoPeters/crunch<filename>crnlib/crn_image.h // File: crn_image.h // See Copyright Notice and license at the end of inc/crnlib.h #pragma once #include "crn_color.h" #include "crn_vec.h" #include "crn_pixel_format.h" #include "crn_rect.h" namespace crnlib { template<typename color_type> clas...
HugoPeters/crunch
crnlib/crn_hash_map.h
// File: crn_hash_map.h // See Copyright Notice and license at the end of inc/crnlib.h // // Notes: // stl-like hash map/hash set, with predictable performance across platforms/compilers/C run times/etc. // Hash function ref: http://www.brpreiss.com/books/opus4/html/page215.html // Compared for performance agains...
HugoPeters/crunch
crnlib/crn_rand.h
// File: crn_rand.h // See Copyright Notice and license at the end of inc/crnlib.h #pragma once namespace crnlib { class kiss99 { public: kiss99(); void seed(uint32 i, uint32 j, uint32 k); inline uint32 next(); private: uint32 x; ...
HugoPeters/crunch
inc/dds_defs.h
<gh_stars>100-1000 // File: dds_defs.h // DX9 .DDS file header definitions. #ifndef CRNLIB_DDS_DEFS_H #define CRNLIB_DDS_DEFS_H #include "crnlib.h" #define CRNLIB_PIXEL_FMT_FOURCC(a, b, c, d) ((a) | ((b) << 8U) | ((c) << 16U) | ((d) << 24U)) namespace crnlib { enum pixel_format { PIXEL_FMT_I...
HugoPeters/crunch
crnlib/crn_dds_comp.h
// File: crn_comp.h // See Copyright Notice and license at the end of inc/crnlib.h #pragma once #include "crn_comp.h" #include "crn_mipmapped_texture.h" #include "crn_texture_comp.h" namespace crnlib { class dds_comp : public itexture_comp { CRNLIB_NO_COPY_OR_ASSIGNMENT_OP(dds_comp); publi...
HugoPeters/crunch
crnlib/crn_mipmapped_texture.h
// File: crn_mipmapped_texture.h // See Copyright Notice and license at the end of inc/crnlib.h #pragma once #include "crn_dxt_image.h" #include "../inc/dds_defs.h" #include "crn_pixel_format.h" #include "crn_image.h" #include "crn_resampler.h" #include "crn_data_stream_serializer.h" #include "crn_qdxt1.h" #i...
HugoPeters/crunch
crnlib/crn_sparse_bit_array.h
// File: crn_sparse_bit_array.h // See Copyright Notice and license at the end of inc/crnlib.h #pragma once namespace crnlib { class sparse_bit_array { public: sparse_bit_array(); sparse_bit_array(uint size); sparse_bit_array(sparse_bit_array& other); ~sparse_bit_array(); ...
HugoPeters/crunch
crnlib/crn_qdxt1.h
<filename>crnlib/crn_qdxt1.h // File: crn_qdxt1.h // See Copyright Notice and license at the end of inc/crnlib.h #pragma once #include "crn_dxt.h" #include "crn_hash_map.h" #include "crn_clusterizer.h" #include "crn_hash.h" #include "crn_threaded_clusterizer.h" #include "crn_dxt_image.h" namespace crnlib { ...
HugoPeters/crunch
crunch/corpus_test.h
<reponame>HugoPeters/crunch // File: corpus_test.h // See Copyright Notice and license at the end of inc/crnlib.h #pragma once #include "crn_command_line_params.h" #include "crn_image_utils.h" namespace crnlib { class corpus_tester { public: corpus_tester(); bool test(const char* pCm...
HugoPeters/crunch
crnlib/crn_strutils.h
<reponame>HugoPeters/crunch<filename>crnlib/crn_strutils.h // File: crn_strutils.h // See Copyright Notice and license at the end of inc/crnlib.h #pragma once #ifdef WIN32 #define CRNLIB_PATH_SEPERATOR_CHAR '\\' #else #define CRNLIB_PATH_SEPERATOR_CHAR '/' #endif namespace crnlib { char* crn_strd...
HugoPeters/crunch
crnlib/crn_console.h
<filename>crnlib/crn_console.h // File: crn_console.h // See Copyright Notice and license at the end of inc/crnlib.h #pragma once #include "crn_dynamic_string.h" #ifdef WIN32 #include <tchar.h> #include <conio.h> #endif namespace crnlib { class dynamic_string; class data_stream; class mutex; ...
HugoPeters/crunch
crnlib/crn_winhdr.h
#pragma once #ifndef WIN32 #error Should not get here #endif #ifndef _WIN32_WINNT #define _WIN32_WINNT 0x500 #endif #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #ifndef NOMINMAX #define NOMINMAX #endif #include "windows.h"
HugoPeters/crunch
crnlib/crn_value.h
// File: crn_value.h // See Copyright Notice and license at the end of inc/crnlib.h #pragma once #include "crn_strutils.h" #include "crn_dynamic_string.h" #include "crn_vec.h" namespace crnlib { enum value_data_type { cDTInvalid, cDTString, cDTBool, cDTInt, cDTUInt, ...
HugoPeters/crunch
crnlib/crn_checksum.h
// File: crn_checksum.h #pragma once namespace crnlib { const uint cInitAdler32 = 1U; uint adler32(const void* pBuf, size_t buflen, uint adler32 = cInitAdler32); // crc16() intended for small buffers - doesn't use an acceleration table. const uint cInitCRC16 = 0; uint16 crc16(const void* p...
HugoPeters/crunch
crnlib/lzma_MyVersion.h
<filename>crnlib/lzma_MyVersion.h #define MY_VER_MAJOR 4 #define MY_VER_MINOR 63 #define MY_VER_BUILD 0 #define MY_VERSION "4.63" #define MY_7ZIP_VERSION "7-Zip 4.63" #define MY_DATE "2008-12-31" #define MY_COPYRIGHT "Copyright (c) 1999-2008 <NAME>" #define MY_VERSION_COPYRIGHT_DATE MY_VERSION " " MY_COPYRIGHT ...
HugoPeters/crunch
crnlib/crn_tree_clusterizer.h
// File: crn_tree_clusterizer.h // See Copyright Notice and license at the end of inc/crnlib.h #pragma once #include "crn_matrix.h" namespace crnlib { template<typename VectorType> class tree_clusterizer { public: tree_clusterizer() : m_overall_variance(0.0f) { } ...
HugoPeters/crunch
crnlib/crn_dxt1.h
// File: crn_dxt1.h // See Copyright Notice and license at the end of inc/crnlib.h #pragma once #include "crn_dxt.h" namespace crnlib { struct dxt1_solution_coordinates { inline dxt1_solution_coordinates() : m_low_color(0), m_high_color(0){ } inline dxt1_solution_coordinates(uint16 l, uin...
HugoPeters/crunch
crnlib/crn_dxt5a.h
<filename>crnlib/crn_dxt5a.h // File: crn_dxt5a.h // See Copyright Notice and license at the end of inc/crnlib.h #pragma once #include "crn_dxt.h" namespace crnlib { class dxt5_endpoint_optimizer { public: dxt5_endpoint_optimizer(); struct params { params() : ...
HugoPeters/crunch
crnlib/crn_packed_uint.h
<gh_stars>100-1000 // File: crn_packed_uint // See Copyright Notice and license at the end of inc/crnlib.h #pragma once namespace crnlib { template<unsigned int N> struct packed_uint { inline packed_uint() { } inline packed_uint(unsigned int val) { *this = val; } inline packed...
HugoPeters/crunch
crnlib/crn_threading.h
<reponame>HugoPeters/crunch<filename>crnlib/crn_threading.h // File: crn_threading.h // See Copyright Notice and license at the end of inc/crnlib.h #if CRNLIB_USE_WIN32_API #include "crn_threading_win32.h" #elif CRNLIB_USE_PTHREADS_API #include "crn_threading_pthreads.h" #else #include "crn_threading_...
dibben/cppunit-utilities
GccOutputter.h
<filename>GccOutputter.h /*********************************************************** * * Header file GccOutputter.h for class GccOutputter * (c)Copyright 2015, <NAME> * **********************************************************/ #ifndef GCC_OUTPUTTER_H #define GCC_OUTPUTTER_H #include <cppunit/Portability.h> #i...
dibben/cppunit-utilities
MSVCOutputter.h
/*********************************************************** * * Header file MSVCOutputter.h for class MSVCOutputter * (c)Copyright 2015, <NAME> * **********************************************************/ #ifndef MSVC_OUTPUTTER_H #define MSVC_OUTPUTTER_H #include <cppunit/Portability.h> #include <cp...
dibben/cppunit-utilities
QtStreamOperators.h
<reponame>dibben/cppunit-utilities /*********************************************************** * * Header file QtStreamOperators.h for Qt Utility functions * (c)Copyright 2015, <NAME> * **********************************************************/ #ifndef QT_STREAM_OPERATORS_H #define QT_STREAM_OPERATORS_H #inc...
kooscode/fan-daemon
src/fan-daemon.h
<gh_stars>10-100 /* Jetson Nano Fan Control Daemon * MIT License * * Copyright (c) 2019 <NAME> * Copyright (c) 2019 <NAME> * * 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 without r...
SensiEDGE/SensiBLE1.0
Drivers/BSP/Components/lsm303agr/LSM303AGR_ACC_driver_HL.h
<filename>Drivers/BSP/Components/lsm303agr/LSM303AGR_ACC_driver_HL.h /** ****************************************************************************** * @file LSM303AGR_ACC_driver_HL.h * @author MEMS Application Team * @version V3.0.0 * @date 12-August-2016 * @brief This file contains definitions for th...
SensiEDGE/SensiBLE1.0
Drivers/BSP/STM32F4xx-Nucleo/stm32f4xx_SPI.c
/** ****************************************************************************** * @file stm32f4xx_SPI.c * @author Central LAB * @version V1.0.0 * @date 25-May-2015 * @brief This file provides the global SPI implementation ****************************************************************************** ...
SensiEDGE/SensiBLE1.0
Projects/Multi/Applications/ALLMEMS1/Src/HWAdvanceFeatures.c
<gh_stars>1-10 /** ****************************************************************************** * @file HWAdvanceFeatures.c * @author Central LAB * @version V3.2.0 * @date 30-Sep-2017 * @brief DS3/DSM HW Advance Features API **********************************************************************...
SensiEDGE/SensiBLE1.0
Drivers/BSP/SensorTile/SensorTile.h
/** ****************************************************************************** * @file SensorTile.h * @author <NAME> * @version V1.2.0 * @date 10-Nov-2016 * @brief This file contains definitions for SensorTile.c file ****************************************************************************...
SensiEDGE/SensiBLE1.0
Projects/Multi/Applications/ALLMEMS1/Inc/simba_lux.h
<reponame>SensiEDGE/SensiBLE1.0 #ifndef __SIMBA_LUX_H__ #define __SIMBA_LUX_H__ #include <stdint.h> typedef enum { LUX_OK = 0, LUX_ERROR = 1, LUX_TIMEOUT = 2, LUX_NOT_IMPLEMENTED = 3 } LUX_StatusTypeDef; LUX_StatusTypeDef BSP_LUX_Init(void); uint8_t BSP_LUX_IsInitalized(void); LUX_StatusTypeD...
SensiEDGE/SensiBLE1.0
Projects/Multi/Applications/ALLMEMS1/Src/MotionCP_Manager.c
/** ****************************************************************************** * @file MotionCP_Manager.c * @author Central LAB * @version V3.0.0 * @date 12-May-2017 * @brief This file includes carry position recognition interface functions ***********************************************************...
SensiEDGE/SensiBLE1.0
Drivers/BSP/X_NUCLEO_IKS01A1/x_nucleo_iks01a1_gyro.h
/** ****************************************************************************** * @file x_nucleo_iks01a1_gyro.h * @author MEMS Application Team * @version V3.0.0 * @date 12-August-2016 * @brief This file contains definitions for the x_nucleo_iks01a1_gyro.c ********************************************...
SensiEDGE/SensiBLE1.0
Projects/Multi/Applications/ALLMEMS1/Inc/ALLMEMS1_config.h
/** ****************************************************************************** * @file ALLMEMS1_config.h * @author Central LAB * @version V3.0.0 * @date 12-May-2017 * @brief FP-SNS-ALLMEMS1 configuration ****************************************************************************** * @atten...
SensiEDGE/SensiBLE1.0
Drivers/BSP/Components/at25xe041b/AT25XE041B_Driver.c
<gh_stars>1-10 /** ****************************************************************************** * @file AT25XE041B_Driver.c * @date 02-July-2019 * @brief AT25XE041B driver file. ****************************************************************************** * * COPYRIGHT(c) 2019 SensiEDGE LTD * * Redi...
SensiEDGE/SensiBLE1.0
Drivers/BSP/SensiBLE/sensible_distance.h
<filename>Drivers/BSP/SensiBLE/sensible_distance.h<gh_stars>1-10 /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __SENSOR_BOARD_DISTANCE_H #define __SENSOR_BOARD_DISTANCE_H #ifdef __cplusplus extern "C" { #endif /* Includes -----------------------------------------------------...
SensiEDGE/SensiBLE1.0
Projects/Multi/Applications/ALLSENS/Drivers/simba_lux_apds9250.c
#include "simba_lux.h" #include "x_nucleo_iks01a1.h" #include "stm32l4xx_I2C.h" // I2C address #define APDS9250_I2C_ADDRESS (0x52<<1) // Register definitions #define APDS9250_REG_MAIN_CTRL 0x00 #define APDS9250_REG_LS_MEAS_RATE 0x04 #define APDS9250_REG_LS_GAIN 0x05 #define APDS9250_REG_...
SensiEDGE/SensiBLE1.0
Drivers/BSP/X-NUCLEO-CCA02M1/x_nucleo_cca02m1_audio_f4.h
<filename>Drivers/BSP/X-NUCLEO-CCA02M1/x_nucleo_cca02m1_audio_f4.h /** ****************************************************************************** * @file x_nucleo_cca02m1_audio_f4.h * @author Central Labs * @version V1.3.1 * @date 01-Sep-2016 * @brief This file contains the common defines and functions pro...
SensiEDGE/SensiBLE1.0
Drivers/BSP/X_NUCLEO_IKS01A1/x_nucleo_iks01a1_humidity.c
/** ****************************************************************************** * @file x_nucleo_iks01a1_humidity.c * @author MEMS Application Team * @version V3.0.0 * @date 12-August-2016 * @brief This file provides a set of functions needed to manage the humidity sensor ****************************...
SensiEDGE/SensiBLE1.0
Drivers/BSP/SensorTile/SensorTile_gyro.h
<filename>Drivers/BSP/SensorTile/SensorTile_gyro.h /** ****************************************************************************** * @file SensorTile_gyro.h * @author Central Labs * @version V1.2.0 * @date 10-Nov-2016 * @brief This file contains definitions for SensorTile_gyro.c driver. *************...
SensiEDGE/SensiBLE1.0
Projects/Multi/Applications/ALLMEMS1/Src/stm32l4xx_hal_msp.c
<filename>Projects/Multi/Applications/ALLMEMS1/Src/stm32l4xx_hal_msp.c<gh_stars>1-10 /** ****************************************************************************** * @file stm32l4xx_hal_msp.c * @author Central LAB * @version V3.0.0 * @date 12-May-2017 * @brief HAL MSP module. * @ve...
SensiEDGE/SensiBLE1.0
Projects/Multi/Applications/ALLMEMS1/Src/OTA.c
<reponame>SensiEDGE/SensiBLE1.0<filename>Projects/Multi/Applications/ALLMEMS1/Src/OTA.c /** ****************************************************************************** * @file OTA.c * @author Central LAB * @version V3.0.0 * @date 12-May-2017 * @brief Over-the-Air Update API implementation ****...
SensiEDGE/SensiBLE1.0
Middlewares/ST/STM32_BlueVoiceADPCM_Library/Inc/bluevoice_adpcm.h
/** ****************************************************************************** * @file bluevoice_adpcm.h * @author Central Labs * @version V2.0.0 * @date 18-April-2017 * @brief This file contains definitions for BlueVoice ADPCM profile. * ****************************************************...
SensiEDGE/SensiBLE1.0
Projects/Multi/Applications/ALLMEMS1/Src/sensor_service.c
/** ****************************************************************************** * @file sensor_service.c * @author Central LAB * @version V3.0.0 * @date 12-May-2017 * @brief Add 4 bluetooth services using vendor specific profiles. ***************************************************************...
SensiEDGE/SensiBLE1.0
Middlewares/ST/STM32_USB_Device_Library/Class/AUDIO_CDC/Src/usbd_audio_cdc.c
<reponame>SensiEDGE/SensiBLE1.0<gh_stars>1-10 /** ****************************************************************************** * @file usbd_audio.c * @author MCD Application Team * @version V2.0.0 * @date 18-February-2014 * @brief This file provides the HID core functions. * * @verbatim * * ========...
SensiEDGE/SensiBLE1.0
Projects/Multi/Applications/ALLMEMS1/Inc/stm32l4xx_periph_conf.h
/** ****************************************************************************** * @file stm32l4xx_periph_conf.h * @author Central LAB * @version V3.0.0 * @date 12-May-2017 * @brief peripherals configuration file. ****************************************************************************** ...
SensiEDGE/SensiBLE1.0
Projects/Multi/Applications/ALLMEMS1/Src/AudioBV_Manager.c
<gh_stars>1-10 /** ****************************************************************************** * @file AudioBV_Manager.c * @author Central LAB * @version V3.0.0 * @date 12-May-2017 * @brief This file includes BlueVoice interface functions **************************************************************...
SensiEDGE/SensiBLE1.0
Projects/Multi/Applications/ALLMEMS1/Src/MotionAR_Manager.c
/** ****************************************************************************** * @file MotionAR_Manager.c * @author Central LAB * @version V3.0.0 * @date 12-May-2017 * @brief This file includes activity recognition interface functions *****************************************************************...
SensiEDGE/SensiBLE1.0
Projects/Multi/Applications/ALLSENS/Inc/mic.h
<reponame>SensiEDGE/SensiBLE1.0<filename>Projects/Multi/Applications/ALLSENS/Inc/mic.h #ifndef __MIC_H #define __MIC_H #define AUDIO_VOLUME_VALUE 64 #define AUDIO_CHANNELS 2 #define AUDIO_SAMPLING_FREQUENCY 16000 #define PCM_AUDIO_IN_SAMPLES AUDIO_SAMPLING_FREQUENCY/1000 /* Code for Acou...
SensiEDGE/SensiBLE1.0
Drivers/BSP/Components/lps25hb/LPS25HB_Driver_HL.c
<filename>Drivers/BSP/Components/lps25hb/LPS25HB_Driver_HL.c /** ******************************************************************************* * @file LPS25HB_Driver_HL.c * @author MEMS Application Team * @version V3.0.0 * @date 12-August-2016 * @brief This file provides a set of high-level functions n...
SensiEDGE/SensiBLE1.0
Drivers/BSP/X_NUCLEO_IKS01A2/x_nucleo_iks01a2_accelero.h
/** ****************************************************************************** * @file x_nucleo_iks01a2_accelero.h * @author MEMS Application Team * @version V3.0.0 * @date 12-August-2016 * @brief This file contains definitions for the x_nucleo_iks01a2_accelero.c ************************************...
SensiEDGE/SensiBLE1.0
Projects/Multi/Applications/ALLMEMS1/Inc/uuid_ble_service.h
/** ****************************************************************************** * @file uuid_ble_service.h * @author Central LAB * @version V3.0.0 * @date 12-May-2017 * @brief UUID and Macros used for exporting the BLE Characteristics and Services **********************************************...
SensiEDGE/SensiBLE1.0
Drivers/BSP/SensorTile/SensorTile_audio_in.h
/** ****************************************************************************** * @file SensorTile_audio_in.h * @author Central Labs * @version V1.2.0 * @date 10-Nov-2016 * @brief This file contains definitions for SensorTile_audio_in.c driver. **************************************************************...
SensiEDGE/SensiBLE1.0
Projects/Multi/Applications/ALLMEMS1/Src/AcousticSL_Manager.c
<gh_stars>1-10 /** ****************************************************************************** * @file AcousticSL_Manager.c * @author Central LAB * @version V3.0.0 * @date 12-May-2017 * @brief This file includes Source location interface functions *****************************************************...
SensiEDGE/SensiBLE1.0
Drivers/BSP/STM32L4xx_Nucleo/stm32l4xx_nucleo_bluenrg_dma_lp.c
<reponame>SensiEDGE/SensiBLE1.0 /** ****************************************************************************** * @file stm32l4xx_nucleo_bluenrg_dma_lp.c * @author MCD Application Team * @version V1.0.0 * @date 22-April-2014 * @cond DOXYGEN_EXCLUDE * @brief * @endcond ********************...
SensiEDGE/SensiBLE1.0
Projects/Multi/Applications/ALLMEMS1/Inc/sensor_service.h
<reponame>SensiEDGE/SensiBLE1.0<gh_stars>1-10 /** ****************************************************************************** * @file sensor_service.h * @author Central LAB * @version V3.0.0 * @date 12-May-2017 * @brief Sensors services APIs ***************************************************...
SensiEDGE/SensiBLE1.0
Drivers/BSP/X-NUCLEO-CCA02M1/x_nucleo_cca02m1_audio_f7.c
/** ****************************************************************************** * @file x_nucleo_cca02m1_audio_f7.c * @author Central Labs * @version V1.3.1 * @date 01-Sep-2016 * @brief This file provides the Audio driver for the X-NUCLEO-CCA02M1 * expansion board **********************************...
SensiEDGE/SensiBLE1.0
Middlewares/ST/STM32_BlueNRG/SimpleBlueNRG_HCI/includes/bluenrg_l2cap_aci.h
/******************** (C) COPYRIGHT 2014 STMicroelectronics ******************** * File Name : bluenrg_l2cap_aci.h * Author : AMS - HEA&RF BU * Version : V1.0.0 * Date : 26-Jun-2014 * Description : Header file with L2CAP commands for BlueNRG FW6.3. ******************...
SensiEDGE/SensiBLE1.0
Projects/Multi/Applications/ALLMEMS1/Inc/AcousticSL_Manager.h
<reponame>SensiEDGE/SensiBLE1.0<filename>Projects/Multi/Applications/ALLMEMS1/Inc/AcousticSL_Manager.h /** ****************************************************************************** * @file AcousticSL_Manager.h * @author Central Lab * @version V3.0.0 * @date 12-May-2017 * @brief Header for AcousticS...
SensiEDGE/SensiBLE1.0
Middlewares/ST/STM32_BlueNRG/SimpleBlueNRG_HCI/hci/controller/bluenrg_utils_small.c
<filename>Middlewares/ST/STM32_BlueNRG/SimpleBlueNRG_HCI/hci/controller/bluenrg_utils_small.c #include "hal.h" #include "hal_types.h" #include "ble_status.h" #include "bluenrg_aci.h" #include "bluenrg_utils.h" #include "hci.h" #include "hci_le.h" #include "osal.h" #include "string.h" #ifdef STM32_NUCLEO #include "s...
SensiEDGE/SensiBLE1.0
Drivers/BSP/Components/vl53l0x/vl53l0x_platform.c
#include "vl53l0x_platform.h" #include "vl53l0x_api.h" #include <string.h> #define I2C_TIME_OUT_BASE 10 #define I2C_TIME_OUT_BYTE 1 #define VL53L0X_OsDelay(...) HAL_Delay(2) uint8_t _I2CBuffer[64]; uint8_t Sensor_IO_Write( void *handle, uint8_t WriteAddr, uint8_t *pBuffer, uint16_t nBytesToWrite ); uint8_t Sen...
SensiEDGE/SensiBLE1.0
Drivers/BSP/SensorTile/SensorTile_audio_out.c
/** ****************************************************************************** * @file SensorTile_audio_out.c * @author Central Labs * @version V1.2.0 * @date 10-Nov-2016 * @brief This file provides the Audio Out driver for the Sensor Tile * expansion board ***************************************...
SensiEDGE/SensiBLE1.0
Projects/Multi/Applications/ALLMEMS1/Src/main.c
/** ****************************************************************************** * @file main.c * @author Central LAB * @version V3.0.0 * @date 12-May-2017 * @brief Main program body ****************************************************************************** * @attention * * <h2><center>&copy; COPYRIGHT(c...
SensiEDGE/SensiBLE1.0
Middlewares/ST/STM32_MetaDataManager/MetaDataManager.h
<reponame>SensiEDGE/SensiBLE1.0 /** ****************************************************************************** * @file MetaDataManager.h * @author Central LAB * @version V0.8.0 * @date 10-November-2016 * @brief Meta Data Manager APIs **********************************************************...
SensiEDGE/SensiBLE1.0
Drivers/BSP/X-NUCLEO-CCA02M1/x_nucleo_cca02m1_audio_l4.h
<gh_stars>1-10 /** ****************************************************************************** * @file x_nucleo_cca02m1_audio_l4.h * @author Central Labs * @version V1.3.1 * @date 01-Sep-2016 * @brief This file contains the common defines and functions prototypes for * x_nucleo_cca02m1_audio...
SensiEDGE/SensiBLE1.0
Middlewares/ST/STM32_USB_Device_Library/Class/AUDIO_CDC/Inc/usbd_audio_cdc.h
<filename>Middlewares/ST/STM32_USB_Device_Library/Class/AUDIO_CDC/Inc/usbd_audio_cdc.h /** ****************************************************************************** * @file usbd_audio_core.h * @author MCD Application Team * @version V2.0.0 * @date 18-February-2014 * @brief header file for the usbd_audio_c...
SensiEDGE/SensiBLE1.0
Drivers/BSP/STM32F4xx-Nucleo/stm32f4xx_nucleo_bluenrg.h
/** ****************************************************************************** * @file stm32f4xx_nucleo_bluenrg.h * @author CL * @version V1.0.0 * @date 04-July-2014 * @brief This file contains definitions for SPI communication on * STM32F4XX-Nucleo Kit from STMicroelectronics for BL...
SensiEDGE/SensiBLE1.0
Drivers/BSP/X_NUCLEO_IKS01A1/x_nucleo_iks01a1.c
<reponame>SensiEDGE/SensiBLE1.0<gh_stars>1-10 /** ****************************************************************************** * @file x_nucleo_iks01a1.c * @author MEMS Application Team * @version V3.0.0 * @date 12-August-2016 * @brief This file provides X_NUCLEO_IKS01A1 MEMS shield board specific func...
SensiEDGE/SensiBLE1.0
Drivers/BSP/X_NUCLEO_IKS01A1/x_nucleo_iks01a1_accelero.h
/** ****************************************************************************** * @file x_nucleo_iks01a1_accelero.h * @author MEMS Application Team * @version V3.0.0 * @date 12-August-2016 * @brief This file contains definitions for the x_nucleo_iks01a1_accelero.c ************************************...
SensiEDGE/SensiBLE1.0
Drivers/BSP/Components/Common/distance.h
/* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __DISTANCE_H #define __DISTANCE_H #ifdef __cplusplus extern "C" { #endif /* Includes ------------------------------------------------------------------*/ #include "sensor.h" //HUMIDITY driver structure definition typedef struct ...
SensiEDGE/SensiBLE1.0
Projects/Multi/Applications/ALLMEMS1/Src/usbd_cdc_interface.c
<filename>Projects/Multi/Applications/ALLMEMS1/Src/usbd_cdc_interface.c /** ****************************************************************************** * @file usbd_cdc_interface.c * @author MCD Application Team * @version V3.0.0 * @date 12-May-2017 * @brief Source file for USBD CDC interface ...
SensiEDGE/SensiBLE1.0
Projects/Multi/Applications/ALLMEMS1/Src/MotionGR_Manager.c
<reponame>SensiEDGE/SensiBLE1.0 /** ****************************************************************************** * @file MotionGR_Manager.c * @author Central LAB * @version V3.0.0 * @date 12-May-2017 * @brief This file includes gesture recognition interface functions **********************************...
SensiEDGE/SensiBLE1.0
Projects/Multi/Applications/ALLMEMS1/Src/TargetPlatform.c
/** ****************************************************************************** * @file TargetPlatform.c * @author Central LAB * @version V3.0.0 * @date 12-May-2017 * @brief Initialization of the Target Platform ****************************************************************************** *...