KETCube
Data Structures | Macros | Enumerations | Functions | Variables
ketCube_timer.h File Reference

This file contains definitions for the ketCube Timer(s) driver. More...

#include "ketCube_cfg.h"

Go to the source code of this file.

Data Structures

struct  ketCube_Timer_usage_t
 Timer Usage. More...
 

Macros

#define KETCUBE_TIMER_NAME   "timer_drv"
 TIMER driver name. More...
 

Enumerations

enum  ketCube_Timer_list_t {
  KETCUBE_TIMER_LIST_TIM2, KETCUBE_TIMER_LIST_TIM3, KETCUBE_TIMER_LIST_TIM21, KETCUBE_TIMER_LIST_TIM22,
  KETCUBE_TIMER_LIST_TIM6, KETCUBE_TIMER_LIST_TIM7, KETCUBE_TIMER_LIST_LPTIM, KETCUBE_TIMER_LIST_CNT
}
 List of available timers. More...
 

Functions

ketCube_cfg_DrvError_t ketCube_Timer_Init (ketCube_Timer_list_t tim)
 Configures Timer(s) More...
 
bool ketCube_Timer_Timer2_IsICEvent ()
 Return IC Event state @ Timer 2. More...
 
void ketCube_Timer_Timer2_ResetICEvent ()
 Mark IC event as processed @ Timer 2. More...
 

Variables

TIM_HandleTypeDef KETCube_Timer_Htim2
 

Detailed Description

This file contains definitions for the ketCube Timer(s) driver.

Author
Jan Belohoubek
Version
0.2
Date
2018-07-12
Attention

© Copyright (c) 2018 University of West Bohemia in Pilsen All rights reserved.

Developed by: The SmartCampus Team Department of Technologies and Measurement www.smartcampus.cz | www.zcu.cz

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal with the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.