Apps     Components     Interfaces     All Files     Source Tree     source: apps.BlinkTask.BlinkTaskM.nc

Component: BlinkTaskM

Implementation for Blink application. Toggle the red LED when the timer fires, using tasks.
Author: Su Ping <sping@intel-research.net>
  Intel Research Berkeley Lab

Required Interfaces

Provided Interfaces

Variables

Function Index

Function Descriptions

StdControl.init

command result_t StdControl.init (void)

Initialize the component.
Returns: Always returns SUCCESS

StdControl.start

command result_t StdControl.start (void)

Start things up. This sets the rate for the clock component.
Returns: Always returns SUCCESS

StdControl.stop

command result_t StdControl.stop (void)

Start things up. This just sets the rate for the clock component.
Returns: Always returns SUCCESS

processing

task void processing(void)

Module task: processing Toggles the red LED only. The task is triggered by the Timer.fired event.
Returns: None

Timer.fired

event result_t Timer.fired (void)

Toggle the red LED in response to the Timer.fired event using the processing task.
Returns: Always returns SUCCESS