-
Notifications
You must be signed in to change notification settings - Fork 0
/
delay.h
28 lines (18 loc) · 1.02 KB
/
delay.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
/***************************************************************************************************
Revision History
****************************************************************************************************
15.0: Initial version
***************************************************************************************************/
#ifndef _DELAY_H
#define _DELAY_H
#include <util\delay.h>
#include"stdutils.h"
/***************************************************************************************************
Function prototypes
***************************************************************************************************/
/* DELAY_us and DELAY_ms are mapped to the library functions provided by WinAvr compiler */
#define DELAY_us(x) _delay_us(x)
#define DELAY_ms(x) _delay_ms(x)
void DELAY_sec(uint16_t var_delaySecCount_u16);
/**************************************************************************************************/
#endif