Detailed Description
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.
Function Documentation
This function will return current system interrupt status and disable system interrupt.
- Returns:
- the current system interrupt status
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.
This function initializes interrupt.
This function masks the specified interrupt.
- Parameters:
-
vector | the interrupt number to be masked. |
- Note:
- not all of platform provide this function.
This function umasks the specified interrupt.
- Parameters:
-
vector | the interrupt number to be unmasked. |
- Note:
- not all of platform provide this function.
This function will install specified interrupt handler.
- Parameters:
-
vector | the interrupt number to be installed. |
new_handler | the new interrupt handler. |
old_handler | the old interrupt handler. This parameter can be RT_NULL. |
- Note:
- not all of platform provide this function.
This function will reset whole platform.
This function will halt whole platform.