-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtimer_timeout_setup.h
More file actions
34 lines (28 loc) · 1.01 KB
/
timer_timeout_setup.h
File metadata and controls
34 lines (28 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*******************************************************************************
* Timer Timeout library for MSP43x V01 - timer_timeout_setup.h
*
* Part of Timer Timeout library for MSP43x
* - Separate file with timer configurations and Tick variable
*
* Author: Haroldo Luiz Moretti do Amaral - agaelema@gmail.com
* https://www.embarcados.com.br/author/agaelema/
* https://www.github.com/agaelema
*
********************************************************************************
* Changes:
* - remove unused code
*
* v0.3 - 2017/08/10
*******************************************************************************/
#ifndef _TIMER_TIMEOUT_SETUP_H_
#define _TIMER_TIMEOUT_SETUP_H_
#include <stdint.h>
#include <msp430.h>
#include "driverlib.h"
/* set the value of static variable */
void setTimerCompareValue(uint32_t compValue);
/* get the value of static variable */
uint32_t getTimerCompareValue(void);
/* Setup timer used to tick count */
void setupTimerHW(void);
#endif /* TIMER_TIMEOUT_SETUP_H_ */