projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix the i2c implemtation for lm3s. Add some defines to use also the second i2c device.
[bertos.git]
/
bertos
/
cpu
/
cortex-m3
/
drv
/
clock_lm3s.h
diff --git
a/bertos/cpu/cortex-m3/drv/clock_lm3s.h
b/bertos/cpu/cortex-m3/drv/clock_lm3s.h
index 039401842f1b2cc5bbfccd98623e643f7ed7eef5..0f93e8ffa73309b59863d49a749a80a5bfe2cf25 100644
(file)
--- a/
bertos/cpu/cortex-m3/drv/clock_lm3s.h
+++ b/
bertos/cpu/cortex-m3/drv/clock_lm3s.h
@@
-41,9
+41,8
@@
/* Crystal frequency attached to the main oscillator. */
#define XTAL_FREQ SYSCTL_RCC_XTAL_8MHZ
/* Crystal frequency attached to the main oscillator. */
#define XTAL_FREQ SYSCTL_RCC_XTAL_8MHZ
-extern void
__delay
(unsigned long iterations);
+extern void
lm3s_busyWait
(unsigned long iterations);
-unsigned long clock_get_rate(void);
-void clock_set_rate(void);
+void clock_init(void);
#endif /* DRV_LM3S1968_CLOCK_H */
#endif /* DRV_LM3S1968_CLOCK_H */