-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtimer.h
More file actions
31 lines (28 loc) · 1.01 KB
/
timer.h
File metadata and controls
31 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
/*-------------------------------------------------------------------------
* Developed for Enersys Energy Solutions Private Limited, Hyderabad, Indiaresearch
* research on Auto Feeder.
* If you use the code cite the paper
* Appana, D. K., Alam, M. W., & Basnet, B. (2016) "A Novel Design of Feeder System
* for Aqua Culture Suitable for Shrimp Farming," International Journal of Hybrid
* Information Technology, 9(4), 199-212.
* http://www.sersc.org/journals/IJHIT/vol9_no4_2016/18.pdf
* (c) Copyright 2016 Enersys Energy Solutions, All rights reserved
*-------------------------------------------------------------------------*/
#ifndef _timer_H
#define _timer_H
void INIT_TIMER(void);
void Clock(void);
void TimerDelay_10ms(unsigned long int delay);
void LED_Task(void);
typedef union _Time
{
unsigned long int Value;
struct
{
unsigned char Seconds;
unsigned char Minutes;
unsigned char Hours;
unsigned char Res; // Reserved
};
} Time;
#endif