mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-06-13 04:33:18 +08:00
c40b79037c
pkgs_test / change (push) Has been skipped
AutoTestCI / components/cpp11 (push) Has been cancelled
AutoTestCI / kernel/atomic (push) Has been cancelled
AutoTestCI / kernel/atomic/riscv64 (push) Has been cancelled
AutoTestCI / kernel/atomic_c11 (push) Has been cancelled
AutoTestCI / kernel/atomic_c11/riscv64 (push) Has been cancelled
AutoTestCI / kernel/device (push) Has been cancelled
AutoTestCI / kernel/ipc (push) Has been cancelled
AutoTestCI / kernel/irq (push) Has been cancelled
AutoTestCI / kernel/mem (push) Has been cancelled
AutoTestCI / kernel/mem/riscv64 (push) Has been cancelled
AutoTestCI / kernel/thread (push) Has been cancelled
AutoTestCI / kernel/timer (push) Has been cancelled
AutoTestCI / rtsmart/aarch64 (push) Has been cancelled
AutoTestCI / rtsmart/arm (push) Has been cancelled
AutoTestCI / rtsmart/riscv64 (push) Has been cancelled
AutoTestCI / components/utest (push) Has been cancelled
RT-Thread BSP Static Build Check / ESP32C3 (push) Has been cancelled
RT-Thread BSP Static Build Check / Infineon_TI_microchip (push) Has been cancelled
RT-Thread BSP Static Build Check / RT-Thread Online Packages (STM32F407 RT-Spark) (push) Has been cancelled
RT-Thread BSP Static Build Check / RTduino/Arduino Libraries (Raspberry Pico) (push) Has been cancelled
RT-Thread BSP Static Build Check / RTduino/Arduino Libraries (STM32F412 Nucleo) (push) Has been cancelled
RT-Thread BSP Static Build Check / aarch64 (push) Has been cancelled
RT-Thread BSP Static Build Check / gd32_n32_apm32 (push) Has been cancelled
RT-Thread BSP Static Build Check / hpmicro (push) Has been cancelled
RT-Thread BSP Static Build Check / i386-unknown (push) Has been cancelled
RT-Thread BSP Static Build Check / llvm-arm (push) Has been cancelled
RT-Thread BSP Static Build Check / mips (push) Has been cancelled
RT-Thread BSP Static Build Check / nordic(yml) (push) Has been cancelled
RT-Thread BSP Static Build Check / nuvoton (push) Has been cancelled
RT-Thread BSP Static Build Check / nxp_renesas (push) Has been cancelled
RT-Thread BSP Static Build Check / others_at32_hc32_ht32 (push) Has been cancelled
RT-Thread BSP Static Build Check / riscv-none (push) Has been cancelled
RT-Thread BSP Static Build Check / riscv64-unknown (push) Has been cancelled
RT-Thread BSP Static Build Check / simulator (push) Has been cancelled
RT-Thread BSP Static Build Check / stm32_f2_f4 (push) Has been cancelled
RT-Thread BSP Static Build Check / stm32_f7_g0_h7_mp15_u5_h5_wb5 (push) Has been cancelled
RT-Thread BSP Static Build Check / stm32l4_f0_f1 (push) Has been cancelled
BSP compilation with more drivers / BSP Compilation with More Drivers (push) Has been cancelled
doc_doxygen / doxygen_doc generate (push) Has been cancelled
doc_doxygen / deploy (push) Has been cancelled
* doxygen: add prefix for groups
Add "group_" prefix to doxygen group names. This makes
it easier to grep with group name later.
This patch only modifies the groups defined in the pathes
of INPUT of documentation/Doxyfile:
INPUT = . \
../src \
../include \
../components/finsh \
../components/drivers/include/drivers \
../components/drivers/clk \
../components/dfs/dfs_v2/src \
../components/dfs/dfs_v2/include
Other groups are not touched.
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
* ci: fixed error report when run file_check.py
Such as:
- "please delete extra space at the end of this line."
- "the RT-Thread error code should return negative value. e.g. return
-RT_ERROR"
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
---------
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
78 lines
2.1 KiB
C
78 lines
2.1 KiB
C
/*
|
|
* This file is only used for doxygen document generation.
|
|
*/
|
|
|
|
/**
|
|
* @defgroup group_bsp Hardware Related Package
|
|
*
|
|
* @brief Hardware Related Package includes board support package(BSP) and CSP(Chip
|
|
* Support Package).
|
|
*
|
|
* Board Support Package(BSP) is the hardware related wrapper, for example, peripherals
|
|
* in board, the pinmux setting etc. In RT-Thread RTOS, the bsp is placed under bsp
|
|
* directory.
|
|
*
|
|
* Chip Support Package(CSP) is a software set that contains chip specific software.
|
|
* A CSP usually includes operating system porting and peripheral device drivers inside
|
|
* chip. In RT-Thread RTOS, the csp is placed under libcpu directory.
|
|
*/
|
|
|
|
/**
|
|
* @addtogroup group_bsp
|
|
* @{
|
|
*/
|
|
|
|
/**
|
|
* This function will return current system interrupt status and disable system
|
|
* interrupt.
|
|
*
|
|
* @return the current system interrupt status.
|
|
*/
|
|
rt_base_t rt_hw_interrupt_disable(void);
|
|
|
|
/**
|
|
* This function will set the specified interrupt status, which shall saved by
|
|
* rt_hw_intterrupt_disable function. If the saved interrupt status is interrupt
|
|
* opened, this function will open system interrupt status.
|
|
*
|
|
* @param level the interrupt status to be set.
|
|
*/
|
|
void rt_hw_interrupt_enable(rt_base_t level);
|
|
|
|
/**
|
|
* This function initializes interrupt.
|
|
*/
|
|
void rt_hw_interrupt_init(void);
|
|
|
|
/**
|
|
* This function masks the specified interrupt.
|
|
*
|
|
* @param vector the interrupt number to be masked.
|
|
*
|
|
* @note not all of platform provide this function.
|
|
*/
|
|
void rt_hw_interrupt_mask(int vector);
|
|
|
|
/**
|
|
* This function umasks the specified interrupt.
|
|
*
|
|
* @param vector the interrupt number to be unmasked.
|
|
*
|
|
* @note not all of platform provide this function.
|
|
*/
|
|
void rt_hw_interrupt_umask(int vector);
|
|
|
|
/**
|
|
* This function will install specified interrupt handler.
|
|
*
|
|
* @param vector the interrupt number to be installed.
|
|
* @param new_handler the new interrupt handler.
|
|
* @param old_handler the old interrupt handler. This parameter can be RT_NULL.
|
|
*
|
|
* @note not all of platform provide this function.
|
|
*/
|
|
void rt_hw_interrupt_install(int vector, rt_isr_handler_t new_handler,
|
|
rt_isr_handler_t *old_handler);
|
|
|
|
/**@}*/
|