Skip to content

Commit 9f0d2d0

Browse files
committed
Documentation and config fix
1 parent 26500d5 commit 9f0d2d0

3 files changed

Lines changed: 111 additions & 1 deletion

File tree

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
/******************************************************************************
2+
* @file irq_handler.c
3+
* @brief CMSIS-FreeRTOS Interrupt Handler
4+
* @version 9.1.0
5+
* @date 11 Aug 2017
6+
*
7+
* @note
8+
*
9+
******************************************************************************/
10+
/*
11+
* Copyright (c) 2017 Arm Limited. All rights reserved.
12+
*
13+
* SPDX-License-Identifier: Apache-2.0
14+
*
15+
* Licensed under the Apache License, Version 2.0 (the License); you may
16+
* not use this file except in compliance with the License.
17+
* You may obtain a copy of the License at
18+
*
19+
* www.apache.org/licenses/LICENSE-2.0
20+
*
21+
* Unless required by applicable law or agreed to in writing, software
22+
* distributed under the License is distributed on an AS IS BASIS, WITHOUT
23+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24+
* See the License for the specific language governing permissions and
25+
* limitations under the License.
26+
*/
27+
28+
#include <stddef.h>
29+
30+
#include "RTE_Components.h"
31+
#include CMSIS_device_header
32+
#include "irq_ctrl.h"
33+
34+
/* The function called by the RTOS port layer after it has managed interrupt
35+
entry. */
36+
void vApplicationIRQHandler( uint32_t ulICCIAR )
37+
{
38+
uint32_t ulInterruptID;
39+
IRQHandler_t h;
40+
41+
/* Re-enable interrupts. */
42+
__enable_irq();
43+
44+
/* The ID of the interrupt can be obtained by bitwise anding the ICCIAR value
45+
with 0x3FF. */
46+
ulInterruptID = ulICCIAR & 0x3FFUL;
47+
48+
/* Call the function installed in the array of installed handler functions. */
49+
h = IRQ_GetHandler (ulInterruptID);
50+
51+
/* Call handler function */
52+
if (h != NULL) {
53+
h();
54+
}
55+
}
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
/******************************************************************************
2+
* @file irq_handler.c
3+
* @brief CMSIS-FreeRTOS Interrupt Handler
4+
* @version 9.1.0
5+
* @date 11 Aug 2017
6+
*
7+
* @note
8+
*
9+
******************************************************************************/
10+
/*
11+
* Copyright (c) 2017 Arm Limited. All rights reserved.
12+
*
13+
* SPDX-License-Identifier: Apache-2.0
14+
*
15+
* Licensed under the Apache License, Version 2.0 (the License); you may
16+
* not use this file except in compliance with the License.
17+
* You may obtain a copy of the License at
18+
*
19+
* www.apache.org/licenses/LICENSE-2.0
20+
*
21+
* Unless required by applicable law or agreed to in writing, software
22+
* distributed under the License is distributed on an AS IS BASIS, WITHOUT
23+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24+
* See the License for the specific language governing permissions and
25+
* limitations under the License.
26+
*/
27+
28+
#include <stddef.h>
29+
30+
#include "RTE_Components.h"
31+
#include CMSIS_device_header
32+
#include "irq_ctrl.h"
33+
34+
/* The function called by the RTOS port layer after it has managed interrupt
35+
entry. */
36+
void vApplicationIRQHandler( uint32_t ulICCIAR )
37+
{
38+
uint32_t ulInterruptID;
39+
IRQHandler_t h;
40+
41+
/* Re-enable interrupts. */
42+
__enable_irq();
43+
44+
/* The ID of the interrupt can be obtained by bitwise anding the ICCIAR value
45+
with 0x3FF. */
46+
ulInterruptID = ulICCIAR & 0x3FFUL;
47+
48+
/* Call the function installed in the array of installed handler functions. */
49+
h = IRQ_GetHandler (ulInterruptID);
50+
51+
/* Call handler function */
52+
if (h != NULL) {
53+
h();
54+
}
55+
}

DoxyGen/General/src/cmsis_freertos.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ File/Directory |Content
6060
<td>10.2.0</td>
6161
<td>
6262
<p><b>FreeRTOS V10.2.0</b></p>
63-
<p>Maintenance release for CMSIS 5.5.1:
63+
<p>Maintenance release for CMSIS 5.4.0:
6464
<ul>
6565
<li>RTOS2 API 2.1.3</li>
6666
<li>Updated Arm standard C library interface</li>

0 commit comments

Comments
 (0)