KETCube
|
This file contains the ketCube Timer(s) driver. More...
Functions | |
ketCube_cfg_DrvError_t | ketCube_Timer_Init (ketCube_Timer_list_t tim) |
Configures Timer(s) More... | |
void | ketCube_Timer_Timer2_ResetICEvent (void) |
Mark IC event as processed @ Timer 2. More... | |
bool | ketCube_Timer_Timer2_IsICEvent (void) |
Return IC Event state @ Timer 2. More... | |
void | TIM2_IRQHandler (void) |
This function handles TIM2 global interrupt. More... | |
void | HAL_TIM_IC_CaptureCallback (TIM_HandleTypeDef *htim) |
Input Capture callback in non-blocking mode. More... | |
Variables | |
ketCube_Timer_usage_t | timerUsed = { 0, 0, 0, 0, 0, 0, 0 } |
TIM_HandleTypeDef | KETCube_Timer_Htim2 |
static volatile bool | KETCube_Timer_Timer2_IC = FALSE |
This file contains the ketCube Timer(s) driver.
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.
void HAL_TIM_IC_CaptureCallback | ( | TIM_HandleTypeDef * | htim | ) |
Input Capture callback in non-blocking mode.
Only Timer2 is currently supported
void TIM2_IRQHandler | ( | void | ) |
This function handles TIM2 global interrupt.
|
static |
ketCube_Timer_usage_t timerUsed = { 0, 0, 0, 0, 0, 0, 0 } |