Freescale Semiconductor Inc.
    Regional Technical Application Center

 

Main Page | Class List | Directories | File List | File Members | Related Pages

Tasks.h File Reference

Tasks to be assigned to each execution thread of Task scheduler. More...

#include "Derivative.h"
#include "Pwm_Cfg.h"

Go to the source code of this file.

Defines

#define EXECUTE_100MS_TASKS()
#define EXECUTE_200MS_TASKS()
#define EXECUTE_400MS_TASKS()
#define EXECUTE_800MS_A_TASKS()
#define EXECUTE_800MS_B_TASKS()   {;}

Variables

uint8_t gu8Index


Detailed Description

Tasks to be assigned to each execution thread of Task scheduler.

Copyright (c) 2008 Freescale Semiconductor Freescale Confidential Proprietary

Author:
Freescale Semiconductor

Guadalajara Applications Laboratory RTAC Americas

R01160

Version:
0.1
Date:
21/May/2008

Define Documentation

 
#define EXECUTE_100MS_TASKS  ) 
 

Value:

{                                                           \
   vfnSetDuty_Cycle(PWM_CHANNEL_0,DTY_AT_50P_WITH_150HZ);   \
}
List of tasks to be executed @ 100ms

 
#define EXECUTE_200MS_TASKS  ) 
 

Value:

{                                                           \
   vfnSetDuty_Cycle(PWM_CHANNEL_1,DTY_AT_70P_WITH_100HZ);   \
}
List of tasks to be executed @ 200ms

 
#define EXECUTE_400MS_TASKS  ) 
 

Value:

{                                                                                   \
    vfnSetPeriodAndDuty(PWM_CHANNEL_2, SET_PERIOD_AT_100HZ ,DTY_AT_5P_WITH_100HZ);  \
}
List of tasks to be executed @ 50ms

 
#define EXECUTE_800MS_A_TASKS  ) 
 

Value:

{                                \
    vfnSetPeriodAndDuty(PWM_CHANNEL_3, SET_PERIOD_AT_100HZ ,DTY_AT_20P_WITH_100HZ);  \
}
List of tasks to be executed @ 800ms, first group