diff options
author | siddhu8990 | 2015-12-08 11:43:14 +0530 |
---|---|---|
committer | siddhu8990 | 2015-12-08 11:43:14 +0530 |
commit | 56d929da6683ca38ab07870173dba5aadb451403 (patch) | |
tree | 481583d1acbde742f975ea7b140f005d4ac08216 /src/c/hardware/avr/interfaces/int_AVRUtil.h | |
parent | 28917732a0c500c5db111ed49dbd7755758f5f72 (diff) | |
download | scilab2c-56d929da6683ca38ab07870173dba5aadb451403.tar.gz scilab2c-56d929da6683ca38ab07870173dba5aadb451403.tar.bz2 scilab2c-56d929da6683ca38ab07870173dba5aadb451403.zip |
Modified so that code for all three output formats can be generated
Diffstat (limited to 'src/c/hardware/avr/interfaces/int_AVRUtil.h')
-rw-r--r-- | src/c/hardware/avr/interfaces/int_AVRUtil.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/c/hardware/avr/interfaces/int_AVRUtil.h b/src/c/hardware/avr/interfaces/int_AVRUtil.h new file mode 100644 index 00000000..ce96951b --- /dev/null +++ b/src/c/hardware/avr/interfaces/int_AVRUtil.h @@ -0,0 +1,23 @@ +//This file defines interfaces corresponding to uitl function. +// +// Authors +// Siddhesh Wani +// + +#ifndef __INT_AVRUTIL_H__ +#define __INT_AVRUTIL_H__ + +#include <avr/io.h> +#include "AVRUtil.h" + +#ifdef __cplusplus +extern "C" { +#endif + +#define d0sleepu80(in1) U16AVRSleeps ((uint16) in1); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /* !__AVRPERIPHERALGPIO_H__ */ |