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
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Inc/rtc.h
/** ****************************************************************************** * File Name : RTC.h * Description : This file provides code for the configuration * of the RTC instances. ****************************************************************************** * @...
1,493
24.322034
80
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Inc/iwdg.h
/** ****************************************************************************** * File Name : IWDG.h * Description : This file provides code for the configuration * of the IWDG instances. ****************************************************************************** *...
1,484
24.169492
80
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Inc/stm32f1xx_it.h
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file stm32f1xx_it.h * @brief This file contains the headers of the interrupt handlers. ****************************************************************************** * @attention * * <h2...
2,038
28.128571
80
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Inc/bootloader.h
#pragma once // Use 1-31 or >= 128 to avoid printable chars enum { HELLO_OPT =128, ERASE_START_OPT =129, ERASE_END_OPT =130, BMS_HELLO_OPT =131, BMS_PROG_OPT =132, }; #define APPLICATION_START_ADDR 0x08020400 // Commands are powers of 2 for easy flags typedef enum { boot_cmd_null =0x0, // Not used bo...
1,284
23.711538
92
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Inc/time_ticks.h
#pragma once #define RTC_MS_PER_TICK 500 // Increasing this rate because I think I screwed up the ADC anti-aliasing filter #define TICKS_PER_MINUTE (1000/RTC_MS_PER_TICK*60) #define TICKS_PER_HOUR (1000/RTC_MS_PER_TICK*3600) #define TICKS_PER_DAY (TICKS_PER_HOUR*24) // Number of RTC ticks over which to average and re...
609
37.125
109
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Inc/tim.h
/** ****************************************************************************** * File Name : TIM.h * Description : This file provides code for the configuration * of the TIM instances. ****************************************************************************** * @...
1,496
24.372881
80
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Inc/adc.h
/** ****************************************************************************** * File Name : ADC.h * Description : This file provides code for the configuration * of the ADC instances. ****************************************************************************** * @...
1,478
24.067797
80
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Inc/usart.h
/** ****************************************************************************** * File Name : USART.h * Description : This file provides code for the configuration * of the USART instances. ****************************************************************************** ...
1,563
24.639344
80
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Inc/serial_frame.h
#pragma once #include <stdint.h> #ifndef FRAME_MAX_SIZE #define FRAME_MAX_SIZE 2048 // Only used for decoding. Host end should set larger for audio etc. #endif #define FRAME_MIN_SIZE 20 // Size of a 0 payload frame typedef enum { NO_ERR = 0, NO_FRAME = 1, TOO_BIG = 2, BAD_PARM = 3, UNK_ERR = 4, MALFOR...
1,877
26.617647
125
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Inc/crc.h
/** ****************************************************************************** * File Name : CRC.h * Description : This file provides code for the configuration * of the CRC instances. ****************************************************************************** * @...
1,476
24.033898
80
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Inc/battery.h
#include "main.h" #include "time_ticks.h" #define BATT_LOCK_ON 1 #define BATT_LOCK_OFF 0 typedef enum { BLEED_OFF=0, BLEED_ON } batt_bleed_t; typedef struct { uint32_t ver; // struct version. Not real, here for consistency... uint32_t cells[4]; // Cell voltage in mV uint32_t solar_input_mv; // ...
1,165
33.294118
80
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Inc/stm32f1xx_hal_conf.h
/** ****************************************************************************** * @file stm32f1xx_hal_conf.h * @brief HAL configuration file. ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) 2017 STMicroelectronics. ...
15,589
38.770408
119
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Inc/spi.h
/** ****************************************************************************** * File Name : SPI.h * Description : This file provides code for the configuration * of the SPI instances. ****************************************************************************** * @...
1,478
24.067797
80
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Inc/gpio.h
/** ****************************************************************************** * File Name : gpio.h * Description : This file contains all the functions prototypes for * the gpio ****************************************************************************** * @att...
1,486
23.783333
80
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Src/usart.c
/** ****************************************************************************** * File Name : USART.c * Description : This file provides code for the configuration * of the USART instances. ****************************************************************************** ...
4,790
25.616667
80
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Src/gpio.c
/** ****************************************************************************** * File Name : gpio.c * Description : This file provides code for the configuration * of all used GPIO pins. ****************************************************************************** *...
8,301
35.897778
114
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Src/adc.c
/** ****************************************************************************** * File Name : ADC.c * Description : This file provides code for the configuration * of the ADC instances. ****************************************************************************** * @...
7,807
35.316279
85
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Src/bms_serial.c
#include <stdbool.h> #include <stdlib.h> #include <string.h> #include "usart.h" #include "main.h" #include "frame_ops.h" #include "serial.h" #include "bms_serial.h" //#include "stm32h7xx_ll_usart.h" #include "stm32f1xx_ll_usart.h" #define BMS_TIMEOUT_MS 10 #define BMS_TIMEOUT_LONG_MS 100 #define BMS_UART &huart1 #de...
5,070
25.549738
118
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Src/dma.c
/** ****************************************************************************** * File Name : dma.c * Description : This file provides code for the configuration * of all the requested memory to memory DMA transfers. *****************************************************...
3,222
38.304878
84
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Src/serial_frame.c
/* A trivial HDLC-like framing system Uses 0x7E (flag) and 0x7D (escape) ONLY Frame format: [FLAG DEST TYPE DATA-N CRC32 TIMESTAMP FLAG] Where FLAG: 0x7E (1-byte) delimits the frame at both ends DEST: 1-byte destination address TYPE: 4-byte describes frame type and payload DATA-N: Variable length payload CRC: 32-bit ...
10,281
24.964646
126
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Src/stm32f1xx_it.c
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file stm32f1xx_it.c * @brief Interrupt Service Routines. ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) ...
7,256
23.767918
81
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Src/h7_bootloader.c
// THIS IS ABORTED CODE. DELETE ME EVENTUALLY. NOT IN MAKEFILE. #error "This is dead code" #include "main.h" #include "serial.h" #define ACK 0x79 #define NACK 0x1F // HAL_StatusTypeDef HAL_UART_Receive(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout) // HAL_StatusTypeDef HAL_UART_Transmit...
1,924
24
114
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Src/stm32f1xx_hal_msp.c
/* USER CODE BEGIN Header */ /** ****************************************************************************** * File Name : stm32f1xx_hal_msp.c * Description : This file provides code for the MSP Initialization * and de-Initialization codes. ****************************...
2,450
26.539326
80
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Src/spi.c
/** ****************************************************************************** * File Name : SPI.c * Description : This file provides code for the configuration * of the SPI instances. ****************************************************************************** * @...
3,135
26.269565
80
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Src/iwdg.c
/** ****************************************************************************** * File Name : IWDG.c * Description : This file provides code for the configuration * of the IWDG instances. ****************************************************************************** *...
1,325
26.625
80
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Src/system_stm32f1xx.c
/** ****************************************************************************** * @file system_stm32f1xx.c * @author MCD Application Team * @version V4.2.0 * @date 31-March-2017 * @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Source File. * * 1. This file provides two functi...
16,007
34.573333
122
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Src/bootloader.c
#ifdef I_AM_BOOTLOADER #include <stdbool.h> #include "main.h" #include "spi.h" #include "gpio.h" #include "crc.h" #include "usart.h" /* NOTE: In linker file that this and other critical functions are kept in first 16 kB --Bootloader does not use interrupts except SysTick --Bootloader must avoid .data section NPS 20...
7,894
28.792453
104
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Src/crc.c
/** ****************************************************************************** * File Name : CRC.c * Description : This file provides code for the configuration * of the CRC instances. ****************************************************************************** * @...
1,871
23
80
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Src/tim.c
/** ****************************************************************************** * File Name : TIM.c * Description : This file provides code for the configuration * of the TIM instances. ****************************************************************************** * @...
2,414
26.134831
80
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Src/battery.c
#include "main.h" #include "battery.h" #include "adc.h" #include "serial.h" #include "frame_ops.h" #define V_ADC (float)2.5 #define ADC_BITS_FS (float)4095 #define V_TO_MV (float)1000 #define ADC_COUNT_BIAS 0 #define ADC_COUNT_FLOOR 0 // if, after bias subtract, this value will floor to zero. #define ADC_CHANS 9 //...
8,274
29.535055
108
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Core/Src/rtc.c
/** ****************************************************************************** * File Name : RTC.c * Description : This file provides code for the configuration * of the RTC instances. ****************************************************************************** * @...
3,228
25.040323
96
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h
/** ****************************************************************************** * @file stm32f1xx_hal_dac.h * @author MCD Application Team * @brief Header file of DAC HAL module. ****************************************************************************** * @attention * * <h2><center>&copy; C...
15,693
33.721239
126
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
/** ****************************************************************************** * @file stm32f1xx_hal_def.h * @author MCD Application Team * @brief This file contains HAL common defines, enumeration, macros and * structures definitions. *****************************************************...
6,979
34.075377
124
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd_ex.h
/** ****************************************************************************** * @file stm32f1xx_hal_pcd_ex.h * @author MCD Application Team * @brief Header file of PCD HAL Extension module. ****************************************************************************** * @attention * * <h2><ce...
2,702
28.703297
92
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
/** ****************************************************************************** * @file stm32f1xx_hal_tim_ex.h * @author MCD Application Team * @brief Header file of TIM HAL Extended module. ****************************************************************************** * @attention * * <h2><cen...
9,520
35.339695
120
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_crc.h
/** ****************************************************************************** * @file stm32f1xx_ll_crc.h * @author MCD Application Team * @brief Header file of CRC LL module. ****************************************************************************** * @attention * * <h2><center>&copy; Cop...
5,503
25.84878
108
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_iwdg.h
/** ****************************************************************************** * @file stm32f1xx_hal_iwdg.h * @author MCD Application Team * @brief Header file of IWDG HAL module. ****************************************************************************** * @attention * * <h2><center>&copy;...
6,644
28.798206
114
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_crc.h
/** ****************************************************************************** * @file stm32f1xx_hal_crc.h * @author MCD Application Team * @brief Header file of CRC HAL module. ****************************************************************************** * @attention * * <h2><center>&copy; C...
5,071
26.416216
102
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Inc/stm32_assert_template.h
/** ****************************************************************************** * @file stm32_assert.h * @author MCD Application Team * @brief STM32 assert template file. * This file should be copied to the application folder and renamed * to stm32_assert.h. ********************...
2,159
36.241379
93
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_utils.h
/** ****************************************************************************** * @file stm32f1xx_ll_utils.h * @author MCD Application Team * @brief Header file of UTILS LL module. @verbatim ============================================================================== ##### Ho...
8,258
29.932584
133
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_conf_template.h
/** ****************************************************************************** * @file stm32f1xx_hal_conf.h * @author MCD Application Team * @brief HAL configuration template file. * This file should be copied to the application folder and renamed * to stm32f1xx_hal_conf.h. ***...
16,096
39.2425
115
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
/** ****************************************************************************** * @file stm32f1xx_hal_dma_ex.h * @author MCD Application Team * @brief Header file of DMA HAL extension module. ****************************************************************************** * @attention * * <h2><ce...
12,565
44.201439
111
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2s.h
/** ****************************************************************************** * @file stm32f1xx_hal_i2s.h * @author MCD Application Team * @brief Header file of I2S HAL module. ****************************************************************************** * @attention * * <h2><center>&copy; C...
22,890
40.848263
131
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
/** ****************************************************************************** * @file stm32f1xx_hal.h * @author MCD Application Team * @brief This file contains all the functions prototypes for the HAL * module driver. *********************************************************************...
11,237
30.391061
101
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_iwdg.h
/** ****************************************************************************** * @file stm32f1xx_ll_iwdg.h * @author MCD Application Team * @brief Header file of IWDG LL module. ****************************************************************************** * @attention * * <h2><center>&copy; C...
9,238
28.612179
125
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32f1xx_hal_can_ex_legacy.h
/** ****************************************************************************** * @file stm32f1xx_hal_can_ex_legacy.h * @author MCD Application Team * @brief Header file of CAN HAL Extension module. ****************************************************************************** * @attention * * ...
6,772
45.710345
123
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_dma.c
/** ****************************************************************************** * @file stm32f1xx_ll_dma.c * @author MCD Application Team * @brief DMA LL module driver. ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (...
13,120
40.653968
104
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c
/** ****************************************************************************** * @file stm32f1xx_hal.c * @author MCD Application Team * @brief HAL module driver. * This is the common part of the HAL initialization * @verbatim ===========================================================...
20,117
32.64214
101
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c
/** ****************************************************************************** * @file stm32f1xx_hal_gpio_ex.c * @author MCD Application Team * @brief GPIO Extension HAL module driver. * This file provides firmware functions to manage the following * functionalities of the General...
4,118
31.179688
99
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c
/** ****************************************************************************** * @file stm32f1xx_hal_pwr.c * @author MCD Application Team * @brief PWR HAL module driver. * * This file provides firmware functions to manage the following * functionalities of the Power Controller ...
20,921
32.636656
124
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_timebase_tim_template.c
/** ****************************************************************************** * @file stm32f1xx_hal_timebase_tim_template.c * @author MCD Application Team * @brief HAL time base based on the hardware TIM Template. * * This file overrides the native HAL time base functions (defined as wea...
5,185
30.053892
98
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c
/** ****************************************************************************** * @file stm32f1xx_ll_rcc.c * @author MCD Application Team * @brief RCC LL module driver. ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (...
14,197
28.890526
110
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_iwdg.c
/** ****************************************************************************** * @file stm32f1xx_hal_iwdg.c * @author MCD Application Team * @brief IWDG HAL module driver. * This file provides firmware functions to manage the following * functionalities of the Independent Watchdo...
8,532
34.406639
85
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_crc.c
/** ****************************************************************************** * @file stm32f1xx_ll_crc.c * @author MCD Application Team * @brief CRC LL module driver. ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (...
2,600
22.862385
85
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c
/** ****************************************************************************** * @file stm32f1xx_hal_pcd_ex.c * @author MCD Application Team * @brief PCD Extended HAL module driver. * This file provides firmware functions to manage the following * functionalities of the USB Perip...
7,598
29.765182
91
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c
/** ****************************************************************************** * @file stm32f1xx_hal_exti.c * @author MCD Application Team * @brief EXTI HAL module driver. * This file provides firmware functions to manage the following * functionalities of the Extended Interrupts...
15,197
26.139286
133
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_crc.c
/** ****************************************************************************** * @file stm32f1xx_hal_crc.c * @author MCD Application Team * @brief CRC HAL module driver. * This file provides firmware functions to manage the following * functionalities of the Cyclic Redundancy Che...
9,822
28.676737
95
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_exti.c
/** ****************************************************************************** * @file stm32f1xx_ll_exti.c * @author MCD Application Team * @brief EXTI LL module driver. ****************************************************************************** * @attention * * <h2><center>&copy; Copyright...
7,240
32.523148
108
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_spi.c
/** ****************************************************************************** * @file stm32f1xx_ll_spi.c * @author MCD Application Team * @brief SPI LL module driver. ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (...
20,093
36.841808
125
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_pwr.c
/** ****************************************************************************** * @file stm32f1xx_ll_pwr.c * @author MCD Application Team * @brief PWR LL module driver. ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (...
2,277
25.183908
80
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_i2c.c
/** ****************************************************************************** * @file stm32f1xx_ll_i2c.c * @author MCD Application Team * @brief I2C LL module driver. ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (...
7,332
32.031532
113
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c
/** ****************************************************************************** * @file stm32f1xx_hal_cortex.c * @author MCD Application Team * @brief CORTEX HAL module driver. * This file provides firmware functions to manage the following * functionalities of the CORTEX: * ...
18,859
36.272727
131
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c
/** ****************************************************************************** * @file stm32f1xx_hal_gpio.c * @author MCD Application Team * @brief GPIO HAL module driver. * This file provides firmware functions to manage the following * functionalities of the General Purpose Inp...
20,882
34.455008
127
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_timebase_rtc_alarm_template.c
/** ****************************************************************************** * @file stm32f1xx_hal_timebase_rtc_alarm_template.c * @author MCD Application Team * @brief HAL time base based on the hardware RTC_ALARM. * * This file override the native HAL time base functions (defined as w...
10,209
34.206897
98
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_dac.c
/** ****************************************************************************** * @file stm32f1xx_ll_dac.c * @author MCD Application Team * @brief DAC LL module driver ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c...
12,095
42.985455
107
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rtc.c
/** ****************************************************************************** * @file stm32f1xx_ll_rtc.c * @author MCD Application Team * @brief RTC LL module driver. ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (...
17,300
30.744954
107
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_msp_template.c
/** ****************************************************************************** * @file stm32f1xx_hal_msp_template.c * @author MCD Application Team * @brief HAL BSP module. * This file template is located in the HAL folder and should be copied * to the user folder. *************...
2,187
22.276596
81
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/system_stm32f1xx.c
/** ****************************************************************************** * @file system_stm32f1xx.c * @author MCD Application Team * @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Source File. * * 1. This file provides two functions and one global variable to be called from ...
14,686
33.076566
122
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/Include/tz_context.h
/****************************************************************************** * @file tz_context.h * @brief Context Management for Armv8-M TrustZone * @version V1.0.1 * @date 10. January 2018 ******************************************************************************/ /* * Copyright (c) 2017-2018...
2,687
36.859155
88
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/Include/cmsis_version.h
/**************************************************************************//** * @file cmsis_version.h * @brief CMSIS Core(M) Version definitions * @version V5.0.2 * @date 19. April 2017 ******************************************************************************/ /* * Copyright (c) 2009-2017 ARM L...
1,677
40.95
118
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/Include/cmsis_compiler.h
/**************************************************************************//** * @file cmsis_compiler.h * @brief CMSIS compiler generic header file * @version V5.0.4 * @date 10. January 2018 ******************************************************************************/ /* * Copyright (c) 2009-2018 A...
8,748
31.76779
113
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/Include/mpu_armv8.h
/****************************************************************************** * @file mpu_armv8.h * @brief CMSIS MPU API for Armv8-M MPU * @version V5.0.4 * @date 10. January 2018 ******************************************************************************/ /* * Copyright (c) 2017-2018 Arm Limited...
10,625
30.814371
130
h
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/NN/Source/PoolingFunctions/arm_pool_q7_HWC.c
/* * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
13,534
29.144766
104
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q7_fast.c
/* * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
16,068
38.288509
120
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q7_fast_nonsquare.c
/* * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
15,236
39.097368
129
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/NN/Source/ConvolutionFunctions/arm_nn_mat_mult_kernel_q7_q15.c
/* * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
6,408
33.090426
85
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/NN/Source/ConvolutionFunctions/arm_depthwise_separable_conv_HWC_q7.c
/* * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
16,928
39.403341
122
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_1x1_HWC_q7_fast_nonsquare.c
/* * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
9,139
37.728814
129
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q15_basic.c
/* * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
7,528
35.197115
126
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q7_RGB.c
/* * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
10,247
35.6
120
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q15_fast.c
/* * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
9,665
36.757813
126
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/NN/Source/ConvolutionFunctions/arm_nn_mat_mult_kernel_q7_q15_reordered.c
/* * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
5,149
36.05036
86
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q7_basic_nonsquare.c
/* * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
9,042
38.489083
130
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q15_fast_nonsquare.c
/* * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
10,545
38.646617
130
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q7_basic.c
/* * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
8,242
34.683983
120
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/NN/Source/ConvolutionFunctions/arm_depthwise_separable_conv_HWC_q7_nonsquare.c
/* * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
17,558
41.618932
126
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/NN/Source/ActivationFunctions/arm_nn_activations_q7.c
/* * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
2,541
26.630435
110
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/NN/Source/ActivationFunctions/arm_nn_activations_q15.c
/* * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
2,930
27.735294
112
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/NN/Source/ActivationFunctions/arm_relu_q7.c
/* * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
2,386
20.504505
88
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/NN/Source/ActivationFunctions/arm_relu_q15.c
/* * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
2,364
21.102804
88
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/NN/Source/FullyConnectedFunctions/arm_fully_connected_q7_opt.c
/* * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
15,406
30.76701
119
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/NN/Source/FullyConnectedFunctions/arm_fully_connected_mat_q7_vec_q15_opt.c
/* * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
12,277
29.391089
119
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/NN/Source/FullyConnectedFunctions/arm_fully_connected_q7.c
/* * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
5,581
27.050251
100
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/NN/Source/FullyConnectedFunctions/arm_fully_connected_mat_q7_vec_q15.c
/* * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
5,649
27.25
88
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/NN/Source/FullyConnectedFunctions/arm_fully_connected_q15.c
/* * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
5,405
26.865979
88
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/NN/Source/FullyConnectedFunctions/arm_fully_connected_q15_opt.c
/* * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
9,516
27.57958
119
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/NN/Source/NNSupportFunctions/arm_nn_mult_q7.c
/* * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
3,751
30.266667
103
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/NN/Source/NNSupportFunctions/arm_q7_to_q15_reordered_no_shift.c
/* * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
4,137
27.342466
98
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/NN/Source/NNSupportFunctions/arm_nntables.c
/* * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
15,539
51.147651
88
c
null
SONYC-MKII-main/sonyc_mkii_tools/power_supervisor/Drivers/CMSIS/NN/Source/NNSupportFunctions/arm_q7_to_q15_no_shift.c
/* * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache....
3,658
26.103704
94
c