OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [HCS12_CodeWarrior_small/] [CODE/] [ButtonInterrupt.H] - Blame information for rev 588

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 588 jeremybenn
/** ###################################################################
2
**     THIS BEAN MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
3
**     Filename  : ButtonInterrupt.H
4
**     Project   : RTOSDemo
5
**     Processor : MC9S12C32CFU
6
**     Beantype  : ExtInt
7
**     Version   : Bean 02.025, Driver 01.06, CPU db: 2.87.276
8
**     Compiler  : Metrowerks HC12 C Compiler
9
**     Date/Time : 19/05/2005, 19:02
10
**     Abstract  :
11
**         This bean "ExtInt" implements an external
12
**         interrupt, its control methods and interrupt/event
13
**         handling procedure.
14
**         The bean uses one pin which generates interrupt on
15
**         selected edge.
16
**     Settings  :
17
**         Interrupt name              : INT_PortP
18
**         User handling procedure     : ButtonInterrupt_OnInterrupt
19
**
20
**         Used pin                    :
21
**             ----------------------------------------------------
22
**                Number (on package)  |    Name
23
**             ----------------------------------------------------
24
**                       4             |  PP0_PWM0_KWP0
25
**             ----------------------------------------------------
26
**
27
**         Port name                   : P
28
**
29
**         Bit number (in port)        : 0
30
**         Bit mask of the port        : 1
31
**
32
**         Signal edge/level           : falling
33
**         Priority                    : 1
34
**         Pull option                 : up
35
**         Initial state               : Disabled
36
**
37
**         Edge register               : PPSP      [605]
38
**         Priority register           : HPRIO     [31]
39
**         Enable register             : PIEP      [606]
40
**         Request register            : PIFP      [607]
41
**
42
**         Port data register          : PTP       [600]
43
**         Port control register       : DDRP      [602]
44
**     Contents  :
45
**         Enable - void ButtonInterrupt_Enable(void);
46
**
47
**     (c) Copyright UNIS, spol. s r.o. 1997-2002
48
**     UNIS, spol. s r.o.
49
**     Jundrovska 33
50
**     624 00 Brno
51
**     Czech Republic
52
**     http      : www.processorexpert.com
53
**     mail      : info@processorexpert.com
54
** ###################################################################*/
55
 
56
#ifndef __ButtonInterrupt_H
57
#define __ButtonInterrupt_H
58
 
59
/* MODULE ButtonInterrupt. */
60
 
61
/*Including shared modules, which are used in the whole project*/
62
#include "PE_Types.h"
63
#include "PE_Error.h"
64
#include "PE_Const.h"
65
#include "IO_Map.h"
66
#include "PE_Timer.h"
67
#include "Events.h"
68
#include "Cpu.h"
69
 
70
#pragma CODE_SEG ButtonInterrupt_CODE  /* Code section for this module. */
71
 
72
void ButtonInterrupt_Enable(void);
73
/*
74
** ===================================================================
75
**     Method      :  ButtonInterrupt_Enable (bean ExtInt)
76
**
77
**     Description :
78
**         Enable the bean - the external events are accepted.
79
**     Parameters  : None
80
**     Returns     : Nothing
81
** ===================================================================
82
*/
83
 
84
#pragma CODE_SEG __NEAR_SEG NON_BANKED /* Interrupt section for this module. Placement will be in NON_BANKED area. */
85
__interrupt void ButtonInterrupt_Interrupt(void);
86
#pragma CODE_SEG ButtonInterrupt_CODE  /* Code section for this module. */
87
/*
88
** ===================================================================
89
**     Method      :  ButtonInterrupt_Interrupt (bean ExtInt)
90
**
91
**     Description :
92
**         This method is internal. It is used by Processor Expert
93
**         only.
94
** ===================================================================
95
*/
96
 
97
#pragma CODE_SEG DEFAULT               /* Change code section to DEFAULT. */
98
 
99
/* END ButtonInterrupt. */
100
 
101
#endif /* __ButtonInterrupt_H*/
102
/*
103
** ###################################################################
104
**
105
**     This file was created by UNIS Processor Expert 03.33 for
106
**     the Motorola HCS12 series of microcontrollers.
107
**
108
** ###################################################################
109
*/

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.