|
TIMER
|
TIMER.h File Reference
Detailed Description
- Date:
- 2015-12-18
NOTE: This file is generated by DAVE. Any manual modification done to this file will be lost when the code is regenerated.
Definition in file TIMER.h.
#include "timer_conf.h"
#include <DAVE_Common.h>#include "timer_extern.h"Data Structures | |
| struct | TIMER |
| Initialization parameters of the TIMER APP. More... | |
Typedefs | |
| typedef struct TIMER | TIMER_t |
| Initialization parameters of the TIMER APP. | |
Functions | |
| DAVE_APP_VERSION_t | TIMER_GetAppVersion (void) |
| Get TIMER APP version. | |
| TIMER_STATUS_t | TIMER_Init (TIMER_t *const handle_ptr) |
| Initializes a TIMER with generated configuration. | |
| TIMER_STATUS_t | TIMER_Start (TIMER_t *const handle_ptr) |
| Starts the timer if the initialization of the APP is successful. | |
| TIMER_STATUS_t | TIMER_Stop (TIMER_t *const handle_ptr) |
| Stops the TIMER, if it is running. | |
| uint32_t | TIMER_GetTime (TIMER_t *const handle_ptr) |
| Returns the current time in micro seconds by scaling with 100. | |
| TIMER_STATUS_t | TIMER_Clear (TIMER_t *const handle_ptr) |
| Clears the timer register. | |
| bool | TIMER_GetTimerStatus (TIMER_t *const handle_ptr) |
| Returns the running state of the timer. | |
| TIMER_STATUS_t | TIMER_SetTimeInterval (TIMER_t *const handle_ptr, uint32_t time_interval) |
| Set the new time interval for the event generation, by checking with the supported range. | |
| bool | TIMER_GetInterruptStatus (TIMER_t *const handle_ptr) |
| Indicates the occurrence of time interval event. | |
| void | TIMER_ClearEvent (TIMER_t *const handle_ptr) |
| Clears the period match interrupt status of the given timer. | |
| enum | TIMER_MODULE { TIMER_MODULE_CCU4 = 0U, TIMER_MODULE_CCU8 } |
| The type identifies the CCU4 or CCU8 timer selected. More... | |
| enum | TIMER_STATUS { TIMER_STATUS_SUCCESS = 0U, TIMER_STATUS_FAILURE } |
| status of the TIMER APP More... | |
| typedef enum TIMER_MODULE | TIMER_MODULE_t |
| The type identifies the CCU4 or CCU8 timer selected. | |
| typedef enum TIMER_STATUS | TIMER_STATUS_t |
| status of the TIMER APP | |