NHS31xx SW API
timer.h
1 /*
2  * Copyright 2016-2018 NXP
3  * This software is owned or controlled by NXP and may only be used strictly
4  * in accordance with the applicable license terms. By expressly accepting
5  * such terms or by downloading, installing, activating and/or otherwise using
6  * the software, you are agreeing that you have read, and that you agree to
7  * comply with and are bound by, such license terms. If you do not agree to
8  * be bound by the applicable license terms, then you may not retain, install,
9  * activate or otherwise use the software.
10  */
11 
12 #ifndef __TIMER_H_
13 #define __TIMER_H_
14 
36 #include <stdint.h>
37 #include <stdbool.h>
38 
43 void Timer_Init(void);
44 
45 /* -------------------------------------------------------------------------------- */
46 
55 void Timer_StartHostTimeout(int seconds);
56 
61 void Timer_StopHostTimeout(void);
62 
69 bool Timer_CheckHostTimeout(void);
70 
71 /* -------------------------------------------------------------------------------- */
72 
81 void Timer_StartMeasurementTimeout(int seconds);
82 
88 
96 
97 /* -------------------------------------------------------------------------------- */
98 
103 void Timer_StartFreeRunning(void);
104 
109 void Timer_StopFreeRunning(void);
110 
116 uint32_t Timer_GetFreeRunning(void);
117 
118 #endif
void Timer_StopHostTimeout(void)
void Timer_StartMeasurementTimeout(int seconds)
void Timer_StartFreeRunning(void)
void Timer_StartHostTimeout(int seconds)
bool Timer_CheckMeasurementTimeout(void)
uint32_t Timer_GetFreeRunning(void)
bool Timer_CheckHostTimeout(void)
void Timer_Init(void)
void Timer_StopMeasurementTimeout(void)
void Timer_StopFreeRunning(void)