Freescale Semiconductor Inc.
    Regional Technical Application Center

 

E:/PROJECTS/IOP/ADC Average/Src/ADC_Filter/ADC_Filter_Drv/src/Emios.c File Reference

This file handles Multi-Thread Scheduler timebase. More...

#include "Emios.h"

Include dependency graph for Emios.c:


Functions

void vfnEmiosConfig_General_Clocks (void)
 Enable General Emios Clocks.
void vfnEmios_Init_Channel (uint8_t u8EmiosChannel, uint8_t u8Emios_Interrupt_Num)
 Initialize specific emios channel.
void vfnEmios_Modulous_Cntr_Mode (uint8_t u8EmiosChannel, uint32_t u32Timming)
 Configures the Emios Modulus Counter Mode and starts the Specific Emios channel.
void vfnEmios_Set_Callback_Fnc (const Emios_CallbackType Callback_Fnc, uint8_t u8FncCallback)
 Sets the function to which the emios interrupt shall
jump once interrupt occurs.
void vfnEmios_Isr_0 (void)
 Service Interrupt routine from Emios channel 0.
void vfnEmios_Isr_1 (void)
 Service Interrupt routine from Emios channel 0.
void vfnEmios_Isr_2 (void)
 Service Interrupt routine from Emios channel 2.
void vfnEmios_Isr_3 (void)
 Service Interrupt routine from Emios channel 3.
void vfnEmios_Isr_4 (void)
 Service Interrupt routine from Emios channel 4.
void vfnEmios_Isr_5 (void)
 Service Interrupt routine from Emios channel 5.
void vfnEmios_Isr_6 (void)
 Service Interrupt routine from Emios channel 6.
void vfnEmios_Isr_7 (void)
 Service Interrupt routine from Emios channel 7.
void vfnEmios_Isr_9 (void)
 Service Interrupt routine from Emios channel 9
this interrupt calls Scheduler function.

Variables

Emios_CallbackType Emios_CallBack_1
Emios_CallbackType Emios_CallBack_2
Emios_CallbackType Emios_CallBack_3
Emios_CallbackType Emios_CallBack_4
Emios_CallbackType Emios_CallBack_5
Emios_CallbackType Emios_CallBack_6
Emios_CallbackType Emios_CallBack_7
Emios_CallbackType Emios_CallBack_8
Emios_CallbackType Emios_CallBack_9

Detailed Description

This file handles Multi-Thread Scheduler timebase.

Copyright (c) 2008 Freescale Semiconductor Freescale Confidential Proprietary

Author:
Freescale Semiconductor

Guadalajara Applications Laboratory RTAC Americas

R01160

Version:
0.1
Date:
5/23/2008

Function Documentation

void vfnEmios_Init_Channel ( uint8_t  u8EmiosChannel,
uint8_t  u8Emios_Interrupt_Num 
)

Initialize specific emios channel.

Author:
R01160
Parameters:
Emios Channel, Interrupt Vector Number.
Returns:
void
Warning:
This function does not intialize the emios pin functionality of the MCU
neither the operation mode of the Emios channel.

void vfnEmios_Isr_0 ( void   ) 

Service Interrupt routine from Emios channel 0.

Author:
R01160
Parameters:
none 
Returns:
none

void vfnEmios_Isr_1 ( void   ) 

Service Interrupt routine from Emios channel 0.

Author:
R01160
Parameters:
none 
Returns:
none

void vfnEmios_Isr_2 ( void   ) 

Service Interrupt routine from Emios channel 2.

Author:
R01160
Parameters:
none 
Returns:
none

void vfnEmios_Isr_3 ( void   ) 

Service Interrupt routine from Emios channel 3.

Author:
R01160
Parameters:
none 
Returns:
none

void vfnEmios_Isr_4 ( void   ) 

Service Interrupt routine from Emios channel 4.

Author:
R01160
Parameters:
none 
Returns:
none

void vfnEmios_Isr_5 ( void   ) 

Service Interrupt routine from Emios channel 5.

Author:
R01160
Parameters:
none 
Returns:
none

void vfnEmios_Isr_6 ( void   ) 

Service Interrupt routine from Emios channel 6.

Author:
R01160
Parameters:
none 
Returns:
none

void vfnEmios_Isr_7 ( void   ) 

Service Interrupt routine from Emios channel 7.

Author:
R01160
Parameters:
none 
Returns:
none

void vfnEmios_Isr_9 ( void   ) 

Service Interrupt routine from Emios channel 9
this interrupt calls Scheduler function.

Author:
R01160
Parameters:
none 
Returns:
none

void vfnEmios_Modulous_Cntr_Mode ( uint8_t  u8EmiosChannel,
uint32_t  u32Timming 
)

Configures the Emios Modulus Counter Mode and starts the Specific Emios channel.

Author:
R01160
Parameters:
Emios Channel, Timming Interrupt.
Returns:
void
Warning:
This functions works only to operate the Modulus Up counter of the
Emios module.

void vfnEmios_Set_Callback_Fnc ( const Emios_CallbackType  Callback_Fnc,
uint8_t  u8FncCallback 
)

Sets the function to which the emios interrupt shall
jump once interrupt occurs.

Author:
R01160
Parameters:
Emios_CallbackType - Callback type definition, Fnc Callback
to be used.
Returns:
none
Warning:
this function will skip any null pointer parameter passed
as a input parameter.

void vfnEmiosConfig_General_Clocks ( void   ) 

Enable General Emios Clocks.

Author:
R01160
Parameters:
void 
Returns:
void


Variable Documentation

Emsci Callback types