OS
OS
OS
Purpose: The ISR is the first handler that responds immediately when an interrupt
occurs.
Execution: It executes at a high priority, directly in response to the hardware
interrupt, often with interrupts disabled.
Functionality: ISR handles time-critical tasks that must be dealt with immediately,
like acknowledging the interrupt or performing minimal, high-priority tasks.
Time Sensitivity: ISRs are meant to be short and fast to avoid blocking other
interrupts or processes for too long.
Purpose: The DSR completes tasks that were initiated by the ISR but are not time-
critical.
Execution: It runs after the ISR, at a lower priority, when the system has re-enabled
interrupts and is not in the middle of handling more immediate tasks.
Functionality: DSRs perform more complex or time-consuming operations that the
ISR deferred, such as processing data, updating state, or waking tasks.
Time Sensitivity: DSRs allow the system to handle less urgent parts of the interrupt
without disrupting real-time constraints.
13.8.
Threads, Mutexes, Semaphores, Event Flags, Condition Variables, Message Queues, dan
Thread Priorities.
13.9.
13.10.
TinyOS is designed with key goals like energy efficiency and minimal resource usage,
making it ideal for devices with limited power, memory, and processing capabilities. Its
event-driven model ensures efficient handling of tasks, conserving energy by keeping the
CPU idle when not needed. Modularity allows developers to include only the necessary
components, while its lightweight concurrency mechanisms manage tasks effectively. The OS
is also scalable, supporting both small devices and large distributed networks, making it well-
suited for wireless sensor networks and IoT applications.
13.11.
A TinyOS component is a modular unit that encapsulates specific functionality, like sensing
or communication, and interacts with other components through commands and events.
Components are connected by wiring interfaces, allowing flexible composition and reuse in
different applications.
13.12.
Kernel, Components, Network Stack, Device Drivers.
13.13.
FIFO, or first-in, first-out