code
stringlengths
1
1.05M
repo_name
stringlengths
6
83
path
stringlengths
3
242
language
stringclasses
222 values
license
stringclasses
20 values
size
int64
1
1.05M
/** ****************************************************************************** * @file stm32u5xx_hal_rcc.c * @author MCD Application Team * @brief RCC HAL module driver. * This file provides firmware functions to manage the following * functionalities of the Reset and Clock Contr...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_rcc.c
C
apache-2.0
84,237
/** ****************************************************************************** * @file stm32u5xx_hal_rcc_ex.c * @author MCD Application Team * @brief Extended RCC HAL module driver. * This file provides firmware functions to manage the following * functionalities RCC extended per...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_rcc_ex.c
C
apache-2.0
134,746
/** ****************************************************************************** * @file stm32u5xx_hal_rng.c * @author MCD Application Team * @brief RNG HAL module driver. * This file provides firmware functions to manage the following * functionalities of the Random Number Generat...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_rng.c
C
apache-2.0
31,511
/** ****************************************************************************** * @file stm32u5xx_hal_rng_ex.c * @author MCD Application Team * @brief Extended RNG HAL module driver. * This file provides firmware functions to manage the following * functionalities of the Random Nu...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_rng_ex.c
C
apache-2.0
9,774
/** ****************************************************************************** * @file stm32u5xx_hal_rtc.c * @author MCD Application Team * @brief RTC HAL module driver. * This file provides firmware functions to manage the following * functionalities of the Real-Time Clock (RTC)...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_rtc.c
C
apache-2.0
80,513
/** ****************************************************************************** * @file stm32u5xx_hal_rtc_ex.c * @author MCD Application Team * @brief Extended RTC HAL module driver. * This file provides firmware functions to manage the following * functionalities of the Real Time...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_rtc_ex.c
C
apache-2.0
101,618
/** ****************************************************************************** * @file stm32u5xx_hal_sai.c * @author MCD Application Team * @brief SAI HAL module driver. * This file provides firmware functions to manage the following * functionalities of the Serial Audio Interfac...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_sai.c
C
apache-2.0
91,846
/** ****************************************************************************** * @file stm32u5xx_hal_sai_ex.c * @author MCD Application Team * @brief SAI Extended HAL module driver. * This file provides firmware functions to manage the following * functionality of the SAI Periphe...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_sai_ex.c
C
apache-2.0
3,789
/** ****************************************************************************** * @file stm32u5xx_hal_sd.c * @author MCD Application Team * @brief SD card HAL module driver. * This file provides firmware functions to manage the following * functionalities of the Secure Digital (SD...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_sd.c
C
apache-2.0
122,462
/** ****************************************************************************** * @file stm32u5xx_hal_sd_ex.c * @author MCD Application Team * @brief SD card Extended HAL module driver. * This file provides firmware functions to manage the following * functionalities of the Secure...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_sd_ex.c
C
apache-2.0
11,898
/** ****************************************************************************** * @file stm32u5xx_hal_smartcard.c * @author MCD Application Team * @brief SMARTCARD HAL module driver. * This file provides firmware functions to manage the following * functionalities of the SMARTCARD...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_smartcard.c
C
apache-2.0
126,167
/** ****************************************************************************** * @file stm32u5xx_hal_smartcard_ex.c * @author MCD Application Team * @brief SMARTCARD HAL module driver. * This file provides extended firmware functions to manage the following * functionalities of t...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_smartcard_ex.c
C
apache-2.0
16,044
/** ****************************************************************************** * @file stm32u5xx_hal_smbus.c * @author MCD Application Team * @brief SMBUS HAL module driver. * This file provides firmware functions to manage the following * functionalities of the System Management...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_smbus.c
C
apache-2.0
98,348
/** ****************************************************************************** * @file stm32u5xx_hal_smbus_ex.c * @author MCD Application Team * @brief SMBUS Extended HAL module driver. * This file provides firmware functions to manage the following * functionalities of SMBUS Ext...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_smbus_ex.c
C
apache-2.0
10,956
/** ****************************************************************************** * @file stm32u5xx_hal_spi.c * @author MCD Application Team * @brief SPI HAL module driver. * This file provides firmware functions to manage the following * functionalities of the Serial Peripheral Int...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_spi.c
C
apache-2.0
118,027
/** ****************************************************************************** * @file stm32u5xx_hal_spi_ex.c * @author MCD Application Team * @brief Extended SPI HAL module driver. * This file provides firmware functions to manage the following * SPI peripheral extended function...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_spi_ex.c
C
apache-2.0
9,675
/** ****************************************************************************** * @file stm32u5xx_hal_sram.c * @author MCD Application Team * @brief SRAM HAL module driver. * This file provides a generic firmware to drive SRAM memories * mounted as external device. * *********...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_sram.c
C
apache-2.0
37,276
/** ****************************************************************************** * @file stm32u5xx_hal_tim.c * @author MCD Application Team * @brief TIM HAL module driver. * This file provides firmware functions to manage the following * functionalities of the Timer (TIM) periphera...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_tim.c
C
apache-2.0
263,136
/** ****************************************************************************** * @file stm32u5xx_hal_tim_ex.c * @author MCD Application Team * @brief TIM HAL module driver. * This file provides firmware functions to manage the following * functionalities of the Timer Extended per...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_tim_ex.c
C
apache-2.0
128,377
/** ****************************************************************************** * @file stm32u5xx_hal_timebase_rtc_alarm_template.c * @author MCD Application Team * @brief HAL time base based on the hardware RTC_ALARM Template. * * This file overrides the native HAL time base functions (de...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_timebase_rtc_alarm_template.c
C
apache-2.0
10,241
/** ****************************************************************************** * @file stm32u5xx_hal_timebase_rtc_wakeup_template.c * @author MCD Application Team * @brief HAL time base based on the hardware RTC_WAKEUP Template. * * This file overrides the native HAL time base functions (...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_timebase_rtc_wakeup_template.c
C
apache-2.0
9,511
/** ****************************************************************************** * @file stm32u5xx_hal_timebase_tim_template.c * @author MCD Application Team * @brief HAL time base based on the hardware TIM. * * This file overrides the native HAL time base functions (defined as weak) * ...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_timebase_tim_template.c
C
apache-2.0
6,407
/** ****************************************************************************** * @file stm32u5xx_hal_tsc.c * @author MCD Application Team * @brief This file provides firmware functions to manage the following * functionalities of the Touch Sensing Controller (TSC) peripheral: * ...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_tsc.c
C
apache-2.0
34,806
/** ****************************************************************************** * @file stm32u5xx_hal_uart.c * @author MCD Application Team * @brief UART HAL module driver. * This file provides firmware functions to manage the following * functionalities of the Universal Asynchron...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_uart.c
C
apache-2.0
156,091
/** ****************************************************************************** * @file stm32u5xx_hal_uart_ex.c * @author MCD Application Team * @brief Extended UART HAL module driver. * This file provides firmware functions to manage the following extended * functionalities of th...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_uart_ex.c
C
apache-2.0
36,859
/** ****************************************************************************** * @file stm32u5xx_hal_usart.c * @author MCD Application Team * @brief USART HAL module driver. * This file provides firmware functions to manage the following * functionalities of the Universal Synchro...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_usart.c
C
apache-2.0
133,469
/** ****************************************************************************** * @file stm32u5xx_hal_usart_ex.c * @author MCD Application Team * @brief Extended USART HAL module driver. * This file provides firmware functions to manage the following extended * functionalities of ...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_usart_ex.c
C
apache-2.0
18,917
/** ****************************************************************************** * @file stm32u5xx_hal_wwdg.c * @author MCD Application Team * @brief WWDG HAL module driver. * This file provides firmware functions to manage the following * functionalities of the Window Watchdog (WW...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_wwdg.c
C
apache-2.0
15,307
/** ****************************************************************************** * @file stm32u5xx_hal_xspi.c * @author MCD Application Team * @brief XSPI HAL module driver. This file provides firmware functions to manage the following functionalities of the OctoSPI/HSPI interf...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_xspi.c
C
apache-2.0
126,706
/** ****************************************************************************** * @file stm32u5xx_ll_adc.c * @author MCD Application Team * @brief ADC LL module driver ****************************************************************************** * @attention * * Copyright (c) 2021 STMicroelect...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_adc.c
C
apache-2.0
52,298
/** ****************************************************************************** * @file stm32u5xx_ll_comp.c * @author MCD Application Team * @brief COMP LL module driver ****************************************************************************** * @attention * * Copyright (c) 2021 STMicroele...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_comp.c
C
apache-2.0
10,069
/** ****************************************************************************** * @file stm32u5xx_ll_cordic.c * @author MCD Application Team * @brief CORDIC LL module driver. ****************************************************************************** * @attention * * Copyright (c) 2021 STMic...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_cordic.c
C
apache-2.0
2,525
/** ****************************************************************************** * @file stm32u5xx_ll_crc.c * @author MCD Application Team * @brief CRC LL module driver. ****************************************************************************** * @attention * * Copyright (c) 2021 STMicroelec...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_crc.c
C
apache-2.0
2,460
/** ****************************************************************************** * @file stm32u5xx_ll_crs.h * @author MCD Application Team * @brief CRS LL module driver. ****************************************************************************** * @attention * * Copyright (c) 2021 STMicroelec...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_crs.c
C
apache-2.0
2,043
/** ****************************************************************************** * @file stm32u5xx_ll_dac.c * @author MCD Application Team * @brief DAC LL module driver ****************************************************************************** * @attention * * Copyright (c) 2021 STMicroelect...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_dac.c
C
apache-2.0
13,141
/** ****************************************************************************** * @file stm32u5xx_ll_dlyb.c * @author MCD Application Team * @brief DelayBlock Low Layer HAL module driver. * * This file provides firmware functions to manage the following * functionalities of the ...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_dlyb.c
C
apache-2.0
7,459
/** ****************************************************************************** * @file stm32u5xx_ll_dma.c * @author MCD Application Team * @brief DMA LL module driver. ****************************************************************************** * @attention * * Copyright (c) 2021 STMicroelec...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_dma.c
C
apache-2.0
62,185
/** ****************************************************************************** * @file stm32u5xx_ll_dma2d.c * @author MCD Application Team * @brief DMA2D LL module driver. ****************************************************************************** * @attention * * Copyright (c) 2021 STMicro...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_dma2d.c
C
apache-2.0
25,384
/** ****************************************************************************** * @file stm32u5xx_ll_exti.c * @author MCD Application Team * @brief EXTI LL module driver. ****************************************************************************** * @attention * * Copyright (c) 2021 STMicroel...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_exti.c
C
apache-2.0
7,464
/** ****************************************************************************** * @file stm32u5xx_ll_fmac.c * @author MCD Application Team * @brief Header for stm32u5xx_ll_fmac.c module ****************************************************************************** * @attention * * Copyright (c)...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_fmac.c
C
apache-2.0
3,249
/** ****************************************************************************** * @file stm32u5xx_ll_fmc.c * @author MCD Application Team * @brief FMC Low Layer HAL module driver. * * This file provides firmware functions to manage the following * functionalities of the Flexible...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_fmc.c
C
apache-2.0
29,051
/** ****************************************************************************** * @file stm32u5xx_ll_gpio.c * @author MCD Application Team * @brief GPIO LL module driver. ****************************************************************************** * @attention * * Copyright (c) 2021 STMicroel...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_gpio.c
C
apache-2.0
10,417
/** ****************************************************************************** * @file stm32u5xx_ll_i2c.c * @author MCD Application Team * @brief I2C LL module driver. ****************************************************************************** * @attention * * Copyright (c) 2021 STMicroelec...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_i2c.c
C
apache-2.0
8,488
/** ****************************************************************************** * @file stm32u5xx_ll_icache.c * @author MCD Application Team * @brief ICACHE LL module driver. ****************************************************************************** * @attention * * Copyright (c) 2021 STMic...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_icache.c
C
apache-2.0
5,263
/** ****************************************************************************** * @file stm32u5xx_ll_lpgpio.c * @author MCD Application Team * @brief LPGPIO LL module driver. ****************************************************************************** * @attention * * Copyright (c) 2021 STMic...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_lpgpio.c
C
apache-2.0
4,745
/** ****************************************************************************** * @file stm32u5xx_ll_lptim.c * @author MCD Application Team * @brief LPTIM LL module driver. ****************************************************************************** * @attention * * Copyright (c) 2021 STMicro...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_lptim.c
C
apache-2.0
6,433
/** ****************************************************************************** * @file stm32u5xx_ll_lpuart.c * @author MCD Application Team * @brief LPUART LL module driver. ****************************************************************************** * @attention * * Copyright (c) 2021 STMic...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_lpuart.c
C
apache-2.0
11,666
/** ****************************************************************************** * @file stm32u5xx_ll_opamp.c * @author MCD Application Team * @brief OPAMP LL module driver ****************************************************************************** * @attention * * Copyright (c) 2021 STMicroe...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_opamp.c
C
apache-2.0
8,901
/** ****************************************************************************** * @file stm32u5xx_ll_pka.c * @author MCD Application Team * @brief PKA LL module driver. ****************************************************************************** * @attention * * Copyright (c) 2021 STMicroelec...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_pka.c
C
apache-2.0
5,601
/** ****************************************************************************** * @file stm32u5xx_ll_pwr.c * @author MCD Application Team * @brief PWR LL module driver. ****************************************************************************** * @attention * * Copyright (c) 2021 STMicroelec...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_pwr.c
C
apache-2.0
2,412
/** ****************************************************************************** * @file stm32u5xx_ll_rcc.c * @author MCD Application Team * @brief RCC LL module driver. ****************************************************************************** * @attention * * Copyright (c) 2021 STMicroelec...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_rcc.c
C
apache-2.0
79,204
/** ****************************************************************************** * @file stm32u5xx_ll_rng.c * @author MCD Application Team * @brief RNG LL module driver. ****************************************************************************** * @attention * * Copyright (c) 2021 STMicroelec...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_rng.c
C
apache-2.0
4,433
/** ****************************************************************************** * @file stm32u5xx_ll_rtc.c * @author MCD Application Team * @brief RTC LL module driver. ****************************************************************************** * @attention * * Copyright (c) 2021 STMicroelec...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_rtc.c
C
apache-2.0
31,581
/** ****************************************************************************** * @file stm32u5xx_ll_sdmmc.c * @author MCD Application Team * @brief SDMMC Low Layer HAL module driver. * * This file provides firmware functions to manage the following * functionalities of the SDMM...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_sdmmc.c
C
apache-2.0
58,525
/** ****************************************************************************** * @file stm32u5xx_ll_spi.c * @author MCD Application Team * @brief SPI LL module driver. ****************************************************************************** * @attention * * Copyright (c) 2021 STMicroelec...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_spi.c
C
apache-2.0
25,642
/** ****************************************************************************** * @file stm32u5xx_ll_tim.c * @author MCD Application Team * @brief TIM LL module driver. ****************************************************************************** * @attention * * Copyright (c) 2021 STMicroelec...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_tim.c
C
apache-2.0
55,605
/** ****************************************************************************** * @file stm32u5xx_ll_ucpd.c * @author MCD Application Team * @brief UCPD LL module driver. ****************************************************************************** * @attention * * Copyright (c) 2021 STMicroel...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_ucpd.c
C
apache-2.0
4,789
/** ****************************************************************************** * @file stm32u5xx_ll_usart.c * @author MCD Application Team * @brief USART LL module driver. ****************************************************************************** * @attention * * Copyright (c) 2021 STMicro...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_usart.c
C
apache-2.0
18,317
/** ****************************************************************************** * @file stm32u5xx_ll_usb.c * @author MCD Application Team * @brief USB Low Layer HAL module driver. * * This file provides firmware functions to manage the following * functionalities of the USB Peri...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_usb.c
C
apache-2.0
60,993
/** ****************************************************************************** * @file stm32u5xx_ll_utils.c * @author MCD Application Team * @brief UTILS LL module driver. ****************************************************************************** * @attention * * Copyright (c) 2021 STMicro...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_ll_utils.c
C
apache-2.0
32,517
@charset "UTF-8"; /* Flavor name: Custom (mini-custom) Generated online - https://minicss.org/flavors mini.css version: v3.0.1 */ /* Browsers resets and base typography. */ /* Core module CSS variable definitions */ :root { --fore-color: #03234b; --secondary-fore-color: #03234b; --back-color: #ffffff; -...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/drivers/STM32U5xx_HAL_Driver/_htmresc/mini-st_2020.css
CSS
apache-2.0
57,898
/* * Copyright (C) 2015-2021 Alibaba Group Holding Limited */ #include "k_api.h" #include "aos/hal/uart.h" #include "k_config.h" #include "board.h" #include "stm32u5xx_hal.h" extern UART_HandleTypeDef huart1; #define MAX_BUF_UART_BYTES 128 kbuf_queue_t g_buf_queue_uart; char g_buf_uart[MAX_BUF_UART_BYTES]; int32_...
YifuLiu/AliOS-Things
hardware/chip/stm32u5/hal/uart.c
C
apache-2.0
1,258
## # Copyright (C) 2017 C-SKY Microsystems Co., Ltd. All rights reserved. # # 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless ...
YifuLiu/AliOS-Things
kernel/rhino/csi.mk
Makefile
apache-2.0
8,836
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_API_H #define K_API_H /** @addtogroup rhino API * All rhino header files. * * @{ */ #include <stddef.h> #include <stdint.h> #include <string.h> #include <limits.h> #include "k_config.h" #include "k_default_config.h" #include "k_types.h...
YifuLiu/AliOS-Things
kernel/rhino/include/k_api.h
C
apache-2.0
1,071
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_ATOMIC_H #define K_ATOMIC_H #ifdef __cplusplus extern "C" { #endif typedef unsigned int atomic_t; typedef atomic_t atomic_val_t; extern atomic_val_t rhino_atomic_add(atomic_t *target, atomic_val_t value); extern atomic_val_t rhino_a...
YifuLiu/AliOS-Things
kernel/rhino/include/k_atomic.h
C
apache-2.0
1,150
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_BITMAP_H #define K_BITMAP_H #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino bitmap * Bit operation. * * @{ */ #define BITMAP_UNIT_SIZE 32U #define BITMAP_UNIT_MASK (BITMAP_UNIT_SIZE - 1) #define BITMAP_UNIT_BITS ...
YifuLiu/AliOS-Things
kernel/rhino/include/k_bitmap.h
C
apache-2.0
2,926
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_BUF_QUEUE_H #define K_BUF_QUEUE_H #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino bitmap * buf_queue passes the specified length information. * When receiving a message, it can cause task blocking. * When sending a messa...
YifuLiu/AliOS-Things
kernel/rhino/include/k_buf_queue.h
C
apache-2.0
5,483
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_CFS_H #define K_CFS_H #include "k_rbtree.h" #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino cfs * Completely Fair Scheduler. * * @{ */ typedef struct cfs_node_s { struct k_rbtree_node_t rbt_node; /* rbttree node *...
YifuLiu/AliOS-Things
kernel/rhino/include/k_cfs.h
C
apache-2.0
563
/* * Copyright (C) 2018 Alibaba Group Holding Limited */ /* modification history -------------------- 21jan2018,WangMin writen. */ /* DESCRIPTION This file provides base type of cpu set and method for cpu set. */ #ifndef __cpuset_h__ #define __cpuset_h__ #include "k_atomic.h" #ifdef __cplusplus extern "C" { #en...
YifuLiu/AliOS-Things
kernel/rhino/include/k_cpuset.h
C
apache-2.0
1,095
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_CRITICAL_H #define K_CRITICAL_H #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino critical * Critical zone protection, os use internally. * * @{ */ #if (RHINO_CONFIG_SYS_STATS > 0) /* For measure max int disable count */ ...
YifuLiu/AliOS-Things
kernel/rhino/include/k_critical.h
C
apache-2.0
1,564
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_DEFAULT_CONFIG_H #define K_DEFAULT_CONFIG_H #ifndef RHINO_CONFIG_USER_SPACE #define RHINO_CONFIG_USER_SPACE 0 #endif #ifndef RHINO_SCHED_NONE_PREEMPT #define RHINO_SCHED_NONE_PREEMPT 0 #endif #ifndef RHINO_CONFIG_STK_...
YifuLiu/AliOS-Things
kernel/rhino/include/k_default_config.h
C
apache-2.0
5,090
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_ERR_H #define K_ERR_H #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino err * System error code, and error hook. * * @{ */ /* Define basic errno for rhino modules */ typedef enum { RHINO_SUCCESS = 0u, RHINO_SYS_FA...
YifuLiu/AliOS-Things
kernel/rhino/include/k_err.h
C
apache-2.0
2,693
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_EVENT_H #define K_EVENT_H #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino event * Event can be used for tasks synchronize. * * @{ */ /** * event object */ typedef struct { /**< * Manage blocked tasks * ...
YifuLiu/AliOS-Things
kernel/rhino/include/k_event.h
C
apache-2.0
3,950
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_HOOK_H #define K_HOOK_H #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino hook * OS hook, called when specific OS operations * * @{ */ #if (RHINO_CONFIG_USER_HOOK > 0) /** * Called in 'krhino_init' - initialization proc...
YifuLiu/AliOS-Things
kernel/rhino/include/k_hook.h
C
apache-2.0
1,883
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_INTERNAL_H #define K_INTERNAL_H #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino internal * OS internal funtions * * @{ */ extern kstat_t g_sys_stat; extern uint8_t g_idle_task_spawned[RHINO_CONFIG_CPU_NUM]; extern runq...
YifuLiu/AliOS-Things
kernel/rhino/include/k_internal.h
C
apache-2.0
6,603
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_LIST_H #define K_LIST_H #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino list * List operations * * @{ */ /** * As a member of other structures, 'klist_t' can form a doubly linked list. */ typedef struct klist_s { ...
YifuLiu/AliOS-Things
kernel/rhino/include/k_list.h
C
apache-2.0
2,865
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_MM_H #define K_MM_H #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino mm * Heap memory management. * * @{ */ #if (RHINO_CONFIG_MM_TLF > 0) #define KMM_ERROR_LOCKED 1 #define KMM_ERROR_UNLOCKED 0 #if (RHINO_C...
YifuLiu/AliOS-Things
kernel/rhino/include/k_mm.h
C
apache-2.0
7,341
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_MM_BLK_H #define K_MM_BLK_H #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino mm * Pool memory management. Pool memory can be part of heap. * Pool is used to manage the little fixed-size block * * @{ */ #define MM_BLK_S...
YifuLiu/AliOS-Things
kernel/rhino/include/k_mm_blk.h
C
apache-2.0
3,899
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_MM_DEBUG_H #define K_MM_DEBUG_H #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino mm * Memory debug includes buffer over flow check, memory usage statistics, etc. * * @{ */ #if (RHINO_CONFIG_MM_DEBUG > 0) #define AOS_UNS...
YifuLiu/AliOS-Things
kernel/rhino/include/k_mm_debug.h
C
apache-2.0
1,038
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_MM_REGION_H #define K_MM_REGION_H #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino mm * * @{ */ /** * Heap regino parameter, for heap init. */ typedef struct { uint8_t *start; size_t len; } k_mm_region_t; /**...
YifuLiu/AliOS-Things
kernel/rhino/include/k_mm_region.h
C
apache-2.0
385
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_MUTEX_H #define K_MUTEX_H #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino mutex * Mutex can be used for mutual exclusion between tasks. * * @{ */ /** * mutex object */ typedef struct mutex_s { /**< * Manage ...
YifuLiu/AliOS-Things
kernel/rhino/include/k_mutex.h
C
apache-2.0
2,523
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_OBJ_H #define K_OBJ_H #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino obj * Internal object information * * @{ */ /** * Blocking strategy. * It determines which task can go first when they are waiting for one resource...
YifuLiu/AliOS-Things
kernel/rhino/include/k_obj.h
C
apache-2.0
2,195
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_QUEUE_H #define K_QUEUE_H #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino queue * Queue can be used for synchronous communication between tasks. * * @{ */ #define WAKE_ONE_TASK 0u #define WAKE_ALL_TASK 1u /** * queue ...
YifuLiu/AliOS-Things
kernel/rhino/include/k_queue.h
C
apache-2.0
3,931
/* * Copyright (C) 2015-2019 Alibaba Group Holding Limited */ #ifndef _K_RBTREE_H #define _K_RBTREE_H #include <stdio.h> #include <stddef.h> #include <stdint.h> #include <string.h> #include <limits.h> struct k_rbtree_node_t { unsigned long rbt_parent_color; struct k_rbtree_node_t *rbt_right; struct k_...
YifuLiu/AliOS-Things
kernel/rhino/include/k_rbtree.h
C
apache-2.0
7,216
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_MM_RINGBUF_H #define K_MM_RINGBUF_H #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino ringbuf * Ringbuf is a FIFO communication mechanism. * * @{ */ /** * The msg size of each push and pop operation is fixed, and it is d...
YifuLiu/AliOS-Things
kernel/rhino/include/k_ringbuf.h
C
apache-2.0
1,951
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_SCHED_H #define K_SCHED_H #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino sched * Task schedule. * * @{ */ #define KSCHED_FIFO 0u #define KSCHED_RR 1u #define KSCHED_CFS 2u #define SCHED_M...
YifuLiu/AliOS-Things
kernel/rhino/include/k_sched.h
C
apache-2.0
1,344
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_SEM_H #define K_SEM_H #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino sem * Semaphore can be used for mutual exclusion between tasks, or tasks synchronize. * * @{ */ #define WAKE_ONE_SEM 0u #define WAKE_ALL_SEM 1u /** ...
YifuLiu/AliOS-Things
kernel/rhino/include/k_sem.h
C
apache-2.0
3,308
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_SOC_H #define K_SOC_H #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino soc * SOC hardware functions. * * @{ */ #if (RHINO_CONFIG_HW_COUNT > 0) /** * Hardware timer init. * * @param[in] NULL * * @return NULL */ v...
YifuLiu/AliOS-Things
kernel/rhino/include/k_soc.h
C
apache-2.0
1,167
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_SPIN_LOCK_H #define K_SPIN_LOCK_H #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino spinlock * Spinlock can be used for mutual exclusion between multi-cores. * * @{ */ /** * spinlock object */ typedef struct { volat...
YifuLiu/AliOS-Things
kernel/rhino/include/k_spin_lock.h
C
apache-2.0
4,326
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_STATS_H #define K_STATS_H #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino stats * OS statistic * * @{ */ #if (RHINO_CONFIG_KOBJ_LIST > 0) /** * Init statistic list. * * @param[in] NULL * * @return NULL */ void k...
YifuLiu/AliOS-Things
kernel/rhino/include/k_stats.h
C
apache-2.0
1,129
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_SYS_H #define K_SYS_H #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino sys * OS system functions * * @{ */ #define RHINO_VERSION 12000 #define RHINO_IDLE_PRI (RHINO_CONFIG_PRI_MAX - 1) #define RHINO_NO_WAIT ...
YifuLiu/AliOS-Things
kernel/rhino/include/k_sys.h
C
apache-2.0
2,318
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_TASK_H #define K_TASK_H #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino task * Task management * * @{ */ /** * Task status */ typedef enum { K_SEED, K_RDY, /**< READY, task in ready list (g_ready...
YifuLiu/AliOS-Things
kernel/rhino/include/k_task.h
C
apache-2.0
15,200
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_TASK_SEM_H #define K_TASK_SEM_H #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino task_sem * Task-semaphore can be used for tasks synchronize. * * @{ */ /** * Create a semaphore and attach it to the task. * * @param[in...
YifuLiu/AliOS-Things
kernel/rhino/include/k_task_sem.h
C
apache-2.0
1,917
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_TIME_H #define K_TIME_H #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino time * Time management * * @{ */ /** * Systick routine handler. * * @param[in] NULL * * @return NULL */ void krhino_tick_proc(void); /** ...
YifuLiu/AliOS-Things
kernel/rhino/include/k_time.h
C
apache-2.0
1,018
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_TIMER_H #define K_TIMER_H #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino timer * Timer management * * @{ */ /** * Timer operation */ enum { TIMER_CMD_CB = 0u, TIMER_CMD_START, TIMER_CMD_STOP, TIMER_CM...
YifuLiu/AliOS-Things
kernel/rhino/include/k_timer.h
C
apache-2.0
4,958
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_TRACE_H #define K_TRACE_H #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino trace * Trace * * @{ */ #ifdef AOS_COMP_TRACE #define SYSVIEW_TRACE_ID_SEM_BASE (40u) #define SYSVIEW_TRACE_ID_SEM_CREATE ( 1u + S...
YifuLiu/AliOS-Things
kernel/rhino/include/k_trace.h
C
apache-2.0
11,802
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_WORKQUEUE_H #define K_WORKQUEUE_H #ifdef __cplusplus extern "C" { #endif /** @addtogroup aos_rhino workqueue * workqueue * * @{ */ #if (RHINO_CONFIG_WORKQUEUE > 0) #define WORKQUEUE_WORK_MAX 32 typedef void (*work_handle_t)(void *arg);...
YifuLiu/AliOS-Things
kernel/rhino/include/k_workqueue.h
C
apache-2.0
2,707
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ /* * DESCRIPTION * This library is used to provide the atomic operators for CPU * which do not support native atomic operations. * * The design principle is disable the interrupt when execute the * atomic operations and enable the interrupt after fi...
YifuLiu/AliOS-Things
kernel/rhino/k_atomic.c
C
apache-2.0
7,416
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #include "k_api.h" #if (RHINO_CONFIG_BUF_QUEUE > 0) static kstat_t buf_queue_create(kbuf_queue_t *queue, const name_t *name, void *buf, size_t size, size_t max_msg, uint8_t mm_alloc_flag, size_t type) { #if (RHINO_CONFIG_...
YifuLiu/AliOS-Things
kernel/rhino/k_buf_queue.c
C
apache-2.0
10,144
/* * Copyright (C) 2015-2019 Alibaba Group Holding Limited */ #include "k_api.h" #if (RHINO_CONFIG_SCHED_CFS > 0) static struct k_rbtree_root_t cfs_root = RBT_ROOT; /* * Insert @key into rbtree, On success, return 0, else return -1 */ static void node_insert(struct k_rbtree_root_t *root, cfs_node *node, lr_time...
YifuLiu/AliOS-Things
kernel/rhino/k_cfs.c
C
apache-2.0
1,687