forked from pavius/rotary-encoder-timer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui.h
36 lines (29 loc) · 1.11 KB
/
ui.h
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
35
36
/**************************************************************************
*
* FILE NAME: ui_prv.h
* FILE DESCRIPTION: UI private header
* FILE CREATION DATE: 12-01-10
*
*==========================================================================
* This document contains confidential information which is protected by copyright
* and is proprietary. No part of this document may be used, copied, disclosed,
* or conveyed to another party without prior written consent of its owner
***************************************************************************
*
* Modification history:
* --------------------
* 01a,12jan10 erd written
*
***************************************************************************/
#ifndef __UI_H_
#define __UI_H_
#include "sysdef.h"
// init ui
extern void ui_init(void);
// return number of main() cycles between calls to tick()
#define ui_getCyclesPerTick() (2)
// tick of UI module
extern void ui_tick(void);
// 1 second timer expiration, called from interrupt
void ui_oneSecondTimerExpiration(void);
#endif /* __UI_H_ */