ISF  2.1
Intelligent Sensing Framework for Kinetis with Processor Expert
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
BMTimer1.c
Go to the documentation of this file.
1 /* ###################################################################
2 ** THIS COMPONENT MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
3 ** Filename : BMTimer1.c
4 ** Project : ISF_K64F_CW_PROJ
5 ** Processor : MK64FN1M0VLL12
6 ** Component : TimerUnit_LDD
7 ** Version : Component 01.164, Driver 01.11, CPU db: 3.00.000
8 ** Compiler : GNU C Compiler
9 ** Date/Time : 2015-03-03, 11:01, # CodeGen: 0
10 ** Abstract :
11 ** This TimerUnit component provides a low level API for unified hardware access across
12 ** various timer devices using the Prescaler-Counter-Compare-Capture timer structure.
13 ** Settings :
14 ** Component name : BMTimer1
15 ** Module name : PIT
16 ** Counter : PIT_CVAL0
17 ** Counter direction : Down
18 ** Counter width : 32 bits
19 ** Value type : Optimal
20 ** Input clock source : Internal
21 ** Counter frequency : Auto select
22 ** Counter restart : On-match
23 ** Period device : PIT_LDVAL0
24 ** Period : 1 sec
25 ** Interrupt : Enabled
26 ** Interrupt : INT_PIT0
27 ** Interrupt priority : medium priority
28 ** Channel list : 0
29 ** Initialization :
30 ** Enabled in init. code : yes
31 ** Auto initialization : no
32 ** Event mask :
33 ** OnCounterRestart : Enabled
34 ** OnChannel0 : Disabled
35 ** OnChannel1 : Disabled
36 ** OnChannel2 : Disabled
37 ** OnChannel3 : Disabled
38 ** OnChannel4 : Disabled
39 ** OnChannel5 : Disabled
40 ** OnChannel6 : Disabled
41 ** OnChannel7 : Disabled
42 ** CPU clock/configuration selection :
43 ** Clock configuration 0 : This component enabled
44 ** Clock configuration 1 : This component disabled
45 ** Clock configuration 2 : This component disabled
46 ** Clock configuration 3 : This component disabled
47 ** Clock configuration 4 : This component disabled
48 ** Clock configuration 5 : This component disabled
49 ** Clock configuration 6 : This component disabled
50 ** Clock configuration 7 : This component disabled
51 ** Contents :
52 ** Init - LDD_TDeviceData* BMTimer1_Init(LDD_TUserData *UserDataPtr);
53 ** Deinit - void BMTimer1_Deinit(LDD_TDeviceData *DeviceDataPtr);
54 ** Enable - LDD_TError BMTimer1_Enable(LDD_TDeviceData *DeviceDataPtr);
55 ** Disable - LDD_TError BMTimer1_Disable(LDD_TDeviceData *DeviceDataPtr);
56 ** SetPeriodTicks - LDD_TError BMTimer1_SetPeriodTicks(LDD_TDeviceData *DeviceDataPtr,...
57 ** GetPeriodTicks - LDD_TError BMTimer1_GetPeriodTicks(LDD_TDeviceData *DeviceDataPtr,...
58 ** ResetCounter - LDD_TError BMTimer1_ResetCounter(LDD_TDeviceData *DeviceDataPtr);
59 ** GetCounterValue - BMTimer1_TValueType BMTimer1_GetCounterValue(LDD_TDeviceData *DeviceDataPtr);
60 **
61 ** Copyright : 1997 - 2014 Freescale Semiconductor, Inc.
62 ** All Rights Reserved.
63 **
64 ** Redistribution and use in source and binary forms, with or without modification,
65 ** are permitted provided that the following conditions are met:
66 **
67 ** o Redistributions of source code must retain the above copyright notice, this list
68 ** of conditions and the following disclaimer.
69 **
70 ** o Redistributions in binary form must reproduce the above copyright notice, this
71 ** list of conditions and the following disclaimer in the documentation and/or
72 ** other materials provided with the distribution.
73 **
74 ** o Neither the name of Freescale Semiconductor, Inc. nor the names of its
75 ** contributors may be used to endorse or promote products derived from this
76 ** software without specific prior written permission.
77 **
78 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
79 ** ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
80 ** WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
81 ** DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
82 ** ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
83 ** (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
84 ** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
85 ** ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
86 ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
87 ** SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
88 **
89 ** http: www.freescale.com
90 ** mail: support@freescale.com
91 ** ###################################################################*/
92 /*!
93 ** @file BMTimer1.c
94 ** @version 01.11
95 ** @brief
96 ** This TimerUnit component provides a low level API for unified hardware access across
97 ** various timer devices using the Prescaler-Counter-Compare-Capture timer structure.
98 */
99 /*!
100 ** @addtogroup BMTimer1_module BMTimer1 module documentation
101 ** @{
102 */
103 
104 /* MODULE BMTimer1. */
105 
106 #include "ISFBusManager1.h"
107 #include "BMTimer1.h"
108 /* MQX Lite include files */
109 #include "mqxlite.h"
110 #include "mqxlite_prv.h"
111 #include "IO_Map.h"
112 
113 #ifdef __cplusplus
114 extern "C" {
115 #endif
116 
117 
118 typedef struct {
119  LDD_RTOS_TISRVectorSettings SavedISRSettings_TUInterrupt; /* {MQXLite RTOS Adapter} Saved settings of allocated interrupt vector */
120  LDD_TUserData *UserDataPtr; /* RTOS device data structure */
122 
123 typedef BMTimer1_TDeviceData *BMTimer1_TDeviceDataPtr; /* Pointer to the device data structure. */
124 
125 /* {MQXLite RTOS Adapter} Static object used for simulation of dynamic driver memory allocation */
126 static BMTimer1_TDeviceData DeviceDataPrv__DEFAULT_RTOS_ALLOC;
127 
128 #define AVAILABLE_EVENTS_MASK (LDD_TEventMask)(LDD_TIMERUNIT_ON_COUNTER_RESTART)
129 
130 /* Internal method prototypes */
131 /*
132 ** ===================================================================
133 ** Method : BMTimer1_Init (component TimerUnit_LDD)
134 */
135 /*!
136 ** @brief
137 ** Initializes the device. Allocates memory for the device data
138 ** structure, allocates interrupt vectors and sets interrupt
139 ** priority, sets pin routing, sets timing, etc. If the
140 ** property ["Enable in init. code"] is set to "yes" value then
141 ** the device is also enabled (see the description of the
142 ** [Enable] method). In this case the [Enable] method is not
143 ** necessary and needn't to be generated. This method can be
144 ** called only once. Before the second call of Init the [Deinit]
145 ** must be called first.
146 ** @param
147 ** UserDataPtr - Pointer to the user or
148 ** RTOS specific data. This pointer will be
149 ** passed as an event or callback parameter.
150 ** @return
151 ** - Pointer to the dynamically allocated private
152 ** structure or NULL if there was an error.
153 */
154 /* ===================================================================*/
155 LDD_TDeviceData* BMTimer1_Init(LDD_TUserData *UserDataPtr)
156 {
157  /* Allocate device structure */
158  BMTimer1_TDeviceData *DeviceDataPrv;
159  /* {MQXLite RTOS Adapter} Driver memory allocation: Dynamic allocation is simulated by a pointer to the static object */
160  DeviceDataPrv = &DeviceDataPrv__DEFAULT_RTOS_ALLOC;
161  DeviceDataPrv->UserDataPtr = UserDataPtr; /* Store the RTOS device structure */
162  /* Interrupt vector(s) allocation */
163  /* {MQXLite RTOS Adapter} Save old and set new interrupt vector (function handler and ISR parameter) */
164  /* Note: Exception handler for interrupt is not saved, because it is not modified */
165  DeviceDataPrv->SavedISRSettings_TUInterrupt.isrData = _int_get_isr_data(LDD_ivIndex_INT_PIT0);
166  DeviceDataPrv->SavedISRSettings_TUInterrupt.isrFunction = _int_install_isr(LDD_ivIndex_INT_PIT0, BMTimer1_Interrupt, DeviceDataPrv);
167  /* SIM_SCGC6: PIT=1 */
168  SIM_SCGC6 |= SIM_SCGC6_PIT_MASK;
169  /* PIT_MCR: ??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,MDIS=0,FRZ=0 */
170  PIT_MCR = 0x00U; /* Enable device clock */
171  /* PIT_TCTRL0: ??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,CHN=0,TIE=0,TEN=0 */
172  PIT_TCTRL0 = 0x00U; /* Clear control register */
173  /* PIT_TFLG0: ??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,TIF=1 */
174  PIT_TFLG0 = PIT_TFLG_TIF_MASK; /* Clear timer flag register */
175  /* PIT_LDVAL0: TSV=0x016E35FF */
176  PIT_LDVAL0 = PIT_LDVAL_TSV(0x016E35FF); /* Set up load register */
177  /* NVICIP48: PRI48=0x70 */
178  NVICIP48 = NVIC_IP_PRI48(0x70);
179  /* NVICISER1: SETENA|=0x00010000 */
180  NVICISER1 |= NVIC_ISER_SETENA(0x00010000);
181  /* PIT_TCTRL0: ??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,CHN=0,TIE=1,TEN=1 */
182  PIT_TCTRL0 = (PIT_TCTRL_TIE_MASK | PIT_TCTRL_TEN_MASK); /* Set up control register */
183  /* Registration of the device structure */
184  PE_LDD_RegisterDeviceStructure(PE_LDD_COMPONENT_BMTimer1_ID,DeviceDataPrv);
185  return ((LDD_TDeviceData *)DeviceDataPrv); /* Return pointer to the device data structure */
186 }
187 
188 /*
189 ** ===================================================================
190 ** Method : BMTimer1_Deinit (component TimerUnit_LDD)
191 */
192 /*!
193 ** @brief
194 ** Deinitializes the device. Switches off the device, frees the
195 ** device data structure memory, interrupts vectors, etc.
196 ** @param
197 ** DeviceDataPtr - Device data structure
198 ** pointer returned by Init method
199 */
200 /* ===================================================================*/
201 void BMTimer1_Deinit(LDD_TDeviceData *DeviceDataPtr)
202 {
203  BMTimer1_TDeviceData *DeviceDataPrv = (BMTimer1_TDeviceData *)DeviceDataPtr;
204 
205  (void)DeviceDataPrv;
206  PIT_PDD_EnableDevice(PIT_BASE_PTR, PIT_PDD_CHANNEL_0, PDD_DISABLE);
207  /* Interrupt vector(s) deallocation */
208  /* {MQXLite RTOS Adapter} Restore interrupt vector (function handler and ISR parameter) */
209  /* Note: Exception handler for interrupt is not restored, because it was not modified */
210  (void)_int_install_isr(LDD_ivIndex_INT_PIT0, ((BMTimer1_TDeviceDataPtr)DeviceDataPrv)->SavedISRSettings_TUInterrupt.isrFunction, ((BMTimer1_TDeviceDataPtr)DeviceDataPrv)->SavedISRSettings_TUInterrupt.isrData);
211  PIT_PDD_ModuleClock(PIT_BASE_PTR, PIT_PDD_CLOCK_DISABLED);
212  /* Unregistration of the device structure */
213  PE_LDD_UnregisterDeviceStructure(PE_LDD_COMPONENT_BMTimer1_ID);
214  /* Deallocation of the device structure */
215  /* {MQXLite RTOS Adapter} Driver memory deallocation: Dynamic allocation is simulated, no deallocation code is generated */
216 }
217 
218 /*
219 ** ===================================================================
220 ** Method : BMTimer1_Enable (component TimerUnit_LDD)
221 */
222 /*!
223 ** @brief
224 ** Enables the component - it starts the signal generation.
225 ** Events may be generated (see SetEventMask). The method is
226 ** not available if the counter can't be disabled/enabled by HW.
227 ** @param
228 ** DeviceDataPtr - Device data structure
229 ** pointer returned by [Init] method.
230 ** @return
231 ** - Error code, possible codes:
232 ** ERR_OK - OK
233 ** ERR_SPEED - The component does not work in
234 ** the active clock configuration
235 */
236 /* ===================================================================*/
237 LDD_TError BMTimer1_Enable(LDD_TDeviceData *DeviceDataPtr)
238 {
239  (void)DeviceDataPtr; /* Parameter is not used, suppress unused argument warning */
240  PIT_PDD_EnableDevice(PIT_BASE_PTR, PIT_PDD_CHANNEL_0, PDD_ENABLE); /* Enable the device */
241  return ERR_OK;
242 }
243 
244 /*
245 ** ===================================================================
246 ** Method : BMTimer1_Disable (component TimerUnit_LDD)
247 */
248 /*!
249 ** @brief
250 ** Disables the component - it stops signal generation and
251 ** events calling. The method is not available if the counter
252 ** can't be disabled/enabled by HW.
253 ** @param
254 ** DeviceDataPtr - Device data structure
255 ** pointer returned by [Init] method.
256 ** @return
257 ** - Error code, possible codes:
258 ** ERR_OK - OK
259 ** ERR_SPEED - The component does not work in
260 ** the active clock configuration
261 */
262 /* ===================================================================*/
263 LDD_TError BMTimer1_Disable(LDD_TDeviceData *DeviceDataPtr)
264 {
265  (void)DeviceDataPtr; /* Parameter is not used, suppress unused argument warning */
266  PIT_PDD_EnableDevice(PIT_BASE_PTR, PIT_PDD_CHANNEL_0, PDD_DISABLE);
267  return ERR_OK;
268 }
269 
270 /*
271 ** ===================================================================
272 ** Method : BMTimer1_SetPeriodTicks (component TimerUnit_LDD)
273 */
274 /*!
275 ** @brief
276 ** The method sets timer re-initialization period (in timer
277 ** ticks). This method is available only if the property
278 ** ["Counter restart"] is switched to 'on-match' value.
279 ** @param
280 ** DeviceDataPtr - Device data structure
281 ** pointer returned by [Init] method.
282 ** @param
283 ** Ticks - Number of counter ticks before counter
284 ** re-initialization. Value 0 means maximal
285 ** period value the same as "free-running
286 ** mode", e.g. counter overflow or underflow
287 ** without any explicit re-initialization.
288 ** @return
289 ** - Error code, possible codes:
290 ** ERR_OK - OK
291 ** ERR_PARAM_TICKS - Ticks parameter is out of
292 ** possible range.
293 ** ERR_SPEED - The component does not work in
294 ** the active clock configuration
295 */
296 /* ===================================================================*/
297 LDD_TError BMTimer1_SetPeriodTicks(LDD_TDeviceData *DeviceDataPtr, BMTimer1_TValueType Ticks)
298 {
299  (void)DeviceDataPtr; /* Parameter is not used, suppress unused argument warning */
300  PIT_PDD_WriteLoadReg(PIT_BASE_PTR, PIT_PDD_CHANNEL_0, (uint32_t)(Ticks-1));
301  return ERR_OK; /* OK */
302 }
303 
304 /*
305 ** ===================================================================
306 ** Method : BMTimer1_GetPeriodTicks (component TimerUnit_LDD)
307 */
308 /*!
309 ** @brief
310 ** Returns the number of counter ticks before re-initialization.
311 ** See also method [SetPeriodTicks]. This method is available
312 ** only if the property ["Counter restart"] is switched to
313 ** 'on-match' value.
314 ** @param
315 ** DeviceDataPtr - Device data structure
316 ** pointer returned by [Init] method.
317 ** @param
318 ** TicksPtr - Pointer to return value of the
319 ** number of counter ticks before
320 ** re-initialization
321 ** @return
322 ** - Error code, possible codes:
323 ** ERR_OK - OK
324 ** ERR_SPEED - The component does not work in
325 ** the active clock configuration
326 */
327 /* ===================================================================*/
328 LDD_TError BMTimer1_GetPeriodTicks(LDD_TDeviceData *DeviceDataPtr, BMTimer1_TValueType *TicksPtr)
329 {
330  (void)DeviceDataPtr; /* Parameter is not used, suppress unused argument warning */
331  *TicksPtr = (BMTimer1_TValueType)(PIT_PDD_ReadLoadReg(PIT_BASE_PTR, PIT_PDD_CHANNEL_0) + 1U);
332  return ERR_OK; /* OK */
333 }
334 
335 /*
336 ** ===================================================================
337 ** Method : BMTimer1_ResetCounter (component TimerUnit_LDD)
338 */
339 /*!
340 ** @brief
341 ** Resets counter. If counter is counting up then it is set to
342 ** zero. If counter is counting down then counter is updated to
343 ** the reload value.
344 ** The method is not available if HW doesn't allow resetting of
345 ** the counter.
346 ** @param
347 ** DeviceDataPtr - Device data structure
348 ** pointer returned by [Init] method.
349 ** @return
350 ** - Error code, possible codes:
351 ** ERR_OK - OK
352 ** ERR_SPEED - The component does not work in
353 ** the active clock configuration
354 */
355 /* ===================================================================*/
356 LDD_TError BMTimer1_ResetCounter(LDD_TDeviceData *DeviceDataPtr)
357 {
358  (void)DeviceDataPtr; /* Parameter is not used, suppress unused argument warning */
359  /* {MQXLite RTOS Adapter} Critical section begin (RTOS function call is defined by MQXLite RTOS Adapter property) */
360  _int_disable();
361  if ((PIT_PDD_GetEnableDeviceStatus(PIT_BASE_PTR, PIT_PDD_CHANNEL_0)) != 0U) {
362  PIT_PDD_EnableDevice(PIT_BASE_PTR, PIT_PDD_CHANNEL_0, PDD_DISABLE);
363  PIT_PDD_EnableDevice(PIT_BASE_PTR, PIT_PDD_CHANNEL_0, PDD_ENABLE);
364  }
365  /* {MQXLite RTOS Adapter} Critical section ends (RTOS function call is defined by MQXLite RTOS Adapter property) */
366  _int_enable();
367  return ERR_OK; /* OK */
368 }
369 
370 /*
371 ** ===================================================================
372 ** Method : BMTimer1_GetCounterValue (component TimerUnit_LDD)
373 */
374 /*!
375 ** @brief
376 ** Returns the content of counter register. This method can be
377 ** used both if counter is enabled and if counter is disabled.
378 ** The method is not available if HW doesn't allow reading of
379 ** the counter.
380 ** @param
381 ** DeviceDataPtr - Device data structure
382 ** pointer returned by [Init] method.
383 ** @return
384 ** - Counter value (number of counted ticks).
385 */
386 /* ===================================================================*/
387 BMTimer1_TValueType BMTimer1_GetCounterValue(LDD_TDeviceData *DeviceDataPtr)
388 {
389  (void)DeviceDataPtr; /* Parameter is not used, suppress unused argument warning */
390  return (BMTimer1_TValueType)PIT_PDD_ReadTimerValueReg(PIT_BASE_PTR, PIT_PDD_CHANNEL_0);
391 }
392 
393 /*
394 ** ===================================================================
395 ** Method : BMTimer1_Interrupt (component TimerUnit_LDD)
396 **
397 ** Description :
398 ** The method services the interrupt of the selected peripheral(s)
399 ** and eventually invokes event(s) of the component.
400 ** This method is internal. It is used by Processor Expert only.
401 ** ===================================================================
402 */
403 void BMTimer1_Interrupt(LDD_RTOS_TISRParameter _isrParameter)
404 {
405  /* {MQXLite RTOS Adapter} ISR parameter is passed as parameter from RTOS interrupt dispatcher */
406  BMTimer1_TDeviceDataPtr DeviceDataPrv = (BMTimer1_TDeviceDataPtr)_isrParameter;
407 
408  PIT_PDD_ClearInterruptFlag(PIT_BASE_PTR, PIT_PDD_CHANNEL_0); /* Clear interrupt flag */
409  BMTimer1_OnCounterRestart(DeviceDataPrv->UserDataPtr); /* Invoke OnCounterRestart event */
410 }
411 
412 /* END BMTimer1. */
413 
414 #ifdef __cplusplus
415 } /* extern "C" */
416 #endif
417 
418 /*!
419 ** @}
420 */
421 /*
422 ** ###################################################################
423 **
424 ** This file was created by Processor Expert 10.3 [05.09]
425 ** for the Freescale Kinetis series of microcontrollers.
426 **
427 ** ###################################################################
428 */
LDD_TUserData * UserDataPtr
Definition: BMTimer1.c:120
LDD_TDeviceData * BMTimer1_Init(LDD_TUserData *UserDataPtr)
Initializes the device. Allocates memory for the device data structure, allocates interrupt vectors a...
Definition: BMTimer1.c:155
LDD_TError BMTimer1_ResetCounter(LDD_TDeviceData *DeviceDataPtr)
Resets counter. If counter is counting up then it is set to zero. If counter is counting down then co...
Definition: BMTimer1.c:356
BMTimer1_TDeviceData * BMTimer1_TDeviceDataPtr
Definition: BMTimer1.c:123
void BMTimer1_Interrupt(LDD_RTOS_TISRParameter _isrParameter)
Definition: BMTimer1.c:403
void BMTimer1_OnCounterRestart(LDD_TUserData *UserDataPtr)
uint32_t BMTimer1_TValueType
Definition: BMTimer1.h:126
LDD_TError BMTimer1_Enable(LDD_TDeviceData *DeviceDataPtr)
Enables the component - it starts the signal generation. Events may be generated (see SetEventMask)...
Definition: BMTimer1.c:237
This TimerUnit component provides a low level API for unified hardware access across various timer de...
BMTimer1_TValueType BMTimer1_GetCounterValue(LDD_TDeviceData *DeviceDataPtr)
Returns the content of counter register. This method can be used both if counter is enabled and if co...
Definition: BMTimer1.c:387
void BMTimer1_Deinit(LDD_TDeviceData *DeviceDataPtr)
Deinitializes the device. Switches off the device, frees the device data structure memory...
Definition: BMTimer1.c:201
LDD_RTOS_TISRVectorSettings SavedISRSettings_TUInterrupt
Definition: BMTimer1.c:119
LDD_TError BMTimer1_GetPeriodTicks(LDD_TDeviceData *DeviceDataPtr, BMTimer1_TValueType *TicksPtr)
Returns the number of counter ticks before re-initialization. See also method [SetPeriodTicks]. This method is available only if the property ["Counter restart"] is switched to 'on-match' value.
Definition: BMTimer1.c:328
LDD_TError BMTimer1_Disable(LDD_TDeviceData *DeviceDataPtr)
Disables the component - it stops signal generation and events calling. The method is not available i...
Definition: BMTimer1.c:263
LDD_TError BMTimer1_SetPeriodTicks(LDD_TDeviceData *DeviceDataPtr, BMTimer1_TValueType Ticks)
The method sets timer re-initialization period (in timer ticks). This method is available only if the...
Definition: BMTimer1.c:297