-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEvents.h
More file actions
207 lines (193 loc) · 6.66 KB
/
Events.h
File metadata and controls
207 lines (193 loc) · 6.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
/* ###################################################################
** Filename : Events.h
** Project : Lab_6
** Processor : MK64FN1M0VLL12
** Component : Events
** Version : Driver 01.00
** Compiler : GNU C Compiler
** Date/Time : 2022-11-08, 14:11, # CodeGen: 0
** Abstract :
** This is user's event module.
** Put your event handler code here.
** Contents :
** Cpu_OnNMI - void Cpu_OnNMI(void);
**
** ###################################################################*/
/*!
** @file Events.h
** @version 01.00
** @brief
** This is user's event module.
** Put your event handler code here.
*/
/*!
** @addtogroup Events_module Events module documentation
** @{
*/
#ifndef __Events_H
#define __Events_H
/* MODULE Events */
#include "PE_Types.h"
#include "PE_Error.h"
#include "PE_Const.h"
#include "IO_Map.h"
#include "Pins1.h"
#include "FX1.h"
#include "WAIT1.h"
#include "GI2C1.h"
#include "MCUC1.h"
#include "CI2C1.h"
#include "CsIO1.h"
#include "IO1.h"
#include "PWM1.h"
#include "TU1.h"
#include "PWM2.h"
#include "TU2.h"
#include "PWM3.h"
#include "TU3.h"
#include "SS1.h"
#ifdef __cplusplus
extern "C" {
#endif
/*
** ===================================================================
** Event : Cpu_OnNMI (module Events)
**
** Component : Cpu [MK64FN1M0LL12]
*/
/*!
** @brief
** This event is called when the Non maskable interrupt had
** occurred. This event is automatically enabled when the [NMI
** interrupt] property is set to 'Enabled'.
*/
/* ===================================================================*/
void Cpu_OnNMI(void);
/*
** ===================================================================
** Event : SM1_OnBlockReceived (module Events)
**
** Component : SM1 [SPIMaster_LDD]
*/
/*!
** @brief
** This event is called when the requested number of data is
** moved to the input buffer. This method is available only if
** the ReceiveBlock method is enabled.
** @param
** UserDataPtr - Pointer to the user or
** RTOS specific data. The pointer is passed
** as the parameter of Init method.
*/
/* ===================================================================*/
void SM1_OnBlockReceived(LDD_TUserData *UserDataPtr);
/*
** ===================================================================
** Event : PWM1_OnEnd (module Events)
**
** Component : PWM1 [PWM_LDD]
*/
/*!
** @brief
** This event is called when the specified number of cycles has
** been generated. Component and OnEnd event must be enabled.
** See [SetEventMask] and [GetEventMask] methods. This event is
** available only if a [Interrupt service/event] is enabled.
** @param
** UserDataPtr - Pointer to the user or
** RTOS specific data. The pointer passed as
** the parameter of Init method.
*/
/* ===================================================================*/
void PWM1_OnEnd(LDD_TUserData *UserDataPtr);
/*
** ===================================================================
** Event : PWM3_OnEnd (module Events)
**
** Component : PWM3 [PWM_LDD]
*/
/*!
** @brief
** This event is called when the specified number of cycles has
** been generated. Component and OnEnd event must be enabled.
** See [SetEventMask] and [GetEventMask] methods. This event is
** available only if a [Interrupt service/event] is enabled.
** @param
** UserDataPtr - Pointer to the user or
** RTOS specific data. The pointer passed as
** the parameter of Init method.
*/
/* ===================================================================*/
void PWM3_OnEnd(LDD_TUserData *UserDataPtr);
/*
** ===================================================================
** Event : PWM2_OnEnd (module Events)
**
** Component : PWM2 [PWM_LDD]
*/
/*!
** @brief
** This event is called when the specified number of cycles has
** been generated. Component and OnEnd event must be enabled.
** See [SetEventMask] and [GetEventMask] methods. This event is
** available only if a [Interrupt service/event] is enabled.
** @param
** UserDataPtr - Pointer to the user or
** RTOS specific data. The pointer passed as
** the parameter of Init method.
*/
/* ===================================================================*/
void PWM2_OnEnd(LDD_TUserData *UserDataPtr);
/*
** ===================================================================
** Event : SS1_OnBlockSent (module Events)
**
** Component : SS1 [SPISlave_LDD]
*/
/*!
** @brief
** This event is called after the last character from the
** output buffer is moved to the transmitter. This event is
** available only if the SendBlock method is enabled.
** @param
** UserDataPtr - Pointer to the user or
** RTOS specific data. The pointer is passed
** as the parameter of Init method.
*/
/* ===================================================================*/
void SS1_OnBlockSent(LDD_TUserData *UserDataPtr);
/*
** ===================================================================
** Event : SS1_OnBlockReceived (module Events)
**
** Component : SS1 [SPISlave_LDD]
*/
/*!
** @brief
** This event is called when the requested number of data is
** moved to the input buffer. This method is available only if
** the ReceiveBlock method is enabled.
** @param
** UserDataPtr - Pointer to the user or
** RTOS specific data. The pointer is passed
** as the parameter of Init method.
*/
/* ===================================================================*/
void SS1_OnBlockReceived(LDD_TUserData *UserDataPtr);
/* END Events */
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif
/* ifndef __Events_H*/
/*!
** @}
*/
/*
** ###################################################################
**
** This file was created by Processor Expert 10.5 [05.21]
** for the Freescale Kinetis series of microcontrollers.
**
** ###################################################################
*/