MDK-ARM Keil, MDK-ARM Datasheet - Page 29
![KIT REALVIEW MCU DEVELOPMENT](/photos/9/32/93274/mdk-arm_sml.jpg)
MDK-ARM
Manufacturer Part Number
MDK-ARM
Description
KIT REALVIEW MCU DEVELOPMENT
Manufacturer
Keil
Type
Compiler and IDEr
Specifications of MDK-ARM
For Use With/related Products
ARM MCUs
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 29 of 156
- Download datasheet (3Mb)
Getting Started: Building Applications with RL-ARM
29
Any task can set the event flags of any other task in a system with the
os_evt_set() RTX function call. We use the task ID to select the task.
void os_evt_set (unsigned short event_flags, OS_TID task);
As well as setting a task’s event flags, it is also possible to clear selected flags.
void os_evt_clr (U16 clear_flags, OS_TID task);
When a task resumes execution after it has been waiting for an os_evt_wait_or()
function to complete, it may need to determine which event flag has been set.
The os_evt_get() function allows you to determine the event flag that was set.
You can then execute the correct code for this condition.
which_flag = os_evt_get ();
Exercise: Events
This exercise extends the simple two-task-example and uses event flags to
synchronize the activity between the active tasks.
RTOS Interrupt Handling
The use of event flags is a simple and efficient method of controlling actions
between tasks. Event flags are also an important method of triggering tasks to
respond to interrupt sources within the ARM processor-based microcontroller.
While it is possible to run C code in an interrupt service routine (ISR), this is not
desirable within an RTX-based application. This is because on an ARM7/9
based device you will disable further general-purpose interrupts until you quit the
ISR. This delays the timer tick and disrupts the RTX kernel. This is less of a
problem on Cortex-M profile-based devices, as the Cortex-M interrupt structure
supports nested interrupts. However, it is still good practice to keep the time
spent in interrupts to a minimum.
A traditional nested interrupt
scheme supports prioritized
interrupt handling, but has
unpredictable stack
requirements.
Related parts for MDK-ARM
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![MDK-ARM-B](/photos/28/43/284363/mdk-arm-basic_tmb.jpg)
Part Number:
Description:
KIT REALVIEW MCU DEVELOPMENT
Manufacturer:
Keil
Datasheet:
![MDK-ARM-B-SM](/photos/15/87/158780/keil_software_tmb.jpg)
Part Number:
Description:
Development Software SUPPORT EXTENSION FOR MDK-ARM-B
Manufacturer:
Keil Software
![MDK-ARM-SM](/photos/15/87/158780/keil_software_tmb.jpg)
Part Number:
Description:
Development Software SUPPORT EXTENSION FOR MDK-ARM
Manufacturer:
Keil Software
![MDK-ARM-BASIC](/photos/28/43/284363/mdk-arm-basic_tmb.jpg)
Part Number:
Description:
KIT REALVIEW MCU DEVELOPMENT
Manufacturer:
Keil
Datasheet:
![MDK-ARM-UF](/photos/15/87/158780/keil_software_tmb.jpg)
Part Number:
Description:
Development Software MCU DEV KIT FOR ARM UPG TO FLOATING LIC
Manufacturer:
Keil Tools
![MDK-ARM-F](/photos/15/87/158780/keil_software_tmb.jpg)
Part Number:
Description:
Development Software MCU DEV KIT FOR ARM W/ FLOATING LICENSE
Manufacturer:
Keil Software
![MDK-ARM3.1](/photos/26/86/268691/landingpagekeilrealviewarmkit_tmb.jpg)
Part Number:
Description:
Development Software MCU DEV KIT FOR ARM uVISION & C++ & RTX
Manufacturer:
Keil Tools
![MDK-ARM-SMB](/images/no-image3.png)
Part Number:
Description:
Development Software SUPP LICENSE RENEWAL 90+ DAYS NO TECH SUP
Manufacturer:
Keil Software
![KEIL-PK51-INTL](/images/manufacturer_photos/0/6/609/silicon_laboratories_inc_tmb.jpg)
Part Number:
Description:
KEIL C-COMPILER INTERNATIONAL
Manufacturer:
Silicon Laboratories Inc
![OM10045](/photos/9/21/92162/om10045_tmb.jpg)
Part Number:
Description:
BOARD EVAL FOR LPC213X ARM MCU
Manufacturer:
NXP Semiconductors
Datasheet:
![TWR-K60N512-KEIL](/images/manufacturer_photos/0/2/262/freescale_semiconductor_tmb.jpg)
Part Number:
Description:
K60N512 Keil Tower Kit
Manufacturer:
Freescale Semiconductor
Datasheet: