Appiko
S2LP_Timer_ex.h
Go to the documentation of this file.
1 
36 /* Define to prevent recursive inclusion -------------------------------------*/
37 #ifndef __S2LP_TIMER_EX_H
38 #define __S2LP_TIMER_EX_H
39 
40 
41 /* Includes ------------------------------------------------------------------*/
42 
43 #include "S2LP_Timer_ex.h"
44 
45 
46 #ifdef __cplusplus
47  extern "C" {
48 #endif
49 
76 void S2LPTimerSetRxTimerMs(float fDesiredMsec);
77 void S2LPTimerGetRxTimer(float* pfTimeoutMsec, uint8_t* pcCounter , uint8_t* pcPrescaler);
78 void S2LPTimerSetWakeUpTimerMs(float fDesiredMsec);
79 void S2LPTimerSetWakeUpTimerReloadMs(float fDesiredMsec);
80 void S2LPTimerGetWakeUpTimer(float* pfWakeUpMsec, uint8_t* pcCounter , uint8_t* pcPrescaler, uint8_t* pcMulti);
81 void S2LPTimerGetWakeUpTimerReload(float* pfWakeUpReloadMsec, uint8_t* pcCounter, uint8_t* pcPrescaler, uint8_t* pcMulti);
82 void S2LPTimerComputeWakeUpValues(float fDesiredMsec , uint8_t* pcCounter , uint8_t* pcPrescaler);
83 
97 #ifdef __cplusplus
98 }
99 #endif
100 
101 #endif
102 
103 /******************* (C) COPYRIGHT 2017 STMicroelectronics *****END OF FILE****/
104 
Configuration and management of S2-LP Timers using floating point.